Genetic Evolution error: Comparison method violates its general contract

I'm constantly getting this error in the log: (Build config attached ) initial population used : https://drive.google.com/file/d/1nkVGPm3txoZmhWNVAQO0CygWqoVv54mY/view?usp=sharing 

10:34:48.247 [Nonblocking computeThread - 151 - GPIslandJob_7] ERROR c.s.g.c.p.MultithreadComputePerformer - Error while running task: GPIslandJob_7(962260))
java.lang.IllegalArgumentException: Comparison method violates its general contract!
at java.base/java.util.TimSort.mergeHi(TimSort.java:903) ~[na:na]
at java.base/java.util.TimSort.mergeAt(TimSort.java:520) ~[na:na]
at java.base/java.util.TimSort.mergeCollapse(TimSort.java:448) ~[na:na]
at java.base/java.util.TimSort.sort(TimSort.java:245) ~[na:na]
at java.base/java.util.Arrays.sort(Arrays.java:1515) ~[na:na]
at java.base/java.util.ArrayList.sort(ArrayList.java:1749) ~[na:na]
at java.base/java.util.Collections.sort(Collections.java:177) ~[na:na]
at com.strategyquant.tradinglib.gp.GPGenerationalEngine.sortEvaluatedPopulation(Unknown Source) ~[SQTradingLib.jar:na]
at com.strategyquant.tradinglib.gp.GPGenerationalEngine.nextEvolutionStep(Unknown Source) ~[SQTradingLib.jar:na]
at com.strategyquant.tradinglib.gp.GPGenerationalEngine.gpEvolution(Unknown Source) ~[SQTradingLib.jar:na]
at com.strategyquant.tradinglib.gp.GPGenerationalEngine.evolve(Unknown Source) ~[SQTradingLib.jar:na]
at com.strategyquant.tradinglib.gp.GPIslandJob.call(Unknown Source) ~[SQTradingLib.jar:na]
at com.strategyquant.tradinglib.gp.GPIslandJob.call(Unknown Source) ~[SQTradingLib.jar:na]
at com.strategyquant.gridlib.compute.performer.MultithreadComputePerformer$1.run(Unknown Source) ~[SQGridLib2.jar:na]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[na:na]
at java.base/java.lang.Thread.run(Thread.java:834) ~[na:na]

Attachments
Build.cfx
(24.44 KiB)
  • Votes 0
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

YJ
#1

extreme

19.11.2018 16:50

Task created

MF
#2

Mark Fric

20.11.2018 10:47

Status changed from New to Fixed

I found the problem and fixed it

Votes: 0

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please