facebook

MyBlogStrutsHibernateExample has no SQL or MYBLO.mer file

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

    This message has not been recovered.

    #279337 Reply

    Riyad Kalla
    Member

    This message has not been recovered.

    #281578 Reply

    tanship
    Member

    Hello. Please, help me. I work with MyBlogStrutsHibernateExample. Create new item, delete are working. But when I press on Edit I can see : HTTP Status 500 The server encountered an internal error () that prevented it from fulfilling this request. What it is? Thank you.

    #281596 Reply

    Riyad Kalla
    Member

    tanship,
    When the error occurs, you should see an exception written in the Console view from Tomcat, that might help give us some indication of what error is happening.

    #281640 Reply

    firuna
    Member

    Hi, sorry for my poor english (I’m from Germany). I hope I can describe my problem right. I might have the same problem like tanship.

    When I submit a new post, it seems to work (post is displayed and everything), but in Console is the following exception:
    java.text.ParseException: Unparseable date: “Mon Feb 11 21:35:10 CET 2008”
    at java.text.DateFormat.parse(Unknown Source)

    I can delete the post, but when I try to edit it, there is a NullPointerException and Tomcat shows the error message described by tanship. Console output:
    SCHWERWIEGEND: Servlet.service() for servlet action threw exception
    java.lang.NullPointerException
    at com.myeclipseide.examples.myblog.struts.action.PostAction.copyProperties(PostAction.java:53)
    at com.myeclipseide.examples.myblog.struts.action.PostAction.setUpForInsertOrUpdate(PostAction.java:42)

    I tried to put in a shorter date string, but no success so far…

    #281673 Reply

    Riyad Kalla
    Member

    firuna,
    Which version of Tomcat are you deploying the project to? I wonder why the date cannot be parsed…

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: MyBlogStrutsHibernateExample has no SQL or MYBLO.mer file

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