jQuery in Action, 2nd edition*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 30068

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
It is sorta covered in the JavaRanch Style Guide.
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