Bug #3117
closedThe refresh button function in source window was messed up by a KeplerSlaveNode entry in the registry
0%
Description
By accident, I left a KeplerSlaveNode entry in the ecogrid registry. However when click refresh button in source window (you can click source button on data search panel to get), nothing will show up and here is the error:
ERROR (org.ecoinformatics.seek.ecogrid.SearchRegistryAction:queryRegistryRewriteConfig:227) problem merging new services with existing services
[java] org.ecoinformatics.seek.ecogrid.exception.InvalidEcoGridServiceException: The service type is invalid or null: KeplerSlaveNode. Couldn't be added to list
[java] at org.ecoinformatics.seek.ecogrid.EcoGridServicesController.addService(EcoGridServicesController.java:187)
[java] at org.ecoinformatics.seek.ecogrid.EcoGridServicesController.mergeServicesList(EcoGridServicesController.java:377)
[java] at org.ecoinformatics.seek.ecogrid.SearchRegistryAction.queryRegistryRewriteConfig(SearchRegistryAction.java:224)
[java] at org.ecoinformatics.seek.ecogrid.ServicesRefreshAction.actionPerformed(ServicesRefreshAction.java:39)
[java] at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
[java] at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
[java] at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
[java] at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
[java] at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
[java] at java.awt.Component.processMouseEvent(Component.java:5501)
[java] at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
[java] at java.awt.Component.processEvent(Component.java:5266)
[java] at java.awt.Container.processEvent(Container.java:1966)
[java] at java.awt.Component.dispatchEventImpl(Component.java:3968)
[java] at java.awt.Container.dispatchEventImpl(Container.java:2024)
[java] at java.awt.Component.dispatchEvent(Component.java:3803)
[java] at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
[java] at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
[java] at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
[java] at java.awt.Container.dispatchEventImpl(Container.java:2010)
[java] at java.awt.Window.dispatchEventImpl(Window.java:1778)
[java] at java.awt.Component.dispatchEvent(Component.java:3803)
[java] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
[java] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
[java] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
[java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
[java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
[java] at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
After I deleting this entry, the everything works fine.
Updated by ben leinfelder almost 17 years ago
added exception handling when merging registry list so that invalid entries do not invalidate the entire operation