Dukascopy
 
 
Wiki JStore Search Login

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

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

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

NPE at com.dukascopy.charts.data.a.c.a
 Post subject: NPE at com.dukascopy.charts.data.a.c.a Post rating: 0   New post Posted: Tue 01 Dec, 2009, 04:57 

User rating: 0
Joined: Sun 29 Nov, 2009, 04:15
Posts: 11
Hi, I downloaded the example, imported to eclipse and replaced the MA strategy with mine. Every time after an order was open and closed(TP hit), I got this in my eclipse console, then the strategy seems stop working.

java.lang.NullPointerException
at com.dukascopy.charts.data.a.c.a(Unknown Source)
at com.dukascopy.dds2.greed.util.b.a(Unknown Source)
at com.dukascopy.charts.data.a.b.a(Unknown Source)
at com.dukascopy.charts.data.a.b.p(Unknown Source)
at com.dukascopy.api.impl.connect.DCClientImpl.a(Unknown Source)
at com.dukascopy.transport.client.a.b.execute(Unknown Source)
at com.dukascopy.transport.client.a.e.run(Unknown Source)
at com.dukascopy.transport.client.k.run(Unknown Source)


 
 Post subject: Re: JFOREX-1360: NPE at com.dukascopy.charts.data.a.c.a Post rating: 0   New post Posted: Tue 01 Dec, 2009, 10:29 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
It seems you have not subscribed to all the required instruments. For instance, if you are opening AUD/JPY order, you will need USD/JPY also. In any case, we will add more information for the following exception.


 

Jump to:  

  © 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