[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: error null pointer exception

PeterJ do-not-reply at jboss.com
Mon Aug 27 11:20:32 EDT 2007


There is no need to shout.

Looking at the log, there are these lines:

2007-08-21 16:43:20,405 INFO [STDOUT] java.lang.NullPointerException
2007-08-21 16:43:20,405 INFO [STDOUT] at java.io.Reader.(Reader.java:61)
2007-08-21 16:43:20,405 INFO [STDOUT] at java.io.InputStreamReader.(InputStreamReader.java:55)
2007-08-21 16:43:20,405 INFO [STDOUT] at sabswing.noyau.accesBase.Lecteur.createStreamReader(Lecteur.java:119)
2007-08-21 16:43:20,405 INFO [STDOUT] at sabswing.noyau.accesBase.Lecteur.createReader(Lecteur.java:137) 

Unless I am mistaken, the sabswing.noyau.accesBase.Lecteur class is your class. The createStreamReader method is attempting to create an InputStreamReader, but whatever arguments it is passing to the constructor are causing a null pointer exception , probably passing a null argument. Since the code is yours, you need to find out why you are passing a null argument to that constructor.

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

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



More information about the jboss-user mailing list