- This topic has 3 replies, 2 voices, and was last updated 16 years, 8 months ago by Loyal Water.
-
AuthorPosts
-
johnsuMemberthe myblogstructshibernateeaxmple project is running ok! but when i click button ‘edit’ to edit new insert rows,it showed following errors:
HTTP Status 500 –
——————————————————————————–
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: java.lang.NullPointerException
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)root cause
java.lang.NullPointerException
com.myeclipseide.examples.myblog.struts.action.PostAction.copyProperties(PostAction.java:53)
com.myeclipseide.examples.myblog.struts.action.PostAction.setUpForInsertOrUpdate(PostAction.java:42)
sun.reflect.GeneratedMethodAccessor56.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270)
org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)note The full stack trace of the root cause is available in the Apache Tomcat/6.0.14 logs.
——————————————————————————–
Apache Tomcat/6.0.14
addition to i found the only rows shows posttime that i added yesterday,but i added rows now,it can’t show at all!these errors are showing when i edit new rows.
Loyal WaterMemberThis message has not been recovered.
johnsuMemberThis message has not been recovered.
Loyal WaterMemberThis message has not been recovered.
-
AuthorPosts