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.

ERROR EventTask - Runnable execution error
 Post subject: ERROR EventTask - Runnable execution error Post rating: 0   New post Posted: Sat 02 Feb, 2013, 03:36 

User rating: 0
Joined: Sat 02 Feb, 2013, 03:32
Posts: 5
Location: Switzerland,
Hi,

I've upgraded JForex SDK from 2.7.0 to 2.7.8 about 2 Days ago and since then I'm getting from time to time the following
Exception:

java.lang.NullPointerException
at com.dukascopy.charts.data.orders.OrdersProvider.updateOrderGroup(OrdersProvider.java:631)
at com.dukascopy.api.impl.connect.DCClientImpl.feedbackMessageReceived(DCClientImpl.java:717)
at com.dukascopy.transport.client.events.FeedbackMessageReceivedEvent.execute(FeedbackMessageReceivedEvent.java:43)
at com.dukascopy.transport.client.events.EventTask.run(EventTask.java:34)
at com.dukascopy.transport.client.CriteriaThread.run(CriteriaThread.java:75)

Since I'm only seeing classes from the package com.dukascopy.* in the stack trace, is this a known Bug in 2.7.8?

Kind regards,
Sacrelege


 
 Post subject: Re: ERROR EventTask - Runnable execution error Post rating: 0   New post Posted: Mon 04 Feb, 2013, 17:08 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Could you please check if the following code launched from your JForex-SDK project returns 214 and 2.7.8?
package jforex.test;

import com.dukascopy.api.Instrument;
import com.dukascopy.dds2.greed.util.AbstractCurrencyConverter;

public class VersionCheck {

   public static void main(String[] args) {      
      System.out.println( AbstractCurrencyConverter.class.getPackage().getImplementationVersion());
      System.out.println( Instrument.class.getPackage().getImplementationVersion());

   }

}
If it does then please provide a strategy which replicates case.


 
 Post subject: Re: ERROR EventTask - Runnable execution error Post rating: 0   New post Posted: Thu 07 Feb, 2013, 03:13 

User rating: 0
Joined: Sat 02 Feb, 2013, 03:32
Posts: 5
Location: Switzerland,
It returned the expected values "214" and "2.7.8".
The last time the exception occured was on the 4. Feb 2013 (24 times).
Although my last code change was on the 1. Feb 2013.

If I see the exceptions again, I will post the strategy here.


 

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