Dukascopy
 
 
Wiki JStore Search Login

Indicator Throwing NPE without more details
 Post subject: Indicator Throwing NPE without more details Post rating: 0   New post Posted: Mon 31 Mar, 2014, 21:53 
User avatar

User rating: 0
Joined: Tue 30 Jul, 2013, 23:11
Posts: 10
Location: United Kingdom, Reading
Dear All,

I've tried all I know with this indicator that works fine in standalone mode but in inside jforex, despite that it seems to work as expected on the chart it's throwing NPE message and I'm worried that something may be wrong somewhere.
Please see attached code and image.
:shock:
Image


Attachments:
IndicatorNPE.png [205.73 KiB]
Downloaded 409 times
TheZone.java [12 KiB]
Downloaded 277 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: Indicator Throwing NPE without more details Post rating: 0   New post Posted: Wed 02 Apr, 2014, 17:50 
User avatar

User rating: 0
Joined: Tue 30 Jul, 2013, 23:11
Posts: 10
Location: United Kingdom, Reading
Today I manage to have more details.
This happen just after starting JForex. Please see attached.

Does anyone know what's wrong?
java.lang.NullPointerException
at com.dukascopy.api.impl.ef.callFunc(Unknown Source)
at com.dukascopy.api.impl.ee.calculate(Unknown Source)
at com.dukascopy.indicators.MAIndicator.calculate(MAIndicator.java:81)
at com.dukascopy.indicators.AwesomeOscillator.calculate(AwesomeOscillator.java:92)
at jforex.TheZone.calculate(TheZone.java:152)
at com.dukascopy.charts.math.a.a.a(Unknown Source)
at com.dukascopy.charts.math.dataprovider.AbstractDataProvider$e.c(Unknown Source)
at com.dukascopy.charts.math.dataprovider.AbstractDataProvider$e.run(Unknown Source)


Image


Attachments:
IndicatorNPE2.png [254.93 KiB]
Downloaded 389 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.
 

Jump to:  

cron
  © 1998-2025 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