When you issue a REST API DELETE call to remove a device association from a network container, the API returns an HTTP 500 Internal Server Error. You observe that despite the error message, the association is successfully removed from the SpectroSERVER and is no longer visible in the OneClick topology or via subsequent GET requests.
This issue occurs due to a code regression introduced during a refactor of the AssociationServlet. After the association is successfully destroyed, the system unconditionally attempts to retrieve an error message from a null object. This triggers a NullPointerException (NPE) in the backend Tomcat logs, which the servlet then maps to a generic HTTP 500 status code.
This issue is a reporting bug in the API response phase; the underlying data operation completes successfully.
This issue is targeted to be fixed in release 25.4.11.0.