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.

Why does i have a NullPointer exeption ?
 Post subject: Why does i have a NullPointer exeption ? Post rating: 0   New post Posted: Fri 28 Oct, 2011, 21:12 
User avatar

User rating: 0
Joined: Sun 10 Jul, 2011, 15:44
Posts: 33
Location: FranceFrance
double prix = history.getLastTick(instrument).getBid();


Why does that line not work ?
I've put it in public void onTick(...


 
 Post subject: Re: Why does i have a NullPointer exeption ? Post rating: 0   New post Posted: Sat 29 Oct, 2011, 22:57 
User avatar

User rating: 0
Joined: Sun 10 Jul, 2011, 15:44
Posts: 33
Location: FranceFrance
Strage thing, now i've no more problem :o


 

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