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

RS: cannot delete course with forum with specific conditions

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 15.3.15, 15.4.7
    • Course
    • None

    Description

      2021-04-26 10:42:29.726 [ajp-nio2-127.0.0.1-8021-exec-300] ERROR  OLATRuntimeException ^%^ I1291646-J126959 ^%^ org.olat.core.logging.OLATRuntimeException
      https://xyz.de/auth/RepositoryEntry/3283419203 ^%^ Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0
      **RedScreen**
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>ffo_main_confirm_delete_permanent</compname>
      		<compclass>org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.components.form.flexible.impl.FormEvent</class&gt;
      			<command>done</command>
      			<tostring>com:done,org.olat.core.gui.components.form.flexible.impl.FormEvent@2f23a1</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.repository.ui.author.ConfirmDeletePermanentlyController</controllername>
      		<controllername>org.olat.repository.ui.author.AuthorDeletedListController</controllername>
      		<controllername>org.olat.repository.ui.author.OverviewAuthoringController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      
      org.olat.core.logging.OLATRuntimeException
       at org.olat.core.gui.exception.ExceptionWindowController.<init>(ExceptionWindowController.java:112)
       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.core.gui.components.Window.dispatchRequest(Window.java:627)
       at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:313)
       at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
       at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:278)
       at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:183)
       at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:299)
       at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:227)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:652)
       at org.olat.core.servlets.OpenOLATServlet.service(OpenOLATServlet.java:159)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
       at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
       at org.olat.core.servlets.HeadersFilter.doFilter(HeadersFilter.java:64)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
       at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:431)
       at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
       at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
       at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1674)
       at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
       at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1104)
       at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:598)
       at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:576)
       at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)
       at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)
       at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
       at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
       at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
       at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
       at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.lang.NullPointerException
       at org.olat.course.nodes.FOCourseNode.removeDefaultPreconditions(FOCourseNode.java:557)
       at org.olat.course.nodes.FOCourseNode.updateModuleConfigDefaults(FOCourseNode.java:535)
       at org.olat.course.nodes.FOCourseNode.loadOrCreateForum(FOCourseNode.java:217)
       at org.olat.course.nodes.FOCourseNode.archiveNodeData(FOCourseNode.java:462)
       at org.olat.course.CourseFactory$NodeArchiveVisitor.visit(CourseFactory.java:1081)
       at org.olat.core.util.tree.TreeVisitor.doVisit(TreeVisitor.java:72)
       at org.olat.core.util.tree.TreeVisitor.doVisit(TreeVisitor.java:68)
       at org.olat.core.util.tree.TreeVisitor.visitAll(TreeVisitor.java:57)
       at org.olat.course.CourseFactory.archiveCourse(CourseFactory.java:749)
       at org.olat.course.CourseFactory.archiveCourse(CourseFactory.java:721)
       at org.olat.repository.handlers.CourseHandler.readyToDelete(CourseHandler.java:605)
       at org.olat.repository.manager.RepositoryServiceImpl.deletePermanently(RepositoryServiceImpl.java:518)
       at org.olat.repository.ui.author.ConfirmDeletePermanentlyController.deleteEntries(ConfirmDeletePermanentlyController.java:289)
       at org.olat.repository.ui.author.ConfirmDeletePermanentlyController.doCompleteDelete(ConfirmDeletePermanentlyController.java:238)
       at org.olat.repository.ui.author.ConfirmDeletePermanentlyController.formInnerEvent(ConfirmDeletePermanentlyController.java:209)
       at org.olat.core.gui.components.form.flexible.impl.FormBasicController.event(FormBasicController.java:431)
       at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:214)
       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.form.flexible.impl.FormWrapperContainer.fireFormEvent(FormWrapperContainer.java:136)
       at org.olat.core.gui.components.form.flexible.impl.Form.fireFormEvent(Form.java:743)
       at org.olat.core.gui.components.form.flexible.impl.elements.FormLinkImpl.dispatchFormRequest(FormLinkImpl.java:270)
       at org.olat.core.gui.components.form.flexible.impl.FormItemImpl.doDispatchFormRequest(FormItemImpl.java:568)
       at org.olat.core.gui.components.form.flexible.impl.Form.evalFormRequest(Form.java:317)
       at org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer.doDispatchRequest(FormWrapperContainer.java:105)
       at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
       at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1258)
       at org.olat.core.gui.components.Window.dispatchRequest(Window.java:433) 	... 39 more
      
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: