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

getBidVolumes throws
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=16&t=57307
Page 1 of 1

Author:  SFXbernhard [ Fri 03 Apr, 2020, 19:21 ]
Post subject:  getBidVolumes throws

When ITick.getTotalAskVolume() is used in Historical Tester, it throws null pointer exceptions
https://www.dukascopy.com/client/javado ... skVolume--

Quote:
java.lang.NullPointerException
at com.dukascopy.charts.data.datacache.ds.getTotalAskVolume(L:230)


I could reproduce this problem. It is a bug in the current JForex demo version 3.6.15 - 3.6.17
I tried live version 3.6.15, same problem.

It works fine with JForex demo 3.4.14.
It works fine outside Historical Tester.

You can find a short example strategy attached for an easy reproduction.

Attachments:
TickVolumeTest.jfx [2.51 KiB]
Downloaded 245 times
TickVolumeTest.java [969 Bytes]
Downloaded 248 times

Author:  API Support [ Tue 26 May, 2020, 17:33 ]
Post subject:  Re: getBidVolumes throws

Hello.

NPE will be fixed in next platform release.

Kind regards.

  Page 1 of 1