ICEfaces
  1. ICEfaces
  2. ICE-8851

NullPointerException in Mojarra code

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.BETA1, 3.2
    • Fix Version/s: EE-3.2.0.GA, 3.3
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Mojarra
    • Assignee Priority:
      P1

      Description

      When running the QA tests in automation, the first test in the test suite fails because of an HTTP error 500 (see also attachment):
      HTTP Status 500 -
      type Exception report
      message
      description The server encountered an internal error () that prevented it from fulfilling this request.
      exception
      java.lang.NullPointerException
      javax.faces.component.UIViewRoot$ViewMap.clear(UIViewRoot.java:1779)
      com.sun.faces.config.InitFacesContext.release(InitFacesContext.java:239)
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:577)
      note The full stack trace of the root cause is available in the Apache Tomcat/6.0.26 logs.
      In tomcat log, the error is:
      17-Dec-2012 4:14:08 PM org.apache.catalina.core.StandardWrapperValve invoke
      SEVERE: Servlet.service() for servlet Faces Servlet threw exception
      java.lang.NullPointerException
      at javax.faces.component.UIViewRoot$ViewMap.clear(UIViewRoot.java:1779)
      at com.sun.faces.config.InitFacesContext.release(InitFacesContext.java:239)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:577)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      at java.lang.Thread.run(Thread.java:662)

      This error is not an issue when deploying/testing manually.

        Activity

        Mircea Toma created issue -
        Mircea Toma made changes -
        Field Original Value New Value
        Assignee Mircea Toma [ mircea.toma ]
        Mircea Toma made changes -
        Assignee Priority P2 [ 10011 ]
        Ken Fyten made changes -
        Assignee Priority P2 [ 10011 ] P1 [ 10010 ]
        Deryk Sinotte made changes -
        Assignee Mircea Toma [ mircea.toma ] Deryk Sinotte [ deryk.sinotte ]
        Ken Fyten made changes -
        Comment [ Carmen reports:

        Using the nightly EE builds from jenkins (showcase with myFaces), this issue appeared first time on November 19th (Build # 93):

        Build of December 17 (Build #90) - one JS error when loading showcase in any browser (IPCK-422 open for this issue).
        Build of December 18 (Build # 91) - no issues.
        Build of December 18 (Build # 92): showcase cannot be loaded in a browser due to an HTTP 500 error.
        Build of December 19 (Build # 93): myfaces reordering issues. ]
        Ken Fyten made changes -
        Comment [ FYI:

        Attached a new screen shot - the same JS errors.

        Carmen

        On 04/01/2013 12:38 PM, Deryk Sinotte wrote:
        For build #93, if you set the following context parameter, does it work better?

         <context-param>
        <param-name>org.icefaces.uniqueResourceURLs</param-name>
           <param-value>false</param-value>
         </context-param> ]
        Deryk Sinotte made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s EE-3.2.0.GA [ 10332 ]
        Fix Version/s 3.3 [ 10370 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Deryk Sinotte
            Reporter:
            Mircea Toma
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: