BTM Bug 22562473 - Using JDK 7/8 throws exception: Comparison method violates its general contract! (Doc ID 2097899.1)

Last updated on AUGUST 03, 2016

Applies to:

APM - Application Performance Management - Version 12.1.0.7.0 to 12.1.0.7.0 [Release 12.1]
Information in this document applies to any platform.

Symptoms

From statistician/logdir in the btmstorage directory for the Performance Server you see the following log message:

<logEntry
xmlns="http://namespace.amberpoint.com/amf"
entryId="1450232203579:0"
time="Wed Dec 16 03:16:43 CET 2015"
entryType="1"
dataSize="1855"
clientIPAddress=""
loggerLevel="WARNING"
messageExchangeId="1450180530553:0"
userName="AmberPoint"
className="com.amberpoint.slm.recording.MaintenanceThread"
loggerName="com.amberpoint.slm.recording"
methodName="run" >
Dec 16, 2015 3:16:43 AM com.amberpoint.slm.recording.MaintenanceThread run
WARNING: Quantization Thread@1148870638 wake=2015-12-15 12:55:14(1450180514193) 2015-12-16 03:16:40(1450232200032) task Quantization Task failed at 2015-12-16 03:16:40(1450232200032):
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)
at com.amberpoint.datastore.oracle.PartitionHelper.getPartitions(PartitionHelper.java:324)
at com.amberpoint.datastore.oracle.PartitionHelper.getPartitionsLessThan(PartitionHelper.java:227)
at com.amberpoint.datastore.broker.dbms.PartitionedDeleteConstraint.doTwoCriterionDrop(PartitionedDeleteConstraint.java:158)
at com.amberpoint.datastore.broker.dbms.PartitionedDeleteConstraint.executePartitionDelete(PartitionedDeleteConstraint.java:124)
at com.amberpoint.slm.recording.BrokerMeasurementSource.delete(BrokerMeasurementSource.java:302)
at com.amberpoint.slm.recording.BrokerMeasurementSource.delete(BrokerMeasurementSource.java:277)
at com.amberpoint.slm.recording.quantization.QuantizingMeasurementStore.sweepForExpiredMeasurements(QuantizingMeasurementStore.java:480)
at com.amberpoint.slm.recording.quantization.QuantizationMeasurementCache.serviceQueue(QuantizationMeasurementCache.java:673)
at com.amberpoint.slm.recording.quantization.QuantizationMeasurementCache$QuantizationTask.run(QuantizationMeasurementCache.java:840)
at com.amberpoint.slm.recording.MaintenanceThread.run(MaintenanceThread.java:243)
at java.lang.Thread.run(Thread.java:745)

 



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms