question

Upvotes
Accepted
1.2k 23 28 42

IllegalStateException on OMMConnectionIntSpec

With a non-interactive RFA/Java provider trying to register a OMMConnectionIntSpec before sending a login request yields the following exception:

Exception in thread "main" java.lang.IllegalStateException: Must register OMMErrorIntSpec after Login request or OMMActiveClientSessionIntSpec
	at com.reuters.rfa.internal.session.ommp.OMMProviderImpl.registerClient(Unknown Source)

Also, similarly OMMConnectionStatsIntSpec raises the same exception.

The exception text should be updated appropriately to cover these two new subscriptions.

treprfarfa-api
icon clock
10 |1500

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

1 Answer

Upvote
Accepted
9.5k 10 5 7

I can reproduce the problem on the latest RFAJ(8.0.1.E1). RFAJ always throws "Must register OMMErrorIntSpec after Login request or OMMActiveClientSessionIntSpec" regardless OMMConnectionStatsIntSpec or OMMConnectionIntSpec is registered. Your feedback will be passed to the development team. Anyway, to avoid this exception, please make sure that you register them after sending a login request.

icon clock
10 |1500

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

Click below to post an Idea Post Idea