Dukascopy Support Board
http://www.dukascopy.com/swiss/english/forex/jforex/forum/

SDK Class OrderExecutionStatisticsRegistry
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=16&t=54546
Page 1 of 1

Author:  scotpip2 [ Tue 13 Dec, 2016, 15:47 ]
Post subject:  SDK Class OrderExecutionStatisticsRegistry

Hi

There's an uncaught exception in this class. Doesn't seem to do any harm, but the error clogs up the logs. It would be nice if it could be tidied up.

Here's the offending code:

               StopWatch var6 = TIMING;
                synchronized(TIMING) {
                    if(TIMING.isStarted()) {
                        TIMING.stop();
                        elapsedTime = TIMING.getTime();
                    }
                }


And here's the error:

java.lang.NoSuchMethodError: org.apache.commons.lang3.time.StopWatch.isStarted()

Author:  API Support [ Fri 30 Dec, 2016, 13:56 ]
Post subject:  Re: SDK Class OrderExecutionStatisticsRegistry

Thank you for the report. We will investigate this.

Author:  API Support [ Mon 16 Jan, 2017, 15:35 ]
Post subject:  Re: SDK Class OrderExecutionStatisticsRegistry

We were unable to reproduce this.
Please provide full example project or strategy of the error.

  Page 1 of 1