[jboss-user] [Beginners Corner] - Accessing a static method throws a null pointer exception
ilavenila
do-not-reply at jboss.com
Mon May 12 20:25:06 EDT 2008
Hey,
I have a very weird situation. I have a web app deployed in JBoss. I am getting a null pointer exception on a static method.
Say,
I have a class name StaticHelperClass which has a static method calculateItem. When I try to access this method in a second class such as
StaticHelperClass.calculateItem , I am receiving a null pointer exception on this line.
I don't know why accessing a static method should throw a null pointer. Any pointers/clues would me much appreciated. Thanks!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150213#4150213
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150213
More information about the jboss-user
mailing list