Status/Resolution/Reason: Closed/Withdrawn/CannotReproduce
Reporter/Name(from Bugbase): Tom Lofts / Tom Lofts ()
Created: 12/05/2017
Components: Charting/Graphing
Versions: 11.0
Failure Type: Crash
Found In Build/Fixed In Build: CF11 Latest /
Priority/Frequency: Normal / Some users will encounter
Locale/System: UK English / Win 2012 Server x64
Vote Count: 0
Problem Description:
I have a CFChart component which is now reporting the above error.
Stack trace:
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.mergeCollapse(TimSort.java:441) at java.util.TimSort.sort(TimSort.java:245) at java.util.Arrays.sort(Arrays.java:1438) at org.mozilla.javascript.NativeArray.js_sort(NativeArray.java:1015) at org.mozilla.javascript.NativeArray.execIdCall(NativeArray.java:311) at org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:129) at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66) at com.zingchart.zingchart_rhino_min._c_anonymous_547(Unknown Source) at com.zingchart.zingchart_rhino_min.call(Unknown Source) at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:119) at com.zingchart.zingchart_rhino_min._c_a_545(Unknown Source) at com.zingchart.zingchart_rhino_min.call(Unknown Source) at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97) at com.zingchart.zingchart_rhino_min._c_a_545(Unknown Source) at com.zingchart.zingchart_rhino_min.call(Unknown Source) at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97) at com.zingchart.zingchart_rhino_min._c_a_545(Unknown Source) at com.zingchart.zingchart_rhino_min.call(Unknown Source) at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97) at com.zingchart.zingchart_rhino_min._c_anonymous_544(Unknown Source) at com.zingchart.zingchart_rhino_min.call(Unknown Source) at org.mozilla.javascript.ScriptRuntime.applyOrCall(ScriptRuntime.java:2521) at org.mozilla.javascript.BaseFunction.execIdCall(BaseFunction.java:300) at org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:129) at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76) at com.zingchart.zingchart_rhino_min._c_anonymous_62(Unknown Source) at com.zingchart.zingchart_rhino_min.call(Unknown Source) at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:119) at com.zingchart.zingchart_rhino_min._c_anonymous_427(Unknown Source) at com.zingchart.zingchart_rhino_min.call(Unknown Source) at org.mozilla.javascript.ScriptRuntime.applyOrCall(ScriptRuntime.java:2521) at org.mozilla.javascript.BaseFunction.execIdCall(BaseFunction.java:300) at org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:129) at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76) at com.zingchart.zingchart_rhino_min._c_anonymous_62(Unknown Source) at com.zingchart.zingchart_rhino_min.call(Unknown Source) at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:119) at com.zingchart.zingchart_rhino_min._c_anonymous_288(Unknown Source) at com.zingchart.zingchart_rhino_min.call(Unknown Source) at org.mozilla.javascript.ScriptRuntime.applyOrCall(ScriptRuntime.java:2521) at org.mozilla.javascript.BaseFunction.execIdCall(BaseFunction.java:300) at org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:129) at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76) at com.zingchart.zingchart_rhino_min._c_anonymous_62(Unknown Source) at com.zingchart.zingchart_rhino_min.call(Unknown Source) at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:119) at com.zingchart.zingchart_rhino_min._c_anonymous_267(Unknown Source) at com.zingchart.zingchart_rhino_min.call(Unknown Source) at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108) at com.zingchart.zingchart_rhino_min._c_anonymous_275(Unknown Source) at com.zingchart.zingchart_rhino_min.call(Unknown Source) at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66) at com.zingchart.zingchart_rhino_min._c_anonymous_266(Unknown Source) at com.zingchart.zingchart_rhino_min.call(Unknown Source) at org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:57) at com.zingchart.zingchart_rhino_min._c_anonymous_154(Unknown Source) at com.zingchart.zingchart_rhino_min.call(Unknown Source) at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:86) at com.zingchart.zingchart_rhino_min._c_anonymous_265(Unknown Source) at com.zingchart.zingchart_rhino_min.call(Unknown Source) at org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:57) at com.zingchart.zingchart_rhino_min._c_anonymous_154(Unknown Source) at com.zingchart.zingchart_rhino_min.call(Unknown Source) at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:86) at com.zingchart.zingchart_rhino_min._c_anonymous_264(Unknown Source) at com.zingchart.zingchart_rhino_min.call(Unknown Source) at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76) at com.zingchart.zingchart_rhino_min._c_anonymous_260(Unknown Source) at com.zingchart.zingchart_rhino_min.call(Unknown Source) at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76) at com.zingchart.zingchart_rhino_min._c_anonymous_258(Unknown Source) at com.zingchart.zingchart_rhino_min.call(Unknown Source) at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:119) at com.zingchart.zingchart_rhino_min._c_c_300(Unknown Source) at com.zingchart.zingchart_rhino_min.call(Unknown Source) at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108) at com.zingchart.zingchart_rhino_min._c_a_299(Unknown Source) at com.zingchart.zingchart_rhino_min.call(Unknown Source) at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108) at com.zingchart.zingchart_rhino_min._c_anonymous_298(Unknown Source) at com.zingchart.zingchart_rhino_min.call(Unknown Source) at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:119) at com.zingchart.zingchart_rhino_min._c_anonymous_162(Unknown Source) at com.zingchart.zingchart_rhino_min.call(Unknown Source) at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76) at com.zingchart.zingchart_rhino_min._c_anonymous_156(Unknown Source) at com.zingchart.zingchart_rhino_min.call(Unknown Source) at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66) at org.mozilla.javascript.gen._cmd__72._c_script_0(<cmd>:1) at org.mozilla.javascript.gen._cmd__72.call(<cmd>) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3178) at org.mozilla.javascript.gen._cmd__72.call(<cmd>) at org.mozilla.javascript.gen._cmd__72.exec(<cmd>) at org.mozilla.javascript.Context.evaluateString(Context.java:1111) at com.zingchart.ZingChartComponentD.render(ZingChartComponentD.java:80) at coldfusion.graph.InteractiveGraphingServiceImpl.getZCComponent(InteractiveGraphingServiceImpl.java:234) at coldfusion.graph.InteractiveGraphingServiceImpl.generateGraph(InteractiveGraphingServiceImpl.java:121) at coldfusion.tagext.io.ChartTag.doEndTag(ChartTag.java:1136) at cfusage2dindex2dtl2ecfm2074170128.runPage(XXX:149) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:246) at coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:736) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:572) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:3000) at cftemplate2ecfm1354940776._factor6(XXX:983) at cftemplate2ecfm1354940776.runPage(XXX:1) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:246) at coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:736) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:572) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:3000) at cfApplication2ecfm569476631._factor4(XXX:448) at cfApplication2ecfm569476631._factor5(XXX:420) at cfApplication2ecfm569476631._factor10XXX:413) at cfApplication2ecfm569476631._factor12(XXX) at cfApplication2ecfm569476631.runPage(XXX:1) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:246) at coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:736) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:572) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at coldfusion.filter.CfincludeFilter.include(CfincludeFilter.java:33) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:391) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:42) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:153) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:58) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62) at coldfusion.CfmServlet.service(CfmServlet.java:219) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:466) at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:197) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745)
Steps to Reproduce:
Errors on the following code:
<cfchart
format="png"
xAxisTitle="Organisation code"
yAxisTitle="Hits"
scaleFrom="0"
scaleTo="#vTopScale#"
gridlines="#vChartLines#"
chartWidth="539"
chartHeight="#vChartHeight#"
seriesPlacement="stacked"
backgroundColor="EFEFEF"
dataBackgroundColor="EFEFEF"
rotated="yes">
<!--- disabled to prevent 'Comparison method violates its general contract! null <br>The error occurred on line 1.' errors --->
<cfchartseries type="scatter"
query="XXX"
itemColumn="AAA"
valueColumn="BBB"
seriesLabel="Usage limit"
seriesColor="cc0000"
paintStyle="light"
markerStyle="diamond">
<cfchartseries type="scatter"
query="XXX"
itemColumn="AAA"
valueColumn="CCC"
seriesLabel="Usage limit over #numberFormat(val(vTopScale), '_,___')#"
seriesColor="336699"
paintStyle="light"
markerStyle="rcross">
<cfchartseries type="bar"
query="XXX"
itemColumn="AAA"
valueColumn="DDD"
seriesLabel="Total usage hits"
seriesColor="808080"
paintStyle="light">
</cfchartseries>
</cfchart>
I'm not able to provide a full test case as it appears to depend on the underlying data which I'm unable to supply. Removing certain rows or cfchartseries appears to resolve the error, but I can't work out exactly what's causing the problem
Actual Result:
The error above
Expected Result:
No error and displaying the chart
Any Workarounds:
None
Attachments:
Comments: