Information:

Environment

AppMon: 5.6 (or lower if KB-481 was implemented)

Symptoms

- The session storage partition runs out of diskspace
and/or
- PurePath correlation or realtime analysis does not work reliable

Solution

Add

-Djava.util.Arrays.useLegacyMergeSort=true 

to dtserver.ini and restart the server.

Root Cause

A sort algorithm was changed within the Java 7 framework and so under special conditions, some code in AppMon can trigger an IllegalArgumentException. If you see any occurrence of the following stack trace in the server log, please implement the workaround from the solution section.

java.lang.IllegalArgumentException: Comparison method violates its general contract! 
at java.util.TimSort.mergeHi(TimSort.java:868) 
at java.util.TimSort.mergeAt(TimSort.java:485) 
at java.util.TimSort.mergeForceCollapse(TimSort.java:426) 
at java.util.TimSort.sort(TimSort.java:223) 
at java.util.TimSort.sort(TimSort.java:173) 
at java.util.Arrays.sort(Arrays.java:659) 
at java.util.Collections.sort(Collections.java:217)