When we open Workstation Management Module Editor, it is not showing existing management modules. We are observing this issue when we are connecting to our production APM cluster. When we use the same workstation, and we connect to another pre production APM cluster, Workstation is displaying existing management modules good. Also, In the webview, under management tab it is showing the existing management modules good.
The workstation log shows following exceptions:
[ERROR] [Workstation] Typeview Error for class com.wily.introscope.workstation.mmeditor.search.ConstructSearchTypeViewer
java.lang.NullPointerException
at com.wily.introscope.console.thornhill.ui.ConstructTableModel.getRowDataForConstruct(ConstructTableModel.java:233)
at com.wily.introscope.console.thornhill.ui.ConstructTableModel.addConstructsToTableModelAsync(ConstructTableModel.java:265)
at com.wily.introscope.console.thornhill.ui.ConstructTableModel.noticeConstructsAvailableAsync(ConstructTableModel.java:332)
at com.wily.introscope.console.thornhill.ui.ConstructTableModel$ConstructListener.basketablesAvailable(ConstructTableModel.java:427)
at com.wily.introscope.workstation.mmeditor.search.ConstructSearchTypeViewer$FilteringBasketListener.basketablesAvailable(ConstructSearchTypeViewer.java:355)
at com.wily.util.event.ARewindingBasket$RewindBasketableRunnable.run(ARewindingBasket.java:739)
at com.wily.util.event.SynchronousExecutor.execute(SynchronousExecutor.java:10)
at com.wily.util.event.ARewindingBasket.addBroadcastListenerWithRewind(ARewindingBasket.java:335)
at com.wily.util.event.ARewindingBasket.addBroadcastListenerWithRewind(ARewindingBasket.java:303)
at com.wily.introscope.console.thornhill.manager.AGizmoTrackingManager.addBroadcastListenerWithRewind(AGizmoTrackingManager.java:355)
at com.wily.introscope.workstation.mmeditor.search.ConstructSearchTypeViewer.listenForItems(ConstructSearchTypeViewer.java:180)
at com.wily.introscope.workstation.mmeditor.search.ConstructSearchTypeViewer.displayItem(ConstructSearchTypeViewer.java:209)
at com.wily.introscope.console.thornhill.ui.investigator.TypeViewerContainer$TypeViewerPanel.displayItem(TypeViewerContainer.java:473)
at com.wily.introscope.console.thornhill.ui.investigator.TypeViewerContainer.setItem(TypeViewerContainer.java:378)
at com.wily.introscope.console.thornhill.ui.manager.ManagerPanel.setItem(ManagerPanel.java:295)
at com.wily.introscope.console.thornhill.ui.manager.ItemEditorPanel.setItem(ItemEditorPanel.java:172)
at com.wily.introscope.console.thornhill.ui.manager.ItemEditorPanel$SelectionChangeListener.ISelectionChangeListener_selectionChanged(ItemEditorPanel.java:370)
at com.wily.ui.selection.SelectionBroker.notifySelectionChanged(SelectionBroker.java:280)
at com.wily.ui.selection.SelectionBroker.setCurrentSelectionAndNotify(SelectionBroker.java:248)
at com.wily.ui.selection.SelectionBroker.handleQueuedSelectionChange(SelectionBroker.java:224)
at com.wily.ui.selection.SelectionBroker.triggerProcessQueuedSelectionChanges(SelectionBroker.java:188)
at com.wily.ui.selection.SelectionBroker.overwriteCurrentSelection(SelectionBroker.java:164)
at com.wily.introscope.console.thornhill.ui.manager.ManagerTree.noticeSelectedItemsChanged(ManagerTree.java:579)
at com.wily.introscope.console.thornhill.ui.manager.ManagerTree.noticeSelectedItemsChanged(ManagerTree.java:558)
at com.wily.introscope.console.thornhill.ui.manager.ManagerTree.access$10(ManagerTree.java:552)
at com.wily.introscope.console.thornhill.ui.manager.ManagerTree$TreeSelectionListenerAdapter.valueChanged(ManagerTree.java:1046)
at javax.swing.JTree.fireValueChanged(JTree.java:2927)
at javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:3391)
at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:635)
at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1093)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:294)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTreeSelectionModel.java:188)
at javax.swing.JTree.setSelectionPath(JTree.java:1634)
at com.wily.introscope.console.thornhill.ui.manager.ManagerTree.selectNodeSync(ManagerTree.java:438)
at com.wily.introscope.console.thornhill.ui.manager.ManagerTree$2.run(ManagerTree.java:409)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
11/18/20 10:20:14 AM CET [ERROR] [Workstation] Typeview Error for class com.wily.introscope.workstation.mmeditor.search.ConstructSearchTypeViewer
java.lang.NullPointerException
at com.wily.introscope.console.thornhill.ui.ConstructTableModel.getRowDataForConstruct(ConstructTableModel.java:233)
at com.wily.introscope.console.thornhill.ui.ConstructTableModel.addConstructsToTableModelAsync(ConstructTableModel.java:265)
at com.wily.introscope.console.thornhill.ui.ConstructTableModel.noticeConstructsAvailableAsync(ConstructTableModel.java:332)
at com.wily.introscope.console.thornhill.ui.ConstructTableModel$ConstructListener.basketablesAvailable(ConstructTableModel.java:427)
at com.wily.introscope.workstation.mmeditor.search.ConstructSearchTypeViewer$FilteringBasketListener.basketablesAvailable(ConstructSearchTypeViewer.java:355)
at com.wily.util.event.ARewindingBasket$RewindBasketableRunnable.run(ARewindingBasket.java:739)
at com.wily.util.event.SynchronousExecutor.execute(SynchronousExecutor.java:10)
at com.wily.util.event.ARewindingBasket.addBroadcastListenerWithRewind(ARewindingBasket.java:335)
at com.wily.util.event.ARewindingBasket.addBroadcastListenerWithRewind(ARewindingBasket.java:303)
at com.wily.introscope.console.thornhill.manager.AGizmoTrackingManager.addBroadcastListenerWithRewind(AGizmoTrackingManager.java:355)
at com.wily.introscope.workstation.mmeditor.search.ConstructSearchTypeViewer.listenForItems(ConstructSearchTypeViewer.java:180)
at com.wily.introscope.workstation.mmeditor.search.ConstructSearchTypeViewer.displayItem(ConstructSearchTypeViewer.java:209)
at com.wily.introscope.console.thornhill.ui.investigator.TypeViewerContainer$TypeViewerPanel.displayItem(TypeViewerContainer.java:473)
at com.wily.introscope.console.thornhill.ui.investigator.TypeViewerContainer.setItem(TypeViewerContainer.java:378)
at com.wily.introscope.console.thornhill.ui.manager.ManagerPanel.setItem(ManagerPanel.java:295)
at com.wily.introscope.console.thornhill.ui.manager.ManagerPanel$SelectionChangeListener.ISelectionChangeListener_selectionChanged(ManagerPanel.java:343)
at com.wily.ui.selection.SelectionBroker.notifySelectionChanged(SelectionBroker.java:280)
at com.wily.ui.selection.SelectionBroker.setCurrentSelectionAndNotify(SelectionBroker.java:248)
at com.wily.ui.selection.SelectionBroker.handleQueuedSelectionChange(SelectionBroker.java:224)
at com.wily.ui.selection.SelectionBroker.triggerProcessQueuedSelectionChanges(SelectionBroker.java:188)
at com.wily.ui.selection.SelectionBroker.overwriteCurrentSelection(SelectionBroker.java:164)
at com.wily.introscope.console.thornhill.ui.manager.ManagerTree.noticeSelectedItemsChanged(ManagerTree.java:579)
at com.wily.introscope.console.thornhill.ui.manager.ManagerTree.noticeSelectedItemsChanged(ManagerTree.java:558)
at com.wily.introscope.console.thornhill.ui.manager.ManagerTree.access$10(ManagerTree.java:552)
at com.wily.introscope.console.thornhill.ui.manager.ManagerTree$TreeSelectionListenerAdapter.valueChanged(ManagerTree.java:1046)
at javax.swing.JTree.fireValueChanged(JTree.java:2927)
at javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:3391)
at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:635)
at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1093)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:294)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTreeSelectionModel.java:188)
at javax.swing.JTree.setSelectionPath(JTree.java:1634)
at com.wily.introscope.console.thornhill.ui.manager.ManagerTree.selectNodeSync(ManagerTree.java:438)
at com.wily.introscope.console.thornhill.ui.manager.ManagerTree$2.run(ManagerTree.java:409)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
11/18/20 10:20:14 AM CET [DEBUG] [Workstation.Login] User action reported: java.awt.event.MouseEvent[MOUSE_EXITED,(83,12),absolute(128,206),button=0,clickCount=0] on com.wily.ui.jhotdraw.FigureComponent[,21,48,95x31,alignmentX=0.0,alignmentY=0.0,border=,flags=0,maximumSize=,minimumSize=,preferredSize=]
11/18/20 10:20:14 AM CET [DEBUG] [Workstation.Login] User action reported: java.awt.event.MouseEvent[MOUSE_ENTERED,(73,69),absolute(128,206),button=0,clickCount=0] on com.wily.introscope.console.thornhill.ui.manager.ManagerTree[,0,0,267x663,alignmentX=0.0,alignmentY=0.0,border=,flags=16777576,maximumSize=,minimumSize=,preferredSize=,editable=false,invokesStopCellEditing=false,largeModel=false,rootVisible=false,rowHeight=18,scrollsOnExpand=true,showsRootHandles=true,toggleClickCount=2,visibleRowCount=20]
Release : 10.7.0
Component : APM ISP
Restarted the MOM EM without editing any of the Management Modules or making any other changes, and now the Workstation Management Editor starts functioning good.