sdgtw 2.26 probe - Exception in making the connection to MDR:java.lang.NullPointerException
search cancel

sdgtw 2.26 probe - Exception in making the connection to MDR:java.lang.NullPointerException

book

Article ID: 233066

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

After upgrading sdgtw probe to 2.26 the test connection fails validation. It was working fine on the prior version

 

sdgtw 2.26 breaks authentication with ServiceNow instance.

Reverting back to a previous version resolved the issue

Error in sdgtw.log

[attach_socket, sdgtw] Exception in making the connection to MDR:java.lang.NullPointerException 
 at com.nimsoft.probe.gateway.sdgtw.SDGtwProbe.validateConnectionDetailsWithoutUpdating(SDGtwProbe.java:1743) 
 at com.nimsoft.probe.gateway.sdgtw.SDGtwCallbackHandler.validateSDConnection(SDGtwCallbackHandler.java:168) 
 at com.nimsoft.probe.gateway.sdgtw.SDGtwCallbackHandler.handleCtdCallback(SDGtwCallbackHandler.java:99) 
 at com.nimsoft.probe.common.ctd.AbstractCtdProbeCallbackHandler.cbHandleCtdCallback(AbstractCtdProbeCallbackHandler.java:809) 
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
 at java.lang.reflect.Method.invoke(Method.java:498) 
 at com.nimsoft.nimbus.NimServerSession$NimServerSessionThread.performCallback(NimServerSession.java:225) 
 at com.nimsoft.nimbus.NimServerSession$NimServerSessionThread.handleMessage(NimServerSession.java:178) 
 at com.nimsoft.nimbus.NimServerSession$NimServerSessionThread.run(NimServerSession.java:123) 

 

Environment

Release : 20.3, 20.4

Component : UIM - SDGTW

Cause

defect in sdgtw 2.26

Resolution

Remove the ending backlash("/") from the urls in the sdgtw profiles

Example:

From

URL = https://<xxxx.service-now.com>/
ServiceNowClientURL = https://<xxxx.service-now.com>/

To

URL = https://<xxxx.service-now.com>
ServiceNowClientURL = https://<xxxx.service-now.com>

Note: The next sdgtw release will have the fix to support the backslash at the end of the URL.