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

RS when version meta file is corrupt

    XMLWordPrintable

    Details

      Description

      If the versions.xml file of a brief case file is corrupt for whatever reason, the user gets a red screen. Since everything that can be done in such a case is to remove the corrupt file, we can do it automatically and just log the error.

      09:06:07,381 ERROR Window:175 - **RedScreen** exception while rendering component 'foldercomp' (org.olat.core.commons.modules.bc.components.FolderComponent) listener:[org.olat.core.commons.modules.bc.FolderRunController [cListener:org.olat.core.commons.fullWebApp.LayoutMain3ColsController, ]]<br />Message of exception: null ::_:: ::_:: ^%^ >>>stack of 1.cause::org.olat.core.logging.OLATRuntimeException: exception while rendering component 'foldercomp' (org.olat.core.commons.modules.bc.components.FolderComponent) listener:[org.olat.core.commons.modules.bc.FolderRunController [cListener:org.olat.core.commons.fullWebApp.LayoutMain3ColsController, ]]<br />Message of exception: null ->  at org.olat.core.gui.components.Window.handleDirties(Window.java:981) at org.olat.core.gui.components.Window.dispatchRequest(Window.java:447) at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:228) at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:192) at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:241) at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:197) at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:269) at org.olat.core.servlets.OpenOLATServlet.doGet(OpenOLATServlet.java:198) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at org.olat.core.servlets.OpenOLATServlet.service(OpenOLATServlet.java:155) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)>>>stack of 2.cause::java.lang.NullPointerException: null ->  at org.olat.core.commons.modules.bc.components.ListRenderer.appendRenderedFile(ListRenderer.java:216) at org.olat.core.commons.modules.bc.components.ListRenderer.render(ListRenderer.java:195) at org.olat.core.commons.modules.bc.components.FolderComponentRenderer.renderList(FolderComponentRenderer.java:210) at org.olat.core.commons.modules.bc.components.FolderComponentRenderer.render(FolderComponentRenderer.java:86) 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:639) at org.olat.core.gui.render.velocity.VelocityRenderDecorator.render(VelocityRenderDecorator.java:308) at sun.reflect.GeneratedMethodAccessor165.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601)
      
      

        Attachments

          Activity

            People

            Assignee:
            gnaegi Florian Gnägi
            Reporter:
            gnaegi Florian Gnägi
            Tester:
            Stéphane Rossé
            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 - 30 minutes
                30m