This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Struts and the fly likes helper class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "helper class" Watch "helper class" New topic
Author

helper class

Chris Pat
Ranch Hand

Joined: Aug 27, 2005
Posts: 156
Hello
In my Action I am creating an object and storing it in
a db. It works fine. The next line I then call a
method on the object, does some lookups, printouts proof that it is working and then on the return gets this message:

java.lang.NullPointerException
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:372)

It is a boolean method that just returns a computed
boolean value that I have a println proving that the
value is false. I have upgraded to 5.5.12 and the
latest 1.2.8 struts.

Is there anything special that needs to be done to return from a method of a helper class?

Can anyone provide any insight?
Thank you.
 
jQuery in Action, 2nd edition
 
subject: helper class