Project

General

Profile

Bug #5402

Linux build at r27617 can't drag instantiate components

Added by Derik Barseghian about 8 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
general
Target version:
Start date:
05/12/2011
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5402

Description

Attempting to drag an actor out from the library gives an exception. Oddly only happening to me on linux - I tried a fresh checkout as a sanity check. Possibly related to MoML_1.dtd not being available atm: http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/2011-May/019529.html

com.microstar.xml.XmlException: Cannot create entity without a class name. in [external stream] at line 2 and column 23
at ptolemy.moml.MoMLParser._checkForNull(MoMLParser.java:3809)
at ptolemy.moml.MoMLParser._createEntity(MoMLParser.java:3990)
at ptolemy.moml.MoMLParser.startElement(MoMLParser.java:2510)
at com.microstar.xml.XmlParser.parseElement(XmlParser.java:921)
at com.microstar.xml.XmlParser.parseContent(XmlParser.java:1104)
at com.microstar.xml.XmlParser.parseElement(XmlParser.java:924)
at com.microstar.xml.XmlParser.parseContent(XmlParser.java:1104)
at com.microstar.xml.XmlParser.parseElement(XmlParser.java:924)
at com.microstar.xml.XmlParser.parseDocument(XmlParser.java:481)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:159)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1419)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1391)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1547)
at ptolemy.moml.MoMLChangeRequest._execute(MoMLChangeRequest.java:289)
at ptolemy.kernel.util.ChangeRequest.execute(ChangeRequest.java:171)
at ptolemy.kernel.util.NamedObj.executeChangeRequests(NamedObj.java:735)
at ptolemy.kernel.util.NamedObj.requestChange(NamedObj.java:1775)
at ptolemy.actor.CompositeActor.requestChange(CompositeActor.java:1922)
at ptolemy.vergil.basic.EditorDropTargetListener.drop(EditorDropTargetListener.java:365)
at java.awt.dnd.DropTarget.drop(DropTarget.java:430)
at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(SunDropTargetContextPeer.java:500)
at sun.awt.X11.XDropTargetContextPeer.processDropMessage(XDropTargetContextPeer.java:165)
at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(SunDropTargetContextPeer.java:812)
at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(SunDropTargetContextPeer.java:736)
at sun.awt.dnd.SunDropTargetEvent.dispatch(SunDropTargetEvent.java:30)
at java.awt.Component.dispatchEventImpl(Component.java:4267)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processDropTargetEvent(Container.java:4057)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3911)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

History

#1 Updated by Christopher Brooks about 8 years ago

http://ptolemy.eecs.berkeley.edu was rebooted by Mary at around 8pm PST yesterday,
so I'm not sure if the website being down would be the issue.

BTW - something similar happened on April 11, Matt responded with
http://www.mail-archive.com/kepler-users@kepler-project.org/msg01840.html
which was fixed with bug:
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5098

I'm hoping the above change is in Kepler-2.2.

#2 Updated by Derik Barseghian about 8 years ago

Now I can't get this to recur. I'll reopen if I see it again.

#3 Updated by Redmine Admin about 6 years ago

Original Bugzilla ID was 5402

Also available in: Atom PDF