[kepler-users] exception thrown when open workflow file

Derik Barseghian barseghian at nceas.ucsb.edu
Fri Jun 19 12:39:45 PDT 2009


Hi Chris,

We're seeing this here too. Until we get it figured out, you might try  
reverting to revision 19343, which  works for me:

cd build-area/;
ant update -Drev=19343

Derik

On Jun 19, 2009, at 11:54 AM, Chris Weed wrote:

> Everytime I try to open a workflow I created I get the following:
> java.lang.ClassCastException: org.geon.BrowserDisplay
> 	at  
> org 
> .kepler 
> .gui 
> .OntologyTreeCellRenderer 
> .getTreeCellRendererComponent(AnnotatedPTree.java:357)
> 	at javax.swing.plaf.basic.BasicTreeUI 
> $NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:2693)
> 	at  
> javax 
> .swing 
> .tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java: 
> 475)
> 	at javax.swing.tree.VariableHeightLayoutCache 
> $TreeStateNode.updatePreferredSize(VariableHeightLayoutCache.java: 
> 1342)
> 	at javax.swing.tree.VariableHeightLayoutCache 
> $TreeStateNode.getPreferredWidth(VariableHeightLayoutCache.java:1159)
> 	at  
> javax 
> .swing 
> .tree 
> .VariableHeightLayoutCache 
> .getMaxNodeWidth(VariableHeightLayoutCache.java:990)
> 	at  
> javax 
> .swing 
> .tree 
> .VariableHeightLayoutCache 
> .getPreferredWidth(VariableHeightLayoutCache.java:291)
> 	at  
> javax 
> .swing 
> .plaf.basic.BasicTreeUI.updateCachedPreferredSize(BasicTreeUI.java: 
> 1743)
> 	at  
> javax.swing.plaf.basic.BasicTreeUI.getPreferredSize(BasicTreeUI.java: 
> 1901)
> 	at  
> javax.swing.plaf.basic.BasicTreeUI.getPreferredSize(BasicTreeUI.java: 
> 1889)
> 	at javax.swing.JComponent.getPreferredSize(JComponent.java:1624)
> 	at  
> javax.swing.ScrollPaneLayout.layoutContainer(ScrollPaneLayout.java: 
> 769)
> 	at java.awt.Container.layout(Container.java:1401)
> 	at java.awt.Container.doLayout(Container.java:1390)
> 	at java.awt.Container.validateTree(Container.java:1473)
> 	at java.awt.Container.validateTree(Container.java:1480)
> 	at java.awt.Container.validateTree(Container.java:1480)
> 	at java.awt.Container.validateTree(Container.java:1480)
> 	at java.awt.Container.validateTree(Container.java:1480)
> 	at java.awt.Container.validateTree(Container.java:1480)
> 	at java.awt.Container.validateTree(Container.java:1480)
> 	at java.awt.Container.validateTree(Container.java:1480)
> 	at java.awt.Container.validateTree(Container.java:1480)
> 	at java.awt.Container.validateTree(Container.java:1480)
> 	at java.awt.Container.validateTree(Container.java:1480)
> 	at java.awt.Container.validate(Container.java:1448)
> 	at java.awt.Window.pack(Window.java:496)
> 	at ptolemy.gui.Top.access$3(Top.java:1)
> 	at ptolemy.gui.Top$5.run(Top.java:393)
> 	at ptolemy.gui.Top.deferIfNecessary(Top.java:225)
> 	at ptolemy.gui.Top.pack(Top.java:402)
> 	at ptolemy.actor.gui.TableauFrame.pack(TableauFrame.java:293)
> 	at ptolemy.actor.gui.Tableau.show(Tableau.java:355)
> 	at  
> ptolemy 
> .actor.gui.Configuration.createPrimaryTableau(Configuration.java:425)
> 	at ptolemy.actor.gui.Configuration.openModel(Configuration.java:718)
> 	at ptolemy.actor.gui.Configuration.openModel(Configuration.java:626)
> 	at ptolemy.actor.gui.TableauFrame._read(TableauFrame.java:965)
> 	at ptolemy.gui.Top._open(Top.java:772)
> 	at ptolemy.gui.Top$FileMenuListener.actionPerformed(Top.java:1160)
> 	at org.kepler.gui.MenuMapper$1.actionPerformed(MenuMapper.java:345)
> 	at  
> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java: 
> 1882)
> 	at javax.swing.AbstractButton 
> $Handler.actionPerformed(AbstractButton.java:2202)
> 	at  
> javax 
> .swing 
> .DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
> 	at  
> javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
> 	at javax.swing.AbstractButton.doClick(AbstractButton.java:334)
> 	at  
> javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java: 
> 1051)
> 	at apple.laf.CUIAquaMenuItem.doClick(CUIAquaMenuItem.java:119)
> 	at javax.swing.plaf.basic.BasicMenuItemUI 
> $Handler.menuDragMouseReleased(BasicMenuItemUI.java:1155)
> 	at javax.swing.JMenuItem.fireMenuDragMouseReleased(JMenuItem.java: 
> 578)
> 	at javax.swing.JMenuItem.processMenuDragMouseEvent(JMenuItem.java: 
> 475)
> 	at javax.swing.JMenuItem.processMouseEvent(JMenuItem.java:422)
> 	at  
> javax 
> .swing 
> .MenuSelectionManager.processMouseEvent(MenuSelectionManager.java:283)
> 	at javax.swing.plaf.basic.BasicPopupMenuUI 
> $MouseGrabber.eventDispatched(BasicPopupMenuUI.java:783)
> 	at java.awt.Toolkit 
> $SelectiveAWTEventListener.eventDispatched(Toolkit.java:2206)
> 	at java.awt.Toolkit 
> $ToolkitEventMulticaster.eventDispatched(Toolkit.java:2100)
> 	at java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:2058)
> 	at java.awt.Component.dispatchEventImpl(Component.java:3967)
> 	at java.awt.Container.dispatchEventImpl(Container.java:2068)
> 	at java.awt.Component.dispatchEvent(Component.java:3903)
> 	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java: 
> 4256)
> 	at java.awt.LightweightDispatcher.processMouseEvent(Container.java: 
> 3936)
> 	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
> 	at java.awt.Container.dispatchEventImpl(Container.java:2054)
> 	at java.awt.Window.dispatchEventImpl(Window.java:1801)
> 	at java.awt.Component.dispatchEvent(Component.java:3903)
> 	at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
> 	at  
> java 
> .awt 
> .EventDispatchThread 
> .pumpOneEventForHierarchy(EventDispatchThread.java:269)
> 	at  
> java 
> .awt 
> .EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java: 
> 190)
> 	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java: 
> 184)
> 	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java: 
> 176)
> 	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
>
> This is using Kepler 1.X Development on Mac.
> Chris
> <open_web_browser.xml>_______________________________________________
> Kepler-users mailing list
> Kepler-users at kepler-project.org
> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users




More information about the Kepler-users mailing list