SOI Alerts are published with Alert Title "Error formatting event <event type>java.lang.NullPointerException" and Summary "Error getting probable cause text for &lt;event type&gt;"
search cancel

SOI Alerts are published with Alert Title "Error formatting event <event type>java.lang.NullPointerException" and Summary "Error getting probable cause text for &lt;event type&gt;"

book

Article ID: 48299

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

Description:

With Spectrum IM Connector 4.0.0.68 and Spectrum 9.3 one may see Alerts on SOI console which has the message "Error getting probable cause text for <event type> in the Alert Summary. This is seen for environments with Language Settings other then english (United States).

Solution:

Actually there is an issue with Spectrum 9.3 where if client has other that en_US and requesting for pcause through URL, it is not returning results.

In case of the Connector the language settings will be taken from OS settings or by default Java is setting to US or none.

The following configuration in the SAM-IntegrationServices.conf resolves this problem.

The Windows - Control Panel - Regional and Language Settings - Administrative - System Local must be English (United States)

Open SOI/jsw/conf/ SAM-IntegrationServices.conf

Go to additional section (search for word 'wrapper.java.additional')
Add a new line

wrapper.java.additional.n=-Duser.language=EN
wrapper.java.additional.n=-Duser.country=US

*'n' is important here and depends on existing sequence.

Save the configuration and restart SAM integration service

To verify the modification is successful, you can run ProcessExplorer and right click to the java.exe process of the Spectrum IM Connector and select properties.

The LANG value in this ProcessExplorer Properties must show as en_US.UTF-8

Environment

Release: SPDBIP99000-9.3-Spectrum-Device Based Suite-IP Services Manager
Component:

Cause

Actually there is an issue with Spectrum 9.3 where if client has other that en_US and requesting for pcause through URL, it is not returning results.

In case of the Connector the language settings will be taken from OS settings or by default Java is setting to US or none.

Resolution

The following configuration in the SAM-IntegrationServices.conf resolves this problem.

The Windows - Control Panel - Regional and Language Settings - Administrative - System Local must be English (United States)

Open SOI/jsw/conf/ SAM-IntegrationServices.conf

Go to additional section (search for word 'wrapper.java.additional')
Add a new line

wrapper.java.additional.n=-Duser.language=EN
wrapper.java.additional.n=-Duser.country=US

*'n' is important here and depends on existing sequence.

Save the configuration and restart SAM integration service

To verify the modification is successful, you can run ProcessExplorer and right click to the java.exe process of the Spectrum IM Connector and select properties.

The LANG value in this ProcessExplorer Properties must show as en_US.UTF-8