REST API DELETE association returns HTTP 500 Internal Server Error
search cancel

REST API DELETE association returns HTTP 500 Internal Server Error

book

Article ID: 450453

calendar_today

Updated On:

Products

Network Observability

Issue/Introduction

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.

Environment

  • Product: DX NetOps Spectrum
  • Version: 25.4.9, 25.4.10
  • Component: REST API / OneClick 

Cause

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.

Resolution

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