Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • TREP APIs /
  • UPA /
avatar image
Question by Sarun · Sep 30, 2019 at 08:12 AM · upaETAtrep api

UPA NIProvider application throws java exception

Hi all,

My name is Sarun from ET 3rd level support. ET product is able to consume MarketByVolume rate from OMM feed. Therefore, ET bank normally writes their own application to feed MarketByVolume rate to ET.

This also applies to the client, the ET bank that implement their feed application based on NIProvider. The Bank (SB) usually mentions that when the application runs for a while, there is an error thrown from UPA.

Therefore, I need a consult from the community for a possible cause. Here is an error shown in the application log.

2019-09-10 09:11:09,049 ERROR [com.sb.ec.upa.runtime.UpaCtxImpl] - Error in call context UpaCtx [error=null]: com.sb.ec.upa.UpaException
2019-09-10 09:11:09,049 ERROR [com.sb.ec.upa.common.UpaChannelSession] - Error encoding message: com.sb.ec.upa.udm.marketbyvolume.VectorPriceUpdateMsg@c75e488 <{}>
2019-09-10 09:11:09,049 ERROR [com.sb.ec.util.concurrent.ConflatingFunnel] - Failed to consume item
com.sb.ec.upa.UpaException: null
    at com.sb.ec.upa.runtime.UpaCtxImpl.throwException(UpaCtxImpl.java:90) ~[SB-upa-2.26.0.jar:?]
    at com.sb.ec.upa.common.UpaChannelSession.write(UpaChannelSession.java:650) ~[SB-upa-2.26.0.jar:?]
    at com.sb.ec.upa.common.UpaChannelSession.send(UpaChannelSession.java:549) ~[SB-upa-2.26.0.jar:?]
    at com.sb.ec.upa.niprovider.NIProvider.lambda$null$4(NIProvider.java:242) ~[SB-upa-2.26.0.jar:?]
    at com.sb.ec.upa.ext.PriceProvider.lambda$null$8(PriceProvider.java:42) ~[SB-upa-2.26.0.jar:?]
    at java.util.Optional.ifPresent(Optional.java:159) ~[?:1.8.0_74]
    at com.sb.ec.upa.ext.PriceProvider.lambda$subscribe$9(PriceProvider.java:37) ~[SB-upa-2.26.0.jar:?]
    at com.sb.ec.pricing.retladderedpublisher.service.Subscription.push(Subscription.java:35) ~[Pricing-RetLadderedPublisher-2.26.0.jar:?]
    at com.sb.ec.pricing.retladderedpublisher.service.SpotFxPriceLadderSource.lambda$start$1(SpotFxPriceLadderSource.java:45) ~[Pricing-RetLadderedPublisher-2.26.0.jar:?]
    at com.sb.ec.util.concurrent.ConflatingFunnel.notifyListener(ConflatingFunnel.java:143) ~[Pricing-Common-5.5.0.jar:?]
    at com.sb.ec.util.concurrent.ConflatingFunnel.consumeWaitingItem(ConflatingFunnel.java:135) ~[Pricing-Common-5.5.0.jar:?]
    at com.sb.ec.util.concurrent.ConflatingFunnel.consumeWaitingItem(ConflatingFunnel.java:126) ~[Pricing-Common-5.5.0.jar:?]
    at com.sb.ec.util.concurrent.ConflatingFunnel.consumeWaitingItems(ConflatingFunnel.java:112) ~[Pricing-Common-5.5.0.jar:?]
    at com.sb.ec.util.concurrent.ConflatingFunnel.access$000(ConflatingFunnel.java:18) ~[Pricing-Common-5.5.0.jar:?]
    at com.sb.ec.util.concurrent.ConflatingFunnel$1.run(ConflatingFunnel.java:98) ~[Pricing-Common-5.5.0.jar:?]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_74]



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 wasin.waeosri · Sep 30, 2019 at 09:16 AM

Hello @Sarun

The given exception message seems to be generated from the application source code, not the ETA API. The "com.sb.ec" package is not official UPA/ETA API package (ETA package is "com.thomsonreuters.upa").

Does the application use a modification of ETA open source code? Please confirm with the client.

Please note that the client can submit a ticket to Development team directly via GitHub issue page.

Comment
Sarun

People who like this

1 Show 3 · 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
Sarun · Oct 08, 2019 at 04:02 AM 0
Share

Hi @Wasin, Thanks for looking into this. Yes, the client implement the application on top of UPA package. Therefore, the package name is arranged as com.sb.ec.

avatar image
sutthipong.lertmanorat · Oct 09, 2019 at 01:34 PM 0
Share

Hi All

My concern is my customer wouldn't want to reveal source code on that github page. Please advise the proper support channel where I can upload customer's source code.

regards,
Tor.

avatar image
sutthipong.lertmanorat · Oct 09, 2019 at 01:40 PM 0
Share
private void consumeWaitingItem(final T item, final int producerId) {
if (item == null) {
return;
}
try {
notifyListener(item, producerId);
}
catch (final Exception ex) {
LOG.error("Failed to consume item", ex);
}
}
avatar image
REFINITIV
Answer by moragodkrit.chumsri_1 · Oct 01, 2019 at 01:26 AM

@Sarun

MarketByVolume seems to be data from Matching Server so I guess that client currently uses MAPI or Matching API provided by transaction dev team and they do not use UPA API directly so you should contact MAPI support team instead.

Comment
Sarun

People who like this

1 Show 1 · 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
Sarun · Oct 08, 2019 at 03:49 AM 0
Share

Hi Morahodkrit,

Thanks for your suggestion. However, it is by designed that the ET application consume the MarketByVolume data. It does not come from Matching Server, but it is client generated price. Therefore, it is advised to use UPA from the beginning.


avatar image
REFINITIV
Answer by zoya.farberov · Oct 29, 2019 at 08:08 PM

Hello @Sarun,

This forum is dedicated to general questions and discussions of Refintiiv API.

If we can guide a customer to a solution within the format of the forum, we, moderators of this forum, always strive to help.

In the case if a customer needs an in-depth review of their code, reproduction of an issue within a long-running application, or exchange of a private information, this type of scenario can be best addressed by Refinitiv Premium Support, also known as Refinitiv Developer Connect.

If the customer is already a member of RDC, please advise them to have their RDC users to open a premium support case providing all the relevant information, and a dedicated API expert will be assigned to work on the support case.

If they are not, please have the contact their Refinitiv account team about becoming an RDC member.

I hope these details are of help.

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 >
10 People are following this question.

Related Questions

I am trying to get D4=INR data and INR=TRB data, how will I get this data? which api should I use to parse this data?

Crash in rsslFlush function in debugger

RSSL STATE Message and How do we handle RSSL_STREAM_UNSPECIFIED?

Fragmenting Fields across messages

UPA - loading field dictionary & enumtypes

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • 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
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges