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

StackTrace QuestionPool: /jsf/questionpool/poolTreeTable.jsp(48,0)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: OPEN
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 11.4, 12.4
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      11.4 at https://sakailogin.nd.edu (unfortunately I'm not certain what the instructor is doing at the time this occurs).
    • Test Plan:
      Hide
      1. Create or edit a quiz.
      2. From the Add Question menu, Copy from Question Pool
      3. Select a pool.
      4. Instead of selecting a question to add with a check box, click on a question to edit it.
      5. Try to go somewhere else in the middle of editing a question

      (I know these aren't specific).

      Show
      Create or edit a quiz. From the Add Question menu, Copy from Question Pool Select a pool. Instead of selecting a question to add with a check box, click on a question to edit it. Try to go somewhere else in the middle of editing a question (I know these aren't specific).

      Description

      I have an email out to the prof to find out what exactly he's doing at the time. This stacktrace with the key phrase "/jsf/questionpool/poolTreeTable.jsp(48,0)" has occurred over 45 times in the last year (while on 11.4). Question pools are not that highly used here or I might be seeing more!

      Here's what the prof said he was doing:
      Here's what I was doing that led to it...
       
      I had an assessment open and noticed that I had a question on the assessment twice. 
      I deleted one copy of the duplicate question.
      I then went to add another question and selected the option to get it from a question pool. 
      It then threw the error. 
       
      Let me know of you need anything else. I can capture screen shots if they would be benificial. 
       
      bug-id: 3fddaa20-c989-4592-bb94-72c2a2ccf25a
      user: mkajzer1 (Mitchell Kajzer)
      email: Mitchell.D.Kajzer.3@nd.edu
      usage-session: 2535e1a1-c3d7-4d3a-a822-7863ceddd146
      stack-trace-digest: 08F2A83FD8B9C72EA0CCD5D5E35FB89818662957
      sakai-version: 11.4
      service-version: 11.4
      app-server: nd06
      user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36
      browser-id: Mac-Mozilla
      IP: 66.205.160.141
      request-path: /portal/tool/e5d5a917-d060-42d3-88be-1cc00061c68d/jsf/questionpool/poolList
      time: Jul 31, 2018 13:19:02

      stack trace:

      org.sakaiproject.portal.api.PortalHandlerException: org.sakaiproject.tool.api.ToolException: javax.servlet.ServletException: /jsf/questionpool/poolTreeTable.jsp(48,0) 'tier#{questionpool.tree.currentLevel}' Error reading 'currentLevel' on type org.sakaiproject.tool.assessment.business.questionpool.QuestionPoolTreeImpl
          at org.sakaiproject.portal.charon.handlers.ToolHandler.doPost(ToolHandler.java:77)
      caused by: org.sakaiproject.tool.api.ToolException: javax.servlet.ServletException: /jsf/questionpool/poolTreeTable.jsp(48,0) 'tier#{questionpool.tree.currentLevel}' Error reading 'currentLevel' on type org.sakaiproject.tool.assessment.business.questionpool.QuestionPoolTreeImpl
          at org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1486)
      caused by: javax.servlet.ServletException: /jsf/questionpool/poolTreeTable.jsp(48,0) 'tier#{questionpool.tree.currentLevel}' Error reading 'currentLevel' on type org.sakaiproject.tool.assessment.business.questionpool.QuestionPoolTreeImpl
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
      caused by: org.apache.jasper.el.JspELException: /jsf/questionpool/poolTreeTable.jsp(48,0) 'tier#{questionpool.tree.currentLevel}' Error reading 'currentLevel' on type org.sakaiproject.tool.assessment.business.questionpool.QuestionPoolTreeImpl
          at javax.faces.component.html.HtmlPanelGroup.getStyleClass(HtmlPanelGroup.java:147)
      caused by: java.lang.NullPointerException
          at org.sakaiproject.tool.assessment.business.questionpool.QuestionPoolTreeImpl.getCurrentObject(QuestionPoolTreeImpl.java:207)
          at org.sakaiproject.tool.assessment.business.questionpool.QuestionPoolTreeImpl.getCurrentLevel(QuestionPoolTreeImpl.java:294)
          at sun.reflect.GeneratedMethodAccessor8306.invoke(null:-1)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:498)
          at javax.el.BeanELResolver.getValue(BeanELResolver.java:97)
          at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:173)
          at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:200)
          at org.apache.el.parser.AstValue.getValue(AstValue.java:169)
          at org.apache.el.parser.AstDeferredExpression.getValue(AstDeferredExpression.java:43)
          at org.apache.el.parser.AstCompositeExpression.getValue(AstCompositeExpression.java:49)
          at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:184)
          at org.apache.jasper.el.JspValueExpression.getValue(JspValueExpression.java:115)
          at javax.faces.component.html.HtmlPanelGroup.getStyleClass(HtmlPanelGroup.java:147)
          at sun.reflect.GeneratedMethodAccessor6969.invoke(null:-1)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:498)
          at javax.faces.component.UIComponentBase$AttributesMap.get(UIComponentBase.java:1610)
          at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeBegin(GroupRenderer.java:72)
          at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:816)
          at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:234)
          at com.sun.faces.renderkit.html_basic.TableRenderer.renderRow(TableRenderer.java:309)
          at com.sun.faces.renderkit.html_basic.TableRenderer.encodeChildren(TableRenderer.java:133)
          at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:840)
          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:930)
          at javax.faces.render.Renderer.encodeChildren(Renderer.java:148)
          at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:840)
          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:930)
          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)
          at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:266)
          at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:197)
          at org.sakaiproject.jsf.app.SakaiViewHandler.renderView(SakaiViewHandler.java:162)
          at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:111)
          at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
          at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
          at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
          at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:411)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
          at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:720)
          at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466)
          at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391)
          at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318)
          at org.sakaiproject.jsf.util.SamigoJsfTool.dispatch(SamigoJsfTool.java:318)
          at org.sakaiproject.jsf.util.JsfTool.doPost(JsfTool.java:260)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
          at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:720)
          at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466)
          at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:358)
          at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318)
          at org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.forward(ActiveToolComponent.java:513)
          at org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1486)
          at org.sakaiproject.portal.charon.handlers.ToolHandler.doTool(ToolHandler.java:204)
          at org.sakaiproject.portal.charon.handlers.ToolHandler.doGet(ToolHandler.java:100)
          at org.sakaiproject.portal.charon.handlers.ToolHandler.doPost(ToolHandler.java:77)
          at org.sakaiproject.portal.charon.SkinnableCharonPortal.doPost(SkinnableCharonPortal.java:1161)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
          at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:460)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
          at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
          at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:676)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)
          at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)
          at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
          at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2500)
          at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2489)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
          at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
          at java.lang.Thread.run(Thread.java:745)

      Tool Placement:
      No Placement

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  maintenanceteam Core Team
                  Reporter:
                  lgekeler Laura Gekeler
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                    Dates

                    Created:
                    Updated:

                      Git Integration