Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-18742

Selecting two column layout for a page throws an Exception with a bug report for the end user - 2.6.x DEMO

    Details

      Description

      Selecting two column layout for a page throws an Exception with a bug report for the end user

      org.sakaiproject.portal.api.PortalHandlerException: org.sakaiproject.tool.api.ToolException: Exception in JSP: /freeForm/pageProperties.jsp:162

      159: <h:commandButton actionListener="#

      {freeForm.processActionManageItems}"
      160: value="#{msgs.manage_items}"/>
      161: </h:panelGrid>
      162: <ospx:xmlDocument factory="#{freeForm.factory}"
      163: xmlFile="#{freeForm.currentPage.xmlFile}"
      164: var="freeForm.currentPage.regionMap" rendered ="#{freeForm.currentPage.xmlFileNotNull}"/>
      165: </f:subview>


      Stacktrace:
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:768)
      caused by: org.sakaiproject.tool.api.ToolException: Exception in JSP: /freeForm/pageProperties.jsp:162

      159: <h:commandButton actionListener="#{freeForm.processActionManageItems}

      "
      160: value="#

      {msgs.manage_items}"/>
      161: </h:panelGrid>
      162: <ospx:xmlDocument factory="#{freeForm.factory}"
      163: xmlFile="#{freeForm.currentPage.xmlFile}"
      164: var="freeForm.currentPage.regionMap" rendered ="#{freeForm.currentPage.xmlFileNotNull}"/>
      165: </f:subview>


      Stacktrace:
      at org.sakaiproject.spring.util.SpringTool.sendToHelper(SpringTool.java:280)
      caused by: org.apache.jasper.JasperException: Exception in JSP: /freeForm/pageProperties.jsp:162

      159: <h:commandButton actionListener="#{freeForm.processActionManageItems}"
      160: value="#{msgs.manage_items}

      "/>
      161: </h:panelGrid>
      162: <ospx:xmlDocument factory="#

      {freeForm.factory}

      "
      163: xmlFile="#

      {freeForm.currentPage.xmlFile}

      "
      164: var="freeForm.currentPage.regionMap" rendered ="#

      {freeForm.currentPage.xmlFileNotNull}

      "/>
      165: </f:subview>

      Stacktrace:
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
      caused by: javax.faces.el.EvaluationException: javax.faces.el.EvaluationException: Error getting property 'xmlFile' from bean of type org.theospi.portfolio.presentation.tool.DecoratedPage: java.lang.NullPointerException
      at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)
      caused by: javax.faces.el.EvaluationException: Error getting property 'xmlFile' from bean of type org.theospi.portfolio.presentation.tool.DecoratedPage: java.lang.NullPointerException
      at com.sun.faces.el.impl.ArraySuffix.evaluate(ArraySuffix.java:167)
      caused by: java.lang.NullPointerException
      at org.theospi.portfolio.presentation.tool.DecoratedPage.getXmlFile(DecoratedPage.java:170)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:616)
      at com.sun.faces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:79)
      at com.sun.faces.el.impl.ArraySuffix.evaluate(ArraySuffix.java:167)
      at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:151)
      at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:243)
      at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:173)
      at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)
      at org.theospi.jsf.component.XmlDocumentComponent.getXmlFile(XmlDocumentComponent.java:78)
      at org.theospi.jsf.tag.XmlDocumentTag.findComponent(XmlDocumentTag.java:112)
      at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:429)
      at org.apache.jsp.freeForm.pageProperties_jsp._jspx_meth_ospx_005fxmlDocument_005f0(pageProperties_jsp.java:2108)
      at org.apache.jsp.freeForm.pageProperties_jsp._jspx_meth_f_005fsubview_005f1(pageProperties_jsp.java:2015)
      at org.apache.jsp.freeForm.pageProperties_jsp._jspx_meth_ospx_005fxheaderdrawer_005f1(pageProperties_jsp.java:1985)
      at org.apache.jsp.freeForm.pageProperties_jsp._jspx_meth_ospx_005fxheader_005f1(pageProperties_jsp.java:1939)
      at org.apache.jsp.freeForm.pageProperties_jsp._jspx_meth_h_005fform_005f0(pageProperties_jsp.java:339)
      at org.apache.jsp.freeForm.pageProperties_jsp._jspx_meth_sakai_005fview_005f0(pageProperties_jsp.java:254)
      at org.apache.jsp.freeForm.pageProperties_jsp._jspx_meth_f_005fview_005f0(pageProperties_jsp.java:224)
      at org.apache.jsp.freeForm.pageProperties_jsp._jspService(pageProperties_jsp.java:191)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:399)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
      at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
      at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
      at org.sakaiproject.jsf.app.SakaiViewHandler.renderView(SakaiViewHandler.java:137)
      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:399)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
      at org.theospi.portfolio.shared.control.servlet.HelperAwareJsfTool.dispatch(HelperAwareJsfTool.java:161)
      at org.sakaiproject.jsf.util.JsfTool.doGet(JsfTool.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:565)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:364)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
      at org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.help(ActiveToolComponent.java:556)
      at org.sakaiproject.spring.util.SpringTool.sendToHelper(SpringTool.java:280)
      at org.sakaiproject.spring.util.SpringTool.dispatch(SpringTool.java:143)
      at org.sakaiproject.spring.util.SpringTool.doGet(SpringTool.java:294)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:565)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:364)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
      at org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.forward(ActiveToolComponent.java:486)
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1216)
      at org.sakaiproject.portal.charon.handlers.ToolHandler.doTool(ToolHandler.java:195)
      at org.sakaiproject.portal.charon.handlers.ToolHandler.doGet(ToolHandler.java:94)
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:768)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:616)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
      at java.lang.Thread.run(Thread.java:636)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  chmaurer@iupui.edu Chris Maurer
                  Reporter:
                  a.m.berg@uva.nl Alan Berg
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code