Null Pointer Exception on unregisterClient

robert_hau
robert_hau Explorer

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

image

Tagged:

Best Answer

  • 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.

    image