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

RS if sort in folder goes wrong

    Details

      Description

      @Tester: the probability to encounter such a red screen is low, very, very low.

      2016-11-03 13:36:38,813 [ajp-nio2-8004-exec-44] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N4-E80 ^%^ org.olat.core.logging
      
      https://e.xyz.ch/auth/RepositoryEntry/278822915/CourseNode/91132898497854/path%3D~~3%2E%20Semester~~2AP03/0 
      
      Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/602.1.50 (KHTML, like Gecko) Version/10.0 Safari/602.1.50
      **RedScreen** Comparison method violates its general contract!
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>foldercomp</compname>
      		<compclass>org.olat.core.commons.modules.bc.components.FolderComponent</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>	</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.core.commons.modules.bc.FolderRunController</controllername>
      		<controllername>org.olat.course.nodes.bc.BCCourseNodeRunController</controllername>
      		<controllername>org.olat.course.run.RunMainController</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: Comparison method violates its general contract!
      -> 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.core.gui.components.Window.dispatchRequest(Window.java:547)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:240)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
         at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:275)
         at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:192)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:292)
         at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:235)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
      >>> stack of 2.cause::java.lang.IllegalArgumentException: Comparison method violates its general contract!
      -> at java.util.TimSort.mergeHi(TimSort.java:899)
         at java.util.TimSort.mergeAt(TimSort.java:516)
         at java.util.TimSort.mergeForceCollapse(TimSort.java:457)
         at java.util.TimSort.sort(TimSort.java:254)
         at java.util.Arrays.sort(Arrays.java:1512)
         at java.util.ArrayList.sort(ArrayList.java:1454)
         at java.util.Collections.sort(Collections.java:175)
         at org.olat.core.commons.modules.bc.components.FolderComponent.updateChildren(FolderComponent.java:365)
         at org.olat.core.commons.modules.bc.components.FolderComponent.sort(FolderComponent.java:300)
         at org.olat.core.commons.modules.bc.components.FolderComponent.doDispatchRequest(FolderComponent.java:158)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
      

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              Reporter:
              srosse 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 - 25 minutes
                25m