Project

General

Profile

Bug #4916

Save Archive gives an error

Added by Derik Barseghian over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
general
Target version:
Start date:
03/30/2010
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4916

Description

File => Save Archive works on the 2.0 branch, but on trunk I'm getting an error (both in wrp and kepler suites):

ptolemy.kernel.util.IllegalActionException: Cannot find class: bleh
Because:
-- /Users/derik/dev2/kepler.modules.wrp/wrp/bleh.xml (No such file or directory)
-- XML file not found relative to classpath.
-- /Users/derik/dev2/kepler.modules.wrp/wrp/bleh.xml
/Users/derik/dev2/kepler.modules.wrp/wrp/bleh.xml (No such file or directory)
in file:/Users/derik/dev2/kepler.modules.wrp/wrp/ at line 1 and column 61
at ptolemy.moml.MoMLParser._createEntity(MoMLParser.java:3877)
at ptolemy.moml.MoMLParser.startElement(MoMLParser.java:2493)
at com.microstar.xml.XmlParser.parseElement(XmlParser.java:921)
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:1418)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1374)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1517)
at org.kepler.objectmanager.ActorMetadata.lookForMoml(ActorMetadata.java:1492)


Related issues

Blocked by Kepler - Bug #4672: Workflow title isn't refreshed during run export workflow renameResolved01/14/2010

Blocked by Kepler - Bug #4929: cannot add composite actor to canvasResolved04/05/2010

History

#1 Updated by Sean Riddle over 9 years ago

I just started getting this as well. It results in an inability to instantiate composites returned from remote repositories.

#2 Updated by Derik Barseghian over 9 years ago

I'll take a look...looks like the error is coming out of the call to parser.reset() in ActorMetadata lookForMoml

#3 Updated by Derik Barseghian over 9 years ago

After r23539 this is now a problem in 2.0 as well. Retargeting.

I'm guessing the r23539 (2.0) changes to ActorMetadata are the same as those in r 23499, which was a cleanup/refactor. Aaron, is this refactor necessary for 2.0?

Correction to comment#2: error's coming out of parser.parse call in lookForMoml, not parser.reset.

#4 Updated by Derik Barseghian over 9 years ago

Aaron thinks this may be tied into work on ActorMetadata necessary for bug#4767. Reassigned to him.

#5 Updated by Aaron Aaron over 9 years ago

I tried rolling back the refactor of ActorMetadata and was still getting this error, must be something else...

#6 Updated by Aaron Aaron over 9 years ago

oops, sorry it was the refactor, I had parameters to a new function backwards. It's good now.

#7 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 4916

Also available in: Atom PDF