Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-2051

RS in checklist if there isn't a download link

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.4.12, 10.5.1
    • Component/s: Course
    • Labels:
      None

      Description

      The test in the velocity template is not the same as in the java cade

      2016-06-03 10:37:17,395 [ajp-nio2-8055-exec-11] ERROR Window - OLAT::ERROR ^%^ N55-E1 ^%^ org.olat.core.gui.components
      
      https://xyz.openolat.com/auth/RepositoryEntry/17530880 ^%^ Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0) like Gecko
      
      **RedScreen** exception while rendering component 'ffo_run' (org.olat.core.gui.components.velocity.VelocityContainer) listener:[]
      Message of exception: MethodInvocationException occured while merging template: methName:getDownloadName, refName:r ::_:: ::_:: ^%^ 
      >>> stack of 1.cause::org.olat.core.logging.OLATRuntimeException: exception while rendering component 'ffo_run' (org.olat.core.gui.components.velocity.VelocityContainer) listener:[]
      Message of exception: MethodInvocationException occured while merging template: methName:getDownloadName, refName:r
      -> at org.olat.core.gui.components.Window.handleDirties(Window.java:996)
         at org.olat.core.gui.components.Window.dispatchRequest(Window.java:455)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:234)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
         at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:298)
         at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:216)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:289)
         at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:232)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
         at org.olat.core.servlets.OpenOLATServlet.service(OpenOLATServlet.java:175)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      >>> stack of 2.cause::org.olat.core.logging.OLATRuntimeException: MethodInvocationException occured while merging template: methName:getDownloadName, refName:r
      -> at org.olat.core.gui.render.velocity.VelocityHelper.merge(VelocityHelper.java:166)
         at org.olat.core.gui.render.velocity.VelocityHelper.mergeContent(VelocityHelper.java:181)
         at org.olat.core.gui.components.velocity.VelocityContainerRenderer.render(VelocityContainerRenderer.java:77)
         at org.olat.core.gui.render.Renderer.render(Renderer.java:236)
         at org.olat.core.gui.components.form.flexible.impl.FormWrapperContainerRenderer.render(FormWrapperContainerRenderer.java:121)
         at org.olat.core.gui.render.Renderer.render(Renderer.java:236)
         at org.olat.core.gui.components.panel.PanelRenderer.render(PanelRenderer.java:44)
         at org.olat.core.gui.render.Renderer.render(Renderer.java:236)
         at org.olat.core.gui.render.Renderer.render(Renderer.java:186)
         at org.olat.core.gui.render.velocity.VelocityRenderDecorator.doRender(VelocityRenderDecorator.java:596)
         at org.olat.core.gui.render.velocity.VelocityRenderDecorator.render(VelocityRenderDecorator.java:332)
      >>> stack of 3.cause::java.lang.NullPointerException: null
      -> at org.olat.course.nodes.cl.ui.CheckListRunController$CheckboxWrapper.getDownloadName(CheckListRunController.java:352)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:498)
         at org.apache.velocity.runtime.parser.node.PropertyExecutor.execute(PropertyExecutor.java:142)
         at org.apache.velocity.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:539)
         at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:198)
         at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
         at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
         at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:151)
      

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              Reporter:
              srosse Stéphane Rossé
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 20 minutes
                20m