Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-4789

JBWEB-148: NPE at org.apache.catalina.connector.Request.removeAttribute(Request)

    XMLWordPrintable

Details

    • Release Notes
    • Hide
      SHORT DESCRIPTION:
              Provide fix for JBWEB-148.
      LONG DESCRIPTION:
              Patch to add null checks to prevent NullPointerException.
      MANUAL INSTALL INSTRUCTIONS:
              Replace the existing %JBOSS_HOME%/server/%JBOSSCONF%/deploy/jboss-web.deployer/jbossweb.jar with the new jbossweb.jar
      COMPATIBILITY:
             4.2.0.GA_CP08
             4.3.0.GA_CP07
      SUPERSEDES:
              N/A
      CREATOR:
              Mike Millson
      DATE:
              5-August-2010
      Show
      SHORT DESCRIPTION:         Provide fix for JBWEB-148. LONG DESCRIPTION:         Patch to add null checks to prevent NullPointerException. MANUAL INSTALL INSTRUCTIONS:         Replace the existing %JBOSS_HOME%/server/%JBOSSCONF%/deploy/jboss-web.deployer/jbossweb.jar with the new jbossweb.jar COMPATIBILITY:        4.2.0.GA_CP08        4.3.0.GA_CP07 SUPERSEDES:         N/A CREATOR:         Mike Millson DATE:         5-August-2010

    Description

      Whenever a user hits a button before the page is completely loaded, he is presented a http 500 error page and the following Exception is written to server.log. This also occurs sometimes even after allowing the page enough time to finish loading or when uploading a file.

      [2010-07-27 09:34:29,666] [ERROR] [org.apache.catalina.core.ContainerBase] Session event listener threw exception
      java.lang.NullPointerException
      at org.apache.catalina.connector.Request.removeAttribute(Request.java:1343)
      at org.apache.catalina.connector.RequestFacade.removeAttribute(RequestFacade.java:514)
      at org.apache.catalina.core.ApplicationHttpRequest.removeAttribute(ApplicationHttpRequest.java:256)
      at javax.servlet.ServletRequestWrapper.removeAttribute(ServletRequestWrapper.java:295)
      at javax.servlet.ServletRequestWrapper.removeAttribute(ServletRequestWrapper.java:295)
      at com.sun.faces.context.RequestMap.remove(ExternalContextImpl.java:1096)
      at org.jboss.seam.contexts.BasicContext.remove(BasicContext.java:73)
      at org.jboss.seam.Component.newInstance(Component.java:2141)
      at org.jboss.seam.Component.getInstance(Component.java:2021)

      Attachments

        Activity

          People

            rhn-support-mmillson Michael Millson
            rhn-support-mmillson Michael Millson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: