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

RS: sort in resources of groups

    XMLWordPrintable

    Details

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

      Description

      Sort of a column can lead to a red screen. The table is an old one with an automatic sorting algorithm.

      2019-07-17 15:25:22,698 [ajp-nio2-8054-exec-11] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N54-E44 ^%^ org.olat.core.logging 
      https://xyz.openolat.com/auth/BusinessGroup/29523968 ^%^ Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36
      **RedScreen** Comparison method violates its general contract!
      
      <dispatchinfo>
      	<componentinfo
      		<compname>bgTree</compname>
      		<compclass>org.olat.core.gui.components.tree.MenuTree</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.components.tree.TreeEvent</class&gt;
      			<command>ctncl</command>
      			<tostring>TreeEvent:{cmd:ctncl, nodeid:bgmr54024205941courses}</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.group.ui.run.BusinessGroupMainRunController</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:589)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:282)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
         at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:273)
         at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:190)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:294)
         at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:237)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
      >>> stack of 2.cause::java.lang.IllegalArgumentException: Comparison method violates its general contract!
      -> at java.util.TimSort.mergeLo(TimSort.java:777)
         at java.util.TimSort.mergeAt(TimSort.java:514)
         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:1462)
         at java.util.Collections.sort(Collections.java:175)
         at org.olat.core.gui.components.table.Table.resort(Table.java:523)
         at org.olat.core.gui.components.table.Table.modelChanged(Table.java:217)
         at org.olat.core.gui.components.table.TableController.modelChanged(TableController.java:496)
         at org.olat.core.gui.components.table.TableController.modelChanged(TableController.java:484)
      

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            srosse Stéphane Rossé
            Tester:
            Mandy Menzel
            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 - 5 minutes
                5m