-
IndexOutOfBoundsException at registerClient EMA
IndexOutOfBoundsException at registerClient EMA : API EMA 3.6.3.1 JAVA Windows We experience since this morning (May the 9th) an IndexOutOfBoundsException when trying to use registerClient. The source code, library and configuration file have not changed since April, the 28th. Can you check please ? And can you give us the…
-
Facing "InvalidUsageExceptionImpl" Exception while application reconnects to reuters
Hi All, We are using rmds client script to get market rate data for our application. In unit test case, while application tries to reconnect to reuters we are facing an exception "rfa::common::InvalidUsageExceptionImpl" from RFA library used. And this is very rare and random issue. And we are not able to reproduce it. Need…
-
unregister() causes internal stack trace
I have written the simplest code example that returns a refresh message and it gets a internal stack trace on unregister(). What's wrong in these 40 lines? OnMsgTest onMsgTest = new OnMsgTest(ommConsumer, symbol);<br /> long handle = ommConsumer.registerClient(reqMsg.serviceName(source).name(symbol), onMsgTest); and later…
-
DSS API connection failed
I am not able to hit refinitiv from PaSS and getting below error ResourceAccessException: 15:26:35.857: [APP/PROC/WEB.0] 2022-09-05 09:56:35 ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is…
-
Exception Type='OmmJsonConverterException', Text='Failed to convert JSON message'
When i try to subscribe to ALINN.PA i receive this exception : Exception Type='OmmJsonConverterException', Text='Failed to convert JSON message: {"ID":24187,"Type":"Error","Text":"JSON Converter unexpected value: Invalid date value: 2022-11, code =…
-
Exception handling during asyncio tasks
Hello. In following code example objs variable will be empty (the results of all tasks will be lost), because one of the tasks raised exception. How can I come over that? For example, so that one of the tasks returns a normal answer, and the other returns just None. Thank you. tasks_gather = asyncio.gather(…
-
NullPointerException emaj 3.6.1.2 processing directory domain message
Hi Dev Team, Recently we have encountered a NullPointerException processing directory domain message. This happened after one of the services on TREP 3.5 was renamed so we suspect TREP sent a message that included a Delete for that old service name that was being renamed which caused the app to crash or at least that is…
-
Error processing message
Hello, I had an issue whereby I missed a BLANK check and the code threw an exception at which point no more messages were processed. Seems wrong for calling code to not handle the exception Code snippet here with BLANk check added final short fid = (short) fieldEntry.fieldId(); final String name = fieldEntry.name(); if…
-
Trying to use DSS SDK Seach and I am getting a System.TypeLoadException Exception
Trying to use DSS SDK Seach in project targeting .Net Standard 2.1 and I am getting a System.TypeLoadException Exception Tried changing the target to .Net Framework 4.5.1 and I am getting the same exception I copied and referenced all the DLLs as directed in the Getting Started docs. System.TypeLoadException: Could not…
-
Getting java.lang.NoSuchFieldError: INSTANCE exception on Apache layer while connecting using Keyst
Hi, We are facing an issue while creating the market data session in linux environment. The same application when run on my dvelopment environment, it runs fine. But when deployed in another linux environment, it is getting an exception on Apache layer as follows. Exception in thread "Thread-293"…
-
.Net System.AccessViolationException when calling OMMProvider.Submit on a RespMsg containing a stat
I have a provider which has multiple clients connecting and each requesting a set of RICs. If they overlap (i.e. the 2nd client requests a RIC that the first client is already watching), and the response was a status message (i.e. a price wasn't available), then I attempt to replay a status message using the method below:…
-
Uncaught UnicodeEncodeError on Python 2 in debug statement
In Eikon Python 1.0.1, at eikon.json_requests line 114, there is a call to logger.debug('HTTP Response:{}'.format(response.text)) that is not wrapped in a try: except UnicodeEncodeError call (as is the case with most other calls, see e.g. lines 90-94). If the HTTP request returns a value with a non-ASCII Unicode value this…
-
ema sdk exception problem
Hello, everyone, my application encountered such error from ema sdk, and it can no longer register and receiver RICs. How should I process such error? Many thanks.
-
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…
-
EMA TRCC OmmMemoryExhaustionException
Hi, I'm testing my C++ EMA TRCC application on Linux and periodically I get the following exception while posting (via OmmConsumer::submit) messages (PostMsg): loggerMsg TimeStamp: 2019/03/01 04:19:50.731 ClientName: Consumer_1_1 Severity: Error Text: Internal Error. Failed to allocate RsslTunnelStreamBuffer in…
-
What is causing this exception?
I copied across the Realtime example source code to a new project and this line: Services = DataServices.Instance; Causes the exception below. Any idea how to fix it? I have checked the references and added and replaced each of them without affecting it. On the same machine, in a separate instance of VS 2017, I can run the…
-
Handshake failed due to an unspected packet format
Hi team, I tried the sample code provided previously on a C# console project, which worked. I however found the same set of code not working in a web application project (MVC.Net) when I paste the code in C# controller. I am getting the following error. Pasted the full code below and masked the api key and api secret.…
-
EMA ChannelSet failover
Hi I'm testing NiProvider failover using the <ChannelSet value="Channel_1,Channel_2"/> option. I've intentionally set Channel_1 to an invalid host to force it to failover immediately when I start my application. This appears to work fine and I get a "Login accepted by host message" from Channel_2. However when I attempt to…
-
Exceptions on creating OMMProvider
Hi, our application calls OMMProvider::destroy() and then recreate it using the same name. Upon calling registerClient(), we got this assertion. RFA Internal failure File: ..\..\..\Adapters\RSSL_Prov_Adapter\Impl\RSSL_Prov_ConnectionImpl.cpp Line: 107 Problem: Illegal attempt to re-acquire the same connection instance.…
-
RFA InvalidUsageException when deocode filedlist
Sometime my application crash and RFA throw rfa::common::InvalidUsageException when my RFA application decode FieldList and it calls FieldListReadIterator::start(). Below is call stack: #6 0x00007f2c04da6f6f in rfa::common::InvalidUsageExceptionImpl::throwInvalidUsageExceptionImpl(rfa::common::Exception::CommonErrorType,…
-
I/O exception (java.net.SocketException) occurs while connecting to API and Connection is reset afte
While executing the sample code to connect with REST API getting the below exception- The same code had worked earlier. INFO: I/O exception (java.net.SocketException) caught when processing request to {s}->https://hosted.datascopeapi.reuters.com:443: Connection reset Sep 06, 2017 3:24:39 PM…
-
Changing the name of the item in the get_timeseries() call throws an exception
The following get_timeseries() call to retrieve the S&P 500 index returns proper data: However, if I simply change the name of the item to retrieve Microsoft data, the get_timeseries() call throws an exception. Looking at the details of the above error, it seems there is no data available for MSFT.O. If that is the case,…
-
get_data() throws an exception when specifying certain dates
The scripting API method call: get_date() provides the ability to retrieve historical data using a date range as an optional parameter specification. The following request will return valid rows of data. df,err = tr.get_data('.SPX', ['TR.PriceClose'], parameters={'SDate':'1970-01-01','EDate':'1970-01-04'}) When going back…
-
In com.thomsonreuters.ema.examples.training.consumer.series100.example130__MarketPrice__UserDisp - c
In com.thomsonreuters.ema.examples.training.consumer.series100.example130__MarketPrice__UserDisp - consumer.java class
-
SelectableBiDirectionalQueue.write: failed, execption=null stacktrace=[Ljava.lang.StackTraceElement;
SelectableBiDirectionalQueue.write: failed, execption=null stacktrace=[Ljava.lang.StackTraceElement;@7facead1. When this exception will occur?
-
WebSocket API C# example throws exception with batch request
Using the packaged example application written in C# that fetches a batch of items works based on the small sample data set. However, if I change the sample data set to a moderately sized batch of items, the application throws this exception: Received Log Event (Level: Fatal): WebSocketSharp.WebSocketException: The header…
-
Why the below exception is occuring when I am running EMA 100 snap shot example Exception in thread
Why the below exception is occuring when I am running EMA 100 snap shot example Exception in thread "pool-2-thread-1" java.lang.NullPointerException at com.thomsonreuters.ema.access.OmmBaseImpl.rsslReactorDispatchLoop(OmmBaseImpl.java:986) at com.thomsonreuters.ema.access.OmmBaseImpl.run(OmmBaseImpl.java:1131) at…
-
Exception while subscribing for news
I am writing a consumer application for reading news from EMA , i am getting a below exception loggerMsg TimeStamp: 13:31:51.825 ClientName: ChannelCallbackClient Severity: Success Text: Received ChannelUp event on channel Channel_1 Instance Name Consumer_1_1 Connected component version: ads2.6.11.L1.linux.tis.rrg 64-bit…
-
RSSL_HTTP Channel type leads to HttpChannelConfig cannot be cast to SocketChannelConfig exception
I'm using EMA 3.0.0.L1 in order to connect to Electron. I tried to switch client library to RSSL_HTTP channel type (from standard RSSL_SOCKET) and got an exception from EMA library: Exception in thread "main" java.lang.ClassCastException: com.thomsonreuters.ema.access.HttpChannelConfig cannot be cast to…
-
Disable Error message box in RFA
Hi I'm trying to disable the "RFA Internal Failure" dialog. I would like to replace it with my own exception handling. I have tried to edit my .cfg file according to section 2.8 in the configuration guide and i'm testing by removing the RFA8_MsgFile120_x64.dll file
-
ThomsonReuters.Desktop.SDK.DataAccess.TinyIoCResolutionException while running a .NET Data API app
When I try running my .NET Data API application it fails with the following exception: <ThomsonReuters.Desktop.SDK.DataAccess.TinyIoCResolutionException>: Unable to resolve type: ThomsonReuters.Desktop.SDK.DataAccess.IInternalDataServices What may be the reason for that?
-
Does RFA.NET have methods that don't throw exceptions when a field definition is not found?
RDMFieldDictionary.GetFidDef(fid) throws exceptions when a field definition is not found. I would like to get interfaces that will not thrown exeptions when a field definition is not found.
-
Method not found: 'Common.Logging.ILoggerFactoryAdapter Common.Logging.LogManager.get_Adapter()'.
Attempting to run Website locally, after a successful build of the TNPCarswell Website Project, I am faced with a MissingMethodException regarding the Adapter property Getter (Common.Logging.LogManater.get_Adapter()). Investigating through the Object Browser reveals that I have the latest version of the DLL installed, and…