question

Upvotes
Accepted
3 1 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 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
1.9k 6 9 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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea