| Author |
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. java.lang.NullPointerException app.UserAction.perform(UserAction.java:15) org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1787) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586) org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) Any help would be very welcome
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26496
|
|
Nicola, 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
|
 |
 |
|
|
subject: java.lang. NullPointerException
|
|
|