REST calls fail with "500: Internal Server Error" using webservices_rest 8.43.

Document ID : KB000004274
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

Acknowledge alarm and get alarm summary REST calls fail with  "500: Internal Server Error" with webservices_rest 8.43.

 

 

Steps to reproduce:

1. on UIM 8.4 deploy  webservices_rest 8.43 (or Deploy UIM84sp2)

2. /rest/version-info shows 8.4.3 

3. Using a rest client, create an alarm [ URL: UMPserver/rest//alarms/createAlarm | METHOD: Post XML ]

4. Call Returns: 200 OK - Alarm is created.

5. Get Alarm summary via rest call: [URL: rest/alarms/summary | Method get]

     Returns: "500: Internal Server Error"

 

</head><body><h1>HTTP Status 500 - java.lang.NoSuchMethodError: com.nimsoft.events.api.util.UimUtils.getHubBasedProbeAddress(Ljava/lang/String;)Ljava/lang/String;</h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u>java.lang.NoSuchMethodError: com.nimsoft.events.api.util.UimUtils.getHubBasedProbeAddress(Ljava/lang/String;)Ljava/lang/String;</u></p><p><b>description</b> <u>The server encountered an internal error that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>javax.servlet.ServletException: java.lang.NoSuchMethodError: com.nimsoft.events.api.util.UimUtils.getHubBasedProbeAddress(Ljava/lang/String;)Ljava/lang/String; 

 

6. Aknowledge the alarm: [/alarms/{alarmid}/ack | METHOD Put]

 

    Returns: "500: Internal Server Error"

Environment:
UIM 8.4.xwebservices_rest 8.43
Cause:

This is a known issue with webservices_rest 8.43 and it has been fixed in webservices_rest 8.4.7

Resolution:

To fix this issue upgrade to webservices_rest 8.47 which includes the fix for this issue.

Webservices_rest 8.47 can be deployed on UIM 8.4.x and UIM 8.47

 

 

 
Additional Information:

Download the webservices_rest version 8.47:

http://support.nimsoft.com/Files/Archive/00263/webservices_rest-8.4.7.zip