This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes java.lang. NullPointerException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "java.lang. NullPointerException" Watch "java.lang. NullPointerException" New topic

java.lang. NullPointerException

Nicola Guy
Ranch Hand

Joined: Jun 23, 2004
Posts: 91
Anyone any idea why this error is appearing. I'm filling in details on users and then clickin submit and this is appearing.


Any help would be very welcome
Jeanne Boyarsky
internet detective

Joined: May 26, 2003
Posts: 30124

You need to look at the UserAction class. Since it is throwing the Exception in your class, you can debug it. Try looking at that exact line. If you can't figure it out, post the method in which the code is crashing.

[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: java.lang. NullPointerException
Similar Threads
I am getting the follwing Exception in struts, plzz clarify it
unexpected Exception : by bean
I am getting the follwing Exception in struts
Jasper Report JRException
logic:iterate in struts