question

Upvotes
Accepted
3 5 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.

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.