Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Submit JForex API bug reports in this forum only.
    Submit Converter issues in Converter Issues.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

getBidVolumes throws
 Post subject: getBidVolumes throws Post rating: 0   New post Posted: Fri 03 Apr, 2020, 19:21 
User avatar

User rating: 21
Joined: Thu 19 May, 2011, 20:50
Posts: 377
Location: Germany, Munich
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 15 times
TickVolumeTest.java [969 Bytes]
Downloaded 16 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: getBidVolumes throws Post rating: 0   New post Posted: Tue 26 May, 2020, 17:33 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6090
Hello.

NPE will be fixed in next platform release.

Kind regards.


 

Jump to:  

cron
  © 1998-2011 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com