Clicking on the Events tab hangs Spectrum OneClick

book

Article ID: 140524

calendar_today

Updated On:

Products

CA eHealth CA Spectrum

Issue/Introduction

Clicking on the events tab hangs the Spectrum Oneclick console.  It freezes everything and the console must be killed or closed and restarted.

Cause

A very large varbind in a trap being sent to Spectrum on an EventAdmin or SystemEdge Host model.

Environment

All releases of Spectrum

Resolution

Run jstack against the client pid. 

From the jstack output look for a massive thread allocation for regular expression parsing:

"AWT-EventQueue-2" #68 prio=6 os_prio=0 tid=0x000000001efdb000 nid=0xc2c runnable [0x00000000257eb000]

java.lang.Thread.State: RUNNABLE

at java.util.regex.Pattern$5.isSatisfiedBy(Unknown Source)
at java.util.regex.Pattern$5.isSatisfiedBy(Unknown Source)
at java.util.regex.Pattern$5.isSatisfiedBy(Unknown Source)
at java.util.regex.Pattern$5.isSatisfiedBy(Unknown Source)
at java.util.regex.Pattern$5.isSatisfiedBy(Unknown Source)

This is due to a very large trap varbind being sent to Spectrum on an EventAdmin or SystemEdge host. Since there is additional functionality built into those modeltypes, there are regexp parsers that run. When there is a massive amount of text the parsers need to parse, it hangs the OC gui.

The varbind needs to be cleaned up so that it isn't sending so much text or we need to configure Spectrum so that it doesn't show it.