This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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

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
author & internet detective

Joined: May 26, 2003
Posts: 32481

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.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: java.lang. NullPointerException
It's not a secret anymore!