Uploaded image for project: 'Tiles'
  1. Tiles
  2. TILES-504

SEVERE: Error rendering tile java.lang.NullPointerException

    Details

    • Flags:
      Important

      Description

      I'm getting the following exception when i try to access my application.
      I have recently updated the following components in my application
      weblogic8.1 to weblogic 10.3
      myfaces 1.1.5 to 1.2.5
      richfaces 3.0.1 to 3.3.2
      tomahawk 1.1.5 to 1.1.9
      struts tiles to Tiles core - api- jsp 2.0.5

      Mar 25, 2010 7:47:14 PM org.ajax4jsf.webapp.BaseFilter checkMyFacesExtensionsFilter
      WARNING: MyFaces Extensions Filter should be configured to execute AFTER RichFaces filter. Refer to SRV.6.2.4 section
      of Servlets specification on how to achieve that.
      Mar 25, 2010 7:47:14 PM org.apache.myfaces.shared_tomahawk.config.MyfacesConfig getBooleanInitParameter
      INFO: No context init parameter 'org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS' found, using default value true
      Mar 25, 2010 7:47:14 PM org.apache.myfaces.shared_tomahawk.config.MyfacesConfig getBooleanInitParameter
      INFO: No context init parameter 'org.apache.myfaces.RENDER_VIEWSTATE_ID' found, using default value true
      Mar 25, 2010 7:47:14 PM org.apache.myfaces.shared_tomahawk.config.MyfacesConfig getBooleanInitParameter
      INFO: No context init parameter 'org.apache.myfaces.STRICT_XHTML_LINKS' found, using default value true
      Mar 25, 2010 7:47:14 PM org.apache.myfaces.shared_tomahawk.config.MyfacesConfig getLongInitParameter
      INFO: No context init parameter 'org.apache.myfaces.CONFIG_REFRESH_PERIOD' found, using default value 2
      Mar 25, 2010 7:47:14 PM org.apache.myfaces.shared_tomahawk.config.MyfacesConfig getStringInitParameter
      INFO: No context init parameter 'org.apache.myfaces.RESOURCE_VIRTUAL_PATH' found, using default value /faces/myFacesExte
      nsionResource
      Mar 25, 2010 7:47:14 PM org.apache.myfaces.shared_tomahawk.config.MyfacesConfig createAndInitializeMyFacesConfig
      INFO: Starting up Tomahawk on the MyFaces-JSF-Implementation
      Mar 25, 2010 7:47:14 PM org.apache.tiles.impl.BasicTilesContainer render
      SEVERE: Error rendering tile
      java.lang.NullPointerException
      at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198)
      at org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185)
      at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419)
      at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:370)
      at org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl.renderTilesView(JspTilesTwoViewHandler
      Impl.java:124)
      at org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl.renderView(JspTilesTwoViewHandlerImpl.
      java:110)
      at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
      at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
      at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
      at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:155)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
      at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
      at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
      at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
      at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
      at com.pfizer.pgrd.like.ui.utils.ExceptionFilter.doFilter(ExceptionFilter.java:45)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
      at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:384)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
      at com.pfizer.pgrd.like.ui.utils.SecurityFilter.doFilter(SecurityFilter.java:92)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(Unknown Source)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
      Mar 25, 2010 7:47:14 PM javax.faces.webapp._ErrorPageWriter handleThrowable
      SEVERE: An exception occurred
      javax.faces.FacesException: org.apache.tiles.TilesException
      at org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl.renderTilesView(JspTilesTwoViewHandler
      Impl.java:126)
      at org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl.renderView(JspTilesTwoViewHandlerImpl.
      java:110)
      at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
      at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
      at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
      at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:155)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
      at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
      at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
      at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
      at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
      at com.pfizer.pgrd.like.ui.utils.ExceptionFilter.doFilter(ExceptionFilter.java:45)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
      at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:384)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
      at com.pfizer.pgrd.like.ui.utils.SecurityFilter.doFilter(SecurityFilter.java:92)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(Unknown Source)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
      Caused by: org.apache.tiles.TilesException
      at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:427)
      at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:370)
      at org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl.renderTilesView(JspTilesTwoViewHandler
      Impl.java:124)
      ... 30 more
      Caused by: java.lang.NullPointerException
      at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198)
      at org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185)
      at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419)
      ... 32 more

      can anyone pls let me know the root cause for this issue.

      Thanks,
      Nila

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nilakandan Nilakandan V
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 192h
                192h
                Remaining:
                Remaining Estimate - 192h
                192h
                Logged:
                Time Spent - Not Specified
                Not Specified