Home Help Center

What's wrong with the example?

When I run the FileSystem example,there is NullPointerException in the server at the "DirectoryI root = new DirectoryI("/",null)".I don't know how to resolve it?I need your help.

Comments

  • levellevel Member ✭✭
    Should

    Directory*root = new DirectoryI("/",null)".

    or

    Ice::ObjectPtr root= new DirectoryI("/",null)".

    ??
  • michimichi Member Michi HenningOrganization: Triodia TechnologiesProject: I have a passing interest in Ice :-) ✭✭✭
    Exactly which file system example are you trying to run?

    Can you give more details or provide the full source code please?

    Cheers,

    Michi.
Sign In or Register to comment.