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.

JForex-SDK News filter/message issue
 Post subject: JForex-SDK News filter/message issue Post rating: 0   New post Posted: Fri 04 Dec, 2015, 20:21 
User avatar

User rating: 0
Joined: Fri 20 Nov, 2015, 13:58
Posts: 1
Location: Australia,
From Dukascopy wiki, I downloaded the sample file regarding news filter and messages, which are https://www.dukascopy.com/wiki/files/NewsFilterMain.java and https://www.dukascopy.com/wiki/files/NewsStrategyNoTrades.java.

However, running NewsFilterMain.java in Eclipse results in following error:
ERROR SessionProtocolDecoder - [DDS2 Standalone Transport Client] SESSION DECODER error. Message: null field: null, error: Trying to decode message that doesn't have registered class mapping, class id - 22441

Moreover, I wrote my own program to retrieve news messages in JForex-SDK and it gave the same error. This error or bug prevents me from correctly retrieving news messages.

I want to retrieve news messages in JForex-SDK. Could you help me solve this issue? Detailed error log is attached.


Attachments:
Error.txt [11.15 KiB]
Downloaded 145 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: JForex-SDK News filter/message issue Post rating: 0   New post Posted: Thu 10 Dec, 2015, 14:02 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
This error typically happens if an unrecognized message is received. This means that JForex client does not have all of the new message types.
To fix this please update to the newest JForex SDK artefacts:
DDS2-jClient-JForex 2.45.24
JForex-API 2.12.24


 

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