question

Upvotes
Accepted
3 4 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

Upvotes
Accepted
1.9k 7 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 512.0 KiB each and 1.0 MiB total.