API 2.9.5.1 linux server occasionally seeing this exception
on startup of multiple strategies. Haven't seen it on my more
powerful linux server, but on a far less powerful one, I just
got this a couple of times on startup. Could be the slower
machine creates just the right conditions for this exception,
whereas more powerful ones are capable of running all of the
various threads much quicker so I'm not seeing it so much.
My standalone API code tries to start each strategy and
pause so they're not all trying to startup concurrently as much.
Again, most likely the very slow t1.micro Amazon EC2 instance
on which I'm doing some testing, doesn't have the horsepower...
Normally I'm running on a c3.large EC2 instance.
HyperScalper
java.util.concurrent.ExecutionException: java.util.ConcurrentModificationException
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:188)
at com.dukascopy.dds2.greed.market.LiveCurrencyMarketProcessingThread.run(LiveCurrencyMarketProcessingThread.java:81)
Caused by: java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:926)
at java.util.HashMap$ValueIterator.next(HashMap.java:954)
at com.dukascopy.api.impl.connect.DCClientImpl$8.tickReceived(DCClientImpl.java:808)
at com.dukascopy.dds2.greed.market.LiveCurrencyMarketProcessingThread$1.run(LiveCurrencyMarketProcessingThread.java:135)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)