Issue with JxtaSocket example

Bruce Rosenthal <[email protected]> Mon, 22 Aug 2005 12:28:20 -0700
Newsgroups gmane.comp.java.jxta.user,gmane.comp.java.jxta.devel
Message-ID <430A2754.8000409__26688.9060651467$1124739042$gmane$org@comcast.net>
--------------020004000405000401080002
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

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


--------------020004000405000401080002
Content-Type: text/plain; charset=us-ascii

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
--------------020004000405000401080002--