facebook

errorrunning myblogstructshibernateeaxmple project…..help!

  1. MyEclipse Archived
  2.  > 
  3. Examples On-Demand
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #282796 Reply

    johnsu
    Member

    the 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.

    #282889 Reply

    Loyal Water
    Member

    This message has not been recovered.

    #282908 Reply

    johnsu
    Member

    This message has not been recovered.

    #282999 Reply

    Loyal Water
    Member

    This message has not been recovered.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: errorrunning myblogstructshibernateeaxmple project…..help!

You must be logged in to post in the forum log in