Server Management - Systems Insight Manager
1833827 Members
2055 Online
110063 Solutions
New Discussion

Re: NullPointerException when attempting "Device by Name" query

 
Andrew Doble
Occasional Advisor

NullPointerException when attempting "Device by Name" query

Since upgrading to SP2.3, we are having problems editing/creating specific queries.

When attempting to edit an existing, or create a new query, using Device(s) by Name - clicking on the hyperlink "name" causes the Criteria Configuration window is displayed.

It displays the message "Please wait, loading data..."

However the Java Console shows:

java.lang.NullPointerException

at compaq.ui.Utility.TreeSorter.qPartition(TreeSorter.java:144)

at compaq.ui.Utility.TreeSorter.qSort(TreeSorter.java:117)

at compaq.ui.Utility.TreeSorter.sortVectorOfDMTNodes(TreeSorter.java:105)

at compaq.ui.Utility.TreeSorter.sort(TreeSorter.java:86)

at compaq.ui.FilterDisplayer.criteria.DeviceByName.DeviceByNamePanel.setTreeData(DeviceByNamePanel.java:200)

at compaq.ui.FilterDisplayer.criteria.DeviceByName.DeviceByNameDisplayer.initializeTree(DeviceByNameDisplayer.java:81)

at compaq.ui.FilterDisplayer.criteria.DeviceByName.DeviceNameDataObject.eventOccurred(DeviceNameDataObject.java:350)

at compaq.Automation.InterconnectEngine$listenerWrapper.run(InterconnectEngine.java:791)

at compaq.Utility.CachedThread.run(ThreadCache.java:745)
2 REPLIES 2
Rob Buxton
Honored Contributor

Re: NullPointerException when attempting "Device by Name" query

Whenever I have Java issues the first thing I do is clear all of the Java Caches. I go to Control Pannel and double click each Java entry and clear the cache.

Failing that you may want to try for a clean install of the JRE, in which case you'd delete all of the JRE's and let IM reinstall the one it wants.



Andrew Doble
Occasional Advisor

Re: NullPointerException when attempting "Device by Name" query

Thanks for the reply, Rob. Unfortunately it didn't resolve the problem.

I have noticed that the exception logged above only occurs when creating a new query. If I attempt to edit an existing query's "device by name" condition I receive:

Fired off request event from DeviceNameDataObject.getData()

java.lang.NullPointerException

at compaq.ui.FilterDisplayer.criteria.DeviceByName.DeviceNameDataObject.checkSavedObjects(DeviceNameDataObject.java:257)

at compaq.ui.FilterDisplayer.criteria.DeviceByName.DeviceNameDataObject.eventOccurred(DeviceNameDataObject.java:348)

at compaq.Automation.InterconnectEngine$listenerWrapper.run(InterconnectEngine.java:791)

at compaq.Utility.CachedThread.run(ThreadCache.java:745)

Note: This problem not just happening on my workstation, but any of my colleagues' computers.