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

Linking posted assignments to published matrix cells throws an error

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.8.0
    • Fix Version/s: 2.8.0, 2.9.0
    • Component/s: Assignments
    • Labels:
      None
    • Environment:
      QA3

      Description

      After publishing a matrix in another site or the same site, attempting to link a posted assignment to a cell in the matrix throws the following error.

      org.sakaiproject.portal.api.PortalHandlerException: org.sakaiproject.tool.api.ToolException: Exception in JSP: /WEB-INF/jsp/matrix/taggable/jsfLinkScaffolding.jsp:29

      26: <h:outputText escape="fase" value="#

      {matrixLinkTool.frameId}" />
      27:
      28: <h:form>
      29: <sakai:view_title value="#{matrixLinkTool.viewTitle}" />
      30: <sakai:instruction_message value="#{matrix_msgs.matrix_links_desc}" />
      31: <sakai:messages />
      32:


      Stacktrace:
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:850)
      caused by: org.sakaiproject.tool.api.ToolException: Exception in JSP: /WEB-INF/jsp/matrix/taggable/jsfLinkScaffolding.jsp:29

      26: <h:outputText escape="fase" value="#{matrixLinkTool.frameId}

      " />
      27:
      28: <h:form>
      29: <sakai:view_title value="#

      {matrixLinkTool.viewTitle}" />
      30: <sakai:instruction_message value="#{matrix_msgs.matrix_links_desc}" />
      31: <sakai:messages />
      32:


      Stacktrace:
      at org.sakaiproject.cheftool.ToolServlet.sendToHelper(ToolServlet.java:659)
      caused by: org.apache.jasper.JasperException: Exception in JSP: /WEB-INF/jsp/matrix/taggable/jsfLinkScaffolding.jsp:29

      26: <h:outputText escape="fase" value="#{matrixLinkTool.frameId}" />
      27:
      28: <h:form>
      29: <sakai:view_title value="#{matrixLinkTool.viewTitle}

      " />
      30: <sakai:instruction_message value="#

      {matrix_msgs.matrix_links_desc}

      " />
      31: <sakai:messages />
      32:

      Stacktrace:
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
      caused by: javax.faces.FacesException: javax.faces.el.EvaluationException: javax.faces.el.EvaluationException: Error getting property 'viewTitle' from bean of type org.theospi.portfolio.matrix.jsf.MatrixLinkTool: java.lang.NullPointerException
      at org.sakaiproject.jsf.util.RendererUtil.getAttribute(RendererUtil.java:90)
      caused by: javax.faces.el.EvaluationException: javax.faces.el.EvaluationException: Error getting property 'viewTitle' from bean of type org.theospi.portfolio.matrix.jsf.MatrixLinkTool: java.lang.NullPointerException
      at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)
      caused by: javax.faces.el.EvaluationException: Error getting property 'viewTitle' from bean of type org.theospi.portfolio.matrix.jsf.MatrixLinkTool: java.lang.NullPointerException
      at com.sun.faces.el.impl.ArraySuffix.evaluate(ArraySuffix.java:167)
      caused by: java.lang.NullPointerException
      at org.sakaiproject.assignment.taggable.impl.AssignmentActivityProducerImpl.checkReference(AssignmentActivityProducerImpl.java:92)
      at org.sakaiproject.taggable.impl.TaggingManagerImpl.findProducerByRef(TaggingManagerImpl.java:66)
      at org.sakaiproject.taggable.impl.TaggingManagerImpl.getActivity(TaggingManagerImpl.java:109)
      at org.theospi.portfolio.matrix.jsf.MatrixLinkTool.getCurrentActivity(MatrixLinkTool.java:258)
      at org.theospi.portfolio.matrix.jsf.MatrixLinkTool.getViewTitle(MatrixLinkTool.java:273)
      at sun.reflect.GeneratedMethodAccessor8236.invoke(null:-1)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      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 javax.faces.component.UIOutput.getValue(UIOutput.java:147)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at javax.faces.component.UIComponentBase$AttributesMap.get(UIComponentBase.java:1359)
      at org.sakaiproject.jsf.util.RendererUtil.getAttribute(RendererUtil.java:90)
      at org.sakaiproject.jsf.renderer.ViewTitleRenderer.encodeBegin(ViewTitleRenderer.java:65)
      at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:683)
      at javax.faces.webapp.UIComponentTag.encodeBegin(UIComponentTag.java:591)
      at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:478)
      at org.apache.jsp.WEB_002dINF.jsp.matrix.taggable.jsfLinkScaffolding_jsp._jspx_meth_sakai_005fview_005ftitle_005f0(jsfLinkScaffolding_jsp.java:408)
      at org.apache.jsp.WEB_002dINF.jsp.matrix.taggable.jsfLinkScaffolding_jsp._jspx_meth_h_005fform_005f0(jsfLinkScaffolding_jsp.java:356)
      at org.apache.jsp.WEB_002dINF.jsp.matrix.taggable.jsfLinkScaffolding_jsp._jspx_meth_sakai_005fview_005f0(jsfLinkScaffolding_jsp.java:239)
      at org.apache.jsp.WEB_002dINF.jsp.matrix.taggable.jsfLinkScaffolding_jsp._jspx_meth_f_005fview_005f0(jsfLinkScaffolding_jsp.java:190)
      at org.apache.jsp.WEB_002dINF.jsp.matrix.taggable.jsfLinkScaffolding_jsp._jspService(jsfLinkScaffolding_jsp.java:157)
      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.matrix.util.MatrixJsfTool.dispatch(MatrixJsfTool.java:263)
      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:586)
      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:581)
      at org.sakaiproject.cheftool.ToolServlet.sendToHelper(ToolServlet.java:659)
      at org.sakaiproject.cheftool.ToolServlet.doGet(ToolServlet.java:221)
      at org.sakaiproject.cheftool.VelocityPortletPaneledAction.doGet(VelocityPortletPaneledAction.java:1032)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
      at org.sakaiproject.vm.ComponentServlet.service(ComponentServlet.java:56)
      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:586)
      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:511)
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1367)
      at org.sakaiproject.portal.charon.handlers.ToolHandler.doTool(ToolHandler.java:204)
      at org.sakaiproject.portal.charon.handlers.ToolHandler.doGet(ToolHandler.java:96)
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:850)
      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:647)
      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.valves.AccessLogValve.invoke(AccessLogValve.java:581)
      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:619)

      user: 44fe4c63-f2ce-4eab-b002-291e6a74f639

      usage-session: 93c916e4-ae7c-4af9-8135-70d37d860267

      time: Dec 12, 2010 21:35:38

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  chmaurer@iupui.edu Chris Maurer
                  Reporter:
                  janice.smith@threecanoes.com Janice A. Smith
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration