xplanner
  1. xplanner
  2. XPR-222

ServletException while rendering viewLayout.jsp: Attempted a bean operation on a null object.'

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.7
    • Fix Version/s: 0.7
    • Component/s: Jsps
    • Labels:
      None
    • JDK version and platform:
      gentoo linux
    • Application server:
      Tomcat 5.5.15

      Description

      Project is created ok, but when I click to project I see an error in web browser:
      [ServletException in:/WEB-INF/jsp/layout/viewLayout.jsp] Attempted a bean operation on a null object.'

      And in catalina.out:
      [ 28509] INFO - e.JdbcTransactionObjectSupport - JDBC 3.0 Savepoint class is available
      [ 29017] INFO - .util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
      [ 29281] INFO - .util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
      [ 29288] INFO - nner.filters.ActivityLogFilter - 02/05 13:34:51.0514 ,sysadmin ,10.1.2.137 ,edit/project ,END ,0.822s ,projectId=
      0&returnto=%2Fdo%2Fview%2Fprojects
      [ 34460] INFO - nner.filters.ActivityLogFilter - 02/05 13:34:56.0687 ,sysadmin ,10.1.2.137 ,edit/project ,START , ,No query s
      tring
      [ 34527] INFO - nner.filters.ActivityLogFilter - 02/05 13:34:56.0753 ,sysadmin ,10.1.2.137 ,edit/project ,END ,0.066s ,No query s
      tring
      [ 34536] INFO - nner.filters.ActivityLogFilter - 02/05 13:34:56.0759 ,sysadmin ,10.1.2.137 ,view/projects ,START , ,No query s
      tring
      [ 34573] INFO - .util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.bean.LocalStrings', returnNull=true
      [ 34593] INFO - nner.filters.ActivityLogFilter - 02/05 13:34:56.0819 ,sysadmin ,10.1.2.137 ,view/projects ,END ,0.06s ,No query s
      tring
      [ 35800] INFO - nner.filters.ActivityLogFilter - 02/05 13:34:58.0026 ,sysadmin ,10.1.2.137 ,view/project ,START , ,projectId=
      0&returnto=%2Fdo%2Fview%2Fprojects&oid=1
      [ 36872] ERROR - .[localhost].[/xplanner].[jsp] - Servlet.service() for servlet jsp threw exception
      org.apache.jasper.JasperException: Attempted a bean operation on a null object.
              at org.apache.jasper.runtime.JspRuntimeLibrary.handleGetProperty(JspRuntimeLibrary.java:601)
              at org.apache.jsp.WEB_002dINF.jsp.layout.viewLayout_jsp._jspService(org.apache.jsp.WEB_002dINF.jsp.layout.viewLayout_jsp:126)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
              at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
              at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
              at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
              at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:614)
              at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:137)
              at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:177)
              at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:756)
              at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:881)
              at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:473)
              at com.technoetic.xplanner.tags.ContentTag.doEndTag(ContentTag.java:34)
              at org.apache.jsp.WEB_002dINF.jsp.view.project_jsp._jspService(org.apache.jsp.WEB_002dINF.jsp.view.project_jsp:813)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
              at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
              at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
              at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
              at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
              at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:274)
              at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
              at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:320)
              at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)

      I'm using apache-tomcat-5.5.15 on gentoo linux.

        Issue Links

          Activity

          Hide
          Vilmantas Baranauskas added a comment -
          I was moving xplanner application to the new server.

          I've got the same problem on tomcat v5.5.17. Then reproduced the same problem on tomcat v5.5.15. Finally, I used tomcat v5.5.12 (was running on the old server) and it worked successfully.

          Seems like fix in tomcat post-v5.5.12 breaks xplanner.
          Show
          Vilmantas Baranauskas added a comment - I was moving xplanner application to the new server. I've got the same problem on tomcat v5.5.17. Then reproduced the same problem on tomcat v5.5.15. Finally, I used tomcat v5.5.12 (was running on the old server) and it worked successfully. Seems like fix in tomcat post-v5.5.12 breaks xplanner.

            People

            • Assignee:
              Jacques Morel
              Reporter:
              Jacques Morel
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: