Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Elektron /
  • EMA /
avatar image
Question by iscas.wang · Apr 01, 2019 at 11:19 AM · elektronrefinitiv-realtimeelektron-sdkrrtema-apielektron-message-apiexception

callback thread exception

Hello, everyone, my application occasionally encounters the following error, and the callback thread quits.

A few days ago when testing, I encountered the same problem. I tried to modified my code several times, but without luck. Several minutes later, I tried my original application, but it runs ok again. So it seems not my application problem. So what does the error above stand for ? Thanks.

exception.png (66.3 KiB)

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

3 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by umer.nalla · Apr 02, 2019 at 06:42 AM

Hi @wangfugen

Please refer to example 422__MarketPrice__ErrorClient (EMA C++) / example422__MarketPrice__ErrorClient (EMA Java) which can be found in the respective Consumer 400 series sub folders of the SDK

These examples demonstrate how to use an OmmConsumerErrorClient instead of exceptions.

I would also recommend you try to recreate the problem using our basic Batch example - example370__MarketPrice__Batch - to try and eliminate possibility of a bug in your application.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
REFINITIV
Answer by umer.nalla · Apr 02, 2019 at 06:21 AM

Hi @wangfugen

Can you please confirm which error you are referring to?

In the extract above I can only see a ChannelUp event and positive acknowledgement of your Batch Requests?

When you make a Batch Request, the API will close the handle / event stream for the Batch Request. This is because it will create new event streams for each valid item in your Batch and each will have its own handle.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
Answer by iscas.wang · Apr 02, 2019 at 06:30 AM

Hi, @Umer Nalla

Sorry for I cannot reproduce this error again and provide more details. If next time it happens again I will add more detail to the question.

One more question, I do found some exception after the acknowledgement message and the parser thread terminates when my code is buggy. Due to the exception mechanism used inside ema sdk, it usually hides where the code triggering the bug. So is there any method to disable the exception mechanism, allowing the application just generates coredump file ? Thanks .

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
6 People are following this question.

Related Questions

ema sdk exception problem

EMA ChannelSet failover

EMA CPP - Exception adding ric into OmmArray

SelectableBiDirectionalQueue.write: failed, execption=null stacktrace=[Ljava.lang.StackTraceElement;@7facead1. When this exception will occur?

RSSL_HTTP Channel type leads to HttpChannelConfig cannot be cast to SocketChannelConfig exception

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • FX Venues
    • FX Trading – RFQ Maker
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • Yield Book Analytics
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges