Bug #1717
closedEML200 data source throws error on 'Look Inside'
0%
Description
After dragging an EML200 data source from the result list window to the canvas,
if one clicks on 'Look Inside' to configure it, it throws an exception. This
does not happen with the EML200 Simple Plot Example -- but happens consistently
with some other data packages. Exception is pasted below.
Steps to reproduce:
1) Open kepler and launch EML2 Simple plot workflow
2) Click on data tab, search for 'mollusc'
3) Choose the first of the GCE mollusc data package and drag to canvas
4) Right-click and choose 'Look Inside'
The error generated is:
ptolemy.kernel.util.IllegalActionException: Cannot graphically edit a model that
is not a CompositeEntity. Model is a
org.ecoinformatics.seek.datasource.eml.eml2.Eml200DataSource
{.eml-simple-plot-new.Mollusc population abundance monitoring: Fall 2001
mid-marsh and creekbank infaunal and epifaunal mollusc abundance based on
collections from GCE marsh, monitoring sites 1-}
in .configuration.directory.effigy.Mollusc population abundance monitoring:
Fall 2001 mid-marsh and creekbank infaunal and epifaunal mollusc abundance based
on collections from GCE marsh, monitoring sites 1-.graphTableau
at ptolemy.vergil.actor.ActorGraphTableau.<init>(ActorGraphTableau.java:98)
at
ptolemy.vergil.actor.ActorGraphTableau$Factory.createTableau(ActorGraphTableau.java:162)
at
ptolemy.actor.gui.PtolemyTableauFactory.createTableau(PtolemyTableauFactory.java:98)
at ptolemy.actor.gui.TableauFactory.createTableau(TableauFactory.java:122)
at ptolemy.actor.gui.Configuration.createPrimaryTableau(Configuration.java:193)
at ptolemy.actor.gui.Configuration._openModel(Configuration.java:672)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:458)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:416)
at
ptolemy.vergil.actor.ActorController$LookInsideAction.actionPerformed(ActorController.java:632)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1113)
at
javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Updated by Rod Spears about 20 years ago
This line was commented out in EML200DataSource by Dan and I am waiting to here
why before truning it back on.
// _qbTableauFactory = new QBTableauFactory(this, "_tableauFactory");
Updated by Dan Higgins about 20 years ago
Commenting out the line was a test to see what really determined what happens
when the Look Inside button was clicked. Leaving it commented out was a mistake
on my part (Dan Higgins). It has been uncommented in the latest checkout.