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

Redscreen when opening Outbox

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.3.2
    • Fix Version/s: 8.3.3
    • Component/s: Mail, Mailbox
    • Labels:
      None

      Description

      We get in some cases errors when users try to open their outbox:
      stack of 1.cause::org.olat.core.logging.AssertException: could not create controller via reflection. factoryName: org.olat.core.util.mail.MailUIFactory method: createOutboxController -> at org.olat.core.gui.control.creator.FactoryControllerCreator.createController(FactoryControllerCreator.java:89) at org.olat.core.extensions.action.GenericActionExtension.createController(GenericActionExtension.java:116) at org.olat.core.gui.control.generic.layout.GenericMainController.createController(GenericMainController.java:443) at org.olat.core.gui.control.generic.layout.GenericMainController.getContentCtr(GenericMainController.java:454) at org.olat.core.gui.control.generic.layout.GenericMainController.event(GenericMainController.java:390) at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:195) at org.olat.core.gui.components.Component$1.run(Component.java:238) at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108) at org.olat.core.gui.components.Component.fireEvent(Component.java:235) at org.olat.core.gui.components.tree.MenuTree.handleClick(MenuTree.java:253) at org.olat.core.gui.components.tree.MenuTree.doDispatchRequest(MenuTree.java:169)>>>stack of 2.cause::java.lang.reflect.InvocationTargetException: null -> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.olat.core.gui.control.creator.FactoryControllerCreator.createController(FactoryControllerCreator.java:71) at org.olat.core.extensions.action.GenericActionExtension.createController(GenericActionExtension.java:116) at org.olat.core.gui.control.generic.layout.GenericMainController.createController(GenericMainController.java:443) at org.olat.core.gui.control.generic.layout.GenericMainController.getContentCtr(GenericMainController.java:454) at org.olat.core.gui.control.generic.layout.GenericMainController.event(GenericMainController.java:390) at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:195) at org.olat.core.gui.components.Component$1.run(Component.java:238)>>>stack of 3.cause::java.lang.IllegalArgumentException: Comparison method violates its general contract! -> at java.util.TimSort.mergeLo(TimSort.java:747) at java.util.TimSort.mergeAt(TimSort.java:483) at java.util.TimSort.mergeCollapse(TimSort.java:408) at java.util.TimSort.sort(TimSort.java:214) at java.util.TimSort.sort(TimSort.java:173) at java.util.Arrays.sort(Arrays.java:659) at java.util.Collections.sort(Collections.java:217) at org.olat.core.gui.components.table.Table.resort(Table.java:585) at org.olat.core.gui.components.table.Table.modelChanged(Table.java:211) at org.olat.core.gui.components.table.TableController.modelChanged(TableController.java:572) at org.olat.core.gui.components.table.TableController.modelChanged(TableController.java:560)

      Perhaps there's something wrong within the compare method?

      I found those resources on the web:
      https://bugs.eclipse.org/bugs/show_bug.cgi?id=371586:
      The sort implementation of Java 7 (TimSort) is more strict than that of Java 6 (MergeSort).
      If you don't want to or can't easily fix the comparator, a workaround is to start your app with -Djava.util.Arrays.useLegacyMergeSort=true

      http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7075600
      http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6804124

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            stephan Stephan Clemenz
            Tester:
            Kirsten Scherer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h