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

RS certificate setting in course if administrator update a template

    XMLWordPrintable

    Details

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

      Description

      Red screen only possible if administrator:

      • Open a course and select a template for certificate
      • Go in Administration > e-Assessment > Certificate and replace a certificate
        -> In course click the preview button
      2017-12-12 14:52:03,496 [ajp-nio2-8018-exec-33] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N18-E4 ^%^ org.olat.core.logging
      
      https://xyz.openolat.com/auth/RepositoryEntry/87392258/CertificationSettings/0
      Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/604.4.7 (KHTML, like Gecko) Version/11.0.2 Safari/604.4.7
      
      **RedScreen**
      <dispatchinfo>
      	<componentinfo>
      		<compname>preview</compname>
      		<compclass>org.olat.core.gui.components.link.Link</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.control.Event</class&gt;
      			<command>preview</command>
      			<tostring>com:preview,org.olat.core.gui.control.Event@ed08e3e7</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.course.certificate.ui.CertificatesOptionsController</controllername>
      		<controllername>org.olat.course.run.CourseRuntimeController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      
      >>> stack of 1.cause::org.olat.core.logging.OLATRuntimeException: null
      -> at org.olat.core.gui.exception.ExceptionWindowController.<init>(ExceptionWindowController.java:116)
         at org.olat.core.gui.exception.MsgFactory.createMessageChiefController(MsgFactory.java:57)
         at org.olat.core.gui.exception.MsgFactory.createMessageChiefController(MsgFactory.java:46)
         at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:209)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:289)
         at org.olat.core.servlets.OpenOLATServlet.doGet(OpenOLATServlet.java:218)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
         at org.olat.core.servlets.OpenOLATServlet.service(OpenOLATServlet.java:175)
         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)
      >>> stack of 2.cause::java.lang.NullPointerException: null
      -> at org.olat.course.certificate.manager.CertificatePhantomWorker.fill(CertificatePhantomWorker.java:104)
         at org.olat.course.certificate.manager.CertificatesManagerImpl.previewCertificate(CertificatesManagerImpl.java:754)
         at org.olat.course.certificate.ui.CertificatesOptionsController.doPreviewTemplate(CertificatesOptionsController.java:339)
         at org.olat.course.certificate.ui.CertificatesOptionsController.event(CertificatesOptionsController.java:290)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:202)
         at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:240)
         at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
         at org.olat.core.gui.components.AbstractComponent.fireEvent(AbstractComponent.java:238)
         at org.olat.core.gui.components.link.Link.dispatch(Link.java:200)
         at org.olat.core.gui.components.link.Link.doDispatchRequest(Link.java:187)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
      

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            mferrari Marco Ferrari
            Votes:
            0 Vote for this issue
            Watchers:
            2 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 - 25 minutes
                25m