We appear to have received a lot of RIC updates at around 08:22 CET which didn't contain a state....

...can you please check why those updates were sent?
Logs:
2023-03-21 08:22:57.861 CET prd_reuters_elektron@SEB-PROD <warning>: Can't decode Status MarketPrice GBPSEK= @ 23 Exception Type='OmmInvalidUsageException', Text='Attempt to getState() while it is NOT set.', ErrorCode='-4048'
2023-03-21 08:22:57.864 CET prd_reuters_elektron@SEB-PROD <warning>: Can't decode Status MarketPrice EURSEK= @ 23 Exception Type='OmmInvalidUsageException', Text='Attempt to getState() while it is NOT set.', ErrorCode='-4048'
2023-03-21 08:22:57.867 CET prd_reuters_elektron@SEB-PROD <warning>: Can't decode Status MarketPrice EURNOK= @ 23 Exception Type='OmmInvalidUsageException', Text='Attempt to getState() while it is NOT set.', ErrorCode='-4048'
2023-03-21 08:22:57.875 CET prd_reuters_elektron@SEB-PROD <warning>: Can't decode Status MarketPrice EURJPY= @ 23 Exception Type='OmmInvalidUsageException', Text='Attempt to getState() while it is NOT set.', ErrorCode='-4048'
2023-03-21 08:22:57.880 CET prd_reuters_elektron@SEB-PROD <warning>: Can't decode Status MarketPrice GBP= @ 23 Exception Type='OmmInvalidUsageException', Text='Attempt to getState() while it is NOT set.', ErrorCode='-4048'
2023-03-21 08:22:57.890 CET prd_reuters_elektron@SEB-PROD <warning>: Can't decode Status MarketPrice SEK= @ 23 Exception Type='OmmInvalidUsageException', Text='Attempt to getState() while it is NOT set.', ErrorCode='-4048'
2023-03-21 08:22:57.895 CET prd_reuters_elektron@SEB-PROD <warning>: Can't decode Status MarketPrice MAD= @ 23 Exception Type='OmmInvalidUsageException', Text='Attempt to getState() while it is NOT set.', ErrorCode='-4048'
2023-03-21 08:22:57.895 CET prd_reuters_elektron@SEB-PROD <warning>: Can't decode Status MarketPrice NZD= @ 23 Exception Type='OmmInvalidUsageException', Text='Attempt to getState() while it is NOT set.', ErrorCode='-4048'
2023-03-21 08:22:57.900 CET prd_reuters_elektron@SEB-PROD <warning>: Can't decode Status MarketPrice BWP= @ 23 Exception Type='OmmInvalidUsageException', Text='Attempt to getState() while it is NOT set.', ErrorCode='-4048'
2023-03-21 08:22:57.912 CET prd_reuters_elektron@SEB-PROD <warning>: Can't decode Status MarketPrice EURKES= @ 23 Exception Type='OmmInvalidUsageException', Text='Attempt to getState() while it is NOT set.', ErrorCode='-4048'
2023-03-21 08:22:58.089 CET prd_reuters_elektron@SEB-PROD <warning>: Can't decode Status MarketPrice EURDKK= @ 23 Exception Type='OmmInvalidUsageException', Text='Attempt to getState() while it is NOT set.', ErrorCode='-4048'
2023-03-21 08:22:58.116 CET prd_reuters_elektron@SEB-PROD <warning>: Can't decode Status MarketPrice NOK= @ 23 Exception Type='OmmInvalidUsageException', Text='Attempt to getState() while it is NOT set.', ErrorCode='-4048'
2023-03-21 08:22:58.119 CET prd_reuters_elektron@SEB-PROD <warning>: Can't decode Status MarketPrice KWD= @ 23 Exception Type='OmmInvalidUsageException', Text='Attempt to getState() while it is NOT set.', ErrorCode='-4048'
Best Answer
-
Thanks for reaching out to us.
The exception indicates that the code is trying the access the state data (getState()) but the state data is not available in the status message.
A status message can convey changes in the stream state or data state, changes in a stream’s permissioning information, or changes to the item group of which the stream is a part.
Therefore, the application needs to check the presence of state data before accessing it.
The code looks like this:
if (statusMsg.hasState()) {
const OmmState& state = statusMsg.getState();
}I hope that this information is of help.
0
Answers
-
Hi @Jirapongse Thank you for the detailed explanation, But I still don't quite understand, May I know what causes those messages to be sent?
0 -
You need to check what information contains in those status messages.
Otherwise, you may contact the server support team to check if there was an incident at that time.
0 -
Hi @Jirapongse it is pointed out in our documentation that it’s not required to send state Status messages. However, the logs don’t say if this was a status message or a refresh, or similar.
May I know the possible reason for this? Looking forward to your reply.
0 -
The log only shows the OmmInvalidUsageException exceptions when calling the getState() method. It doesn't provide any additional information.
If it is not a state change, it could be an item group change.
It is a status message because the state is a required property in a refresh message. Moreover, the log indicates that it is a status message.
2023-03-21 08:22:57.895 CET prd_reuters_elektron@SEB-PROD <warning>: Can't decode Status MarketPrice MAD= @ 23 Exception Type='OmmInvalidUsageException', Text='Attempt to getState() while it is NOT set.', ErrorCode='-4048'
0 -
@Jirapongse Thank you so much for actively assisting me with this, We have checked with our server support team and there are no issues, May I know how will we check what information contains in those status messages?0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 685 Datastream
- 1.4K DSS
- 615 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 252 ETA
- 556 WebSocket API
- 38 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 652 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 193 TREP Infrastructure
- 228 TRKD
- 917 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛