Can you help explain why we are getting a "nullPointer Exception" on unregisterClient.
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.