Re: Issue with JxtaSocket example

Mohamed Abdelaziz <[email protected]>
Newsgroups gmane.comp.java.jxta.user
Message-ID <[email protected]>
sounds like "PlatformConfig.master"  does not exist in $CWD

Mohamed

-- 
http://blogs.sun.com/roller/page/hamada
http://weblogs.java.net/blog/hamada



Bruce Rosenthal wrote:

> In the client part of this example I get a NullPointerException throw 
> when the createConfig() method calls java.io.InputStreamReader from 
> this call:
>
>            InputStream is = getResourceInputStream(fname);
>
> I have set a break on this call and the following call, and set 
> watches on home, fname and is
>
> The values that are returned are as follows:
>
> home.path = "client"
> fname = "PlatformConfig.master"
> is = NULL //which is, of course, the problem - I just don't know why 
> it is getting a NULL when home.path and fname are as they should be 
> and the PlatformConfig.master file is in the JXTA_HOME\client folder.
>
> Anybody know why this is happening?
>
> Bruce Rosenthal
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.