[jboss-user] [Beginners Corner] - Re: File Path in EAR..!!!

jaikiran do-not-reply at jboss.com
Wed Jul 12 08:26:35 EDT 2006


anonymous wrote : java.lang.NullPointerException

Looks like the inputStream was null. Which means that the xml file was not found by the getResourceAsStream method. Try out the following, add a System.out.println("Inputstream is: " + inputStream);
after the call to getResourceAsStream method. See if it prints null. Also, execute the following command and post the output:

jar -tf yourApp.ear

or if your application is a war 

jar -tf yourApp.war



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957330#3957330

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957330



More information about the jboss-user mailing list