[kepler-dev] There are errors when interpreting "configuration.xml"
kepler
kepler at yeah.net
Fri Jul 25 06:19:19 PDT 2008
Dear Allen,
I have tried this method, but the problem is still the same.
I think the problem is that configuration.xml is not consistent with the interpreter in Ptolemy II.
In addition, there is an error in Ptolemy II when I building, and I simply comment that member funtion. And there are thousands of warning in building message.
Should I move to use Linux?
Thank you all the same.
Best regards,
Nanshan Du
在2008-07-25 20:02:56,"Paul Allen" <pea1 at cornell.edu> 写道:
I have run into this before. If I recall correctly, the solution is to delete the contents of the .kepler directory that Kepler creates and uses as a temp directory. The .kepler directory is usually in your personal directory (e.g. on windows C:\Documents and Settings\pea1\.kepler for me).
kepler wrote:
Dear All,
I checked out source code, and compile it successful.
But when I want to run it, there are error when interpreting the file "configuration.xml".
Even I comments the property that caused errors, there still other errors.
I am trapped and can't step over to next.
---------------------------------------------
The error information is as follows:
Command failed
Arguments: -kepler
java.lang.Exception: Failed to parse "-kepler"
at ptolemy.actor.gui.MoMLApplication.throwArgsException(MoMLApplication.java:584)
at ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:245)
at ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:98)
at ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:141)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.Exception: Failed to read configuration 'file:/E:/Project/kepler/configs/ptolemy/configs/kepler/configuration.xml'
at ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplication.java:233)
at ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:269)
at ptolemy.actor.gui.MoMLApplication._parseArgs(MoMLApplication.java:998)
at ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:357)
at ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:215)
... 9 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression: http://kepler-project.org/nightly/docResults/generatedJavadocs/
in .configuration._remoteDocumentationURLBase
Because:
Error parsing expression "http://kepler-project.org/nightly/docResults/generatedJavadocs/"
Because:
Encountered ":" at line 1, column 5.
Was expecting one of:
<EOF>
"+" ...
"-" ...
"*" ...
"/" ...
"%" ...
"^" ...
"(" ...
"." ...
"?" ...
">" ...
"<" ...
">=" ...
"<=" ...
"!=" ...
"==" ..
"&&" ...
"||" ...
"&" ...
"|" ...
"#" ...
"<<" ...
">>" ...
">>>" ...
at ptolemy.data.expr.Variable.validate(Variable.java:1440)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:643)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at commicrostar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.momlMoMLParser.parse(MoMLParser.java:1336)
at ptolemy.moml.MoMLParserparse(MoMLParser.java:1294)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1267)
at ptolemy.actor.gui.MoMLApplication.readConfiguration(MoMLApplication.java:361)
at ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplication.java:231)
... 13 more
--------------------------------------------------------------
Thank you for your notice.
Best regards,
Nanshan Du
_______________________________________________
Kepler-dev mailing list
Kepler-dev at ecoinformatics.orghttp://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercury.nceas.ucsb.edu/kepler/pipermail/kepler-dev/attachments/20080725/54c3c6c5/attachment-0002.html>
More information about the Kepler-dev
mailing list