If a device properly sends a Bye-message on shutdown, remaining data is not cleaned up properly in the client. The leads to ClassCastExceptions in the DefaultReportProvider (trying to cast from the different ContextState-types (DefaultBICEPSLocationContext a.s.o.) to an MDIBObjectLifeCycleListener).
If the Exception is thrown, the entire BICPESClient seems to block or fail, requiring a restart of the java application..
Could you add a stack trace to the ticket?
This is just one device (hmi) that also uses the client api started and closed. Search for devices may be triggered periodically (20sec interval).
stack trace:
see https://sourceforge.net/p/opensdc/bicep_git/ci/93b88e651a4750b5ba5873318834ef234b6a7fc9