question

Upvotes
Accepted
3 6 4 5

Null Pointer Exception on unregisterClient

Can you help explain why we are getting a "nullPointer Exception" on unregisterClient.

treprfarfa-apijava
capture.png (13.3 KiB)
icon clock
10 |1500

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

Dear @robert_hau,

Normally Developer Community Forum is for how-to/general questions but this question seems to be complex and requires a deep investigation e.g. check the error stack trace. To reach the API support team directly, please contact one of your colleagues (sent to you via email separately), who is a premium user and can submit a ticket to us directly via Premium Support. If you would like to be a premium user, please send an email to rdc.administrator@thomsonreuters.com

Edit: we have removed all named users from this response and sent to you via email instead.

Case 06712501 has been created for this question.

1 Answer

· Write an Answer
Upvotes
Accepted
1.9k 7 10 16

After the investigation, the application calls Consumer.destroy(); method before Consumer.unregisterClient() is invoked, which can cause the NullPointerException problem.

According to the RFA Developer Guide, an application should clean up in opposite order they are created/initialize.


icon clock
10 |1500

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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