Archived

This forum has been archived. Please start a new discussion on GitHub.

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

  • Should

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

    or

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

    ??
  • Exactly which file system example are you trying to run?

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

    Cheers,

    Michi.