facebook

JSF page broken after new MyEclipse install

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #228157 Reply

    bradm
    Member

    After upgrading to Eclipse 3.1M6, the newest MyEclipse, and Tomcat 5.5.9, a couple of JSF pages no longer work. The error is:

    javax.servlet.ServletException: javax.servlet.jsp.JspException: javax.faces.FacesException: javax.faces.FacesException: Can’t instantiate class: ‘[my class] : java.lang.NullPointerException

    I’ve debugged the class separately and it works fine, but whenever I deploy it to Tomcat this error occurs. I know this isn’t much to go on, but does this ring any bells for anybody with a similar configuration? I’m out of ideas… Thanks.

    #228164

    Riyad Kalla
    Member

    … your issue is going to be Tomcat if deploying this page to your upgraded install no longer works. The reason I say that is that MyEclipse is just a bunch of editors and editing facilities, we don’t manhandle the code or do any injection to it… so if this code *used* to work on your old TOmcat install and now doesn’t anymore after updating it, then my money is on Tomcat.

    Have you tried searching the JSF Forums for similar errors? I’m wondering if Tomcat updated a library or now ships a library that conflicts with one in JS… does the exception really say [my class] or did you just remove that? Have you tried checking your log files for output pertaining to exactly the line causing the problem? Try and redeploy this to your old Tomcat install, does it still work? DO you have another test machine to try it on? Have you ever tried dipping your french fries in a chocolate shake before?

    Answering these questions might help us unconver what happened… just like CSI, only boring-er.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: JSF page broken after new MyEclipse install

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