[kepler-users] trunk broken?

Jianwu Wang jianwu at sdsc.edu
Wed Feb 20 17:30:47 PST 2013


Hi Christopher,

     I think the change of Variable.java at r65682 caused the error.  It 
throws evaluation exception when parsing the configuration.xml file. I 
checked the configuration files in Ptolemy and saw similar properties 
are using StringParameter, not Parameter. So I changed the configuration 
file in Kepler to use StringParameter.

     I think if these properties are Parameter, Ptolemy will try to 
convert their values to Ptolemy types, such as BooleanType and IntType. 
If we set them to be StringParameter, Ptolemy will leave their values as 
a string.

Best wishes

Sincerely yours

Jianwu Wang, Ph.D.
jianwu at sdsc.edu
http://users.sdsc.edu/~jianwu/

Assistant Project Scientist
Scientific Workflow Automation Technologies (SWAT) Laboratory
San Diego Supercomputer Center
University of California, San Diego
San Diego, CA, U.S.A.

On 2/20/13 5:17 PM, Christopher Brooks wrote:
> Hi Jianwu,
> I'm slightly mystified by this change.  I'm curious as to what changed 
> that would have caused the problem?
>
> The change was:
>> Modified:
>> trunk/modules/common/configs/ptolemy/configs/kepler/configuration.xml
>> Log:
>> update parameter to be string parameter for needed parameters. 
>> otherwise, kepler cannot start with new ptolemy
>>
>> Modified: 
>> trunk/modules/common/configs/ptolemy/configs/kepler/configuration.xml
>> ===================================================================
>> --- 
>> trunk/modules/common/configs/ptolemy/configs/kepler/configuration.xml 
>> 2013-02-20 07:03:23 UTC (rev 31462)
>> +++ 
>> trunk/modules/common/configs/ptolemy/configs/kepler/configuration.xml 
>> 2013-02-20 23:37:15 UTC (rev 31463)
>> @@ -120,7 +120,7 @@
>>           <!-- Specify the name of the class that specializes the doc 
>> system. -->
>> -    <property name="_docApplicationSpecializer" 
>> class="ptolemy.data.expr.Parameter"
>> +    <property name="_docApplicationSpecializer" 
>> class="ptolemy.data.expr.StringParameter"
>>           value="org.kepler.gui.KeplerDocApplicationSpecializer" />
>>
>>       <!-- Specify the value of the docPreference for 
>> GetDocumentationAction.
>> @@ -132,7 +132,7 @@
>>           Specify the remote location of the documentation. Used in
>>           ptolemy/vergil/actor/DocManager.java
>>       -->
>> -    <property name="_remoteDocumentationURLBase" 
>> class="ptolemy.data.expr.Parameter"
>> +    <property name="_remoteDocumentationURLBase" 
>> class="ptolemy.data.expr.StringParameter"
>> value="http://kepler-project.org/dist/nightly/javadoc/"  />
>>             <!--
>
> Indeed, those parameters are specified as StringParameters, so the 
> change is correct.
>
> Files like ptolemy/vergil/basic/GetDocumentationAction.java refer to 
> this as a Parameter.  StringParameter is a subclass of Parameter.
>>                 Parameter docApplicationSpecializerParameter = 
>> (Parameter) configuration
>> .getAttribute("_docApplicationSpecializer",
>>                                 Parameter.class);
>
> I don't see what change caused the problem.
>
> Anyway, I added a linux-specific script that invokes kepler and 
> catches this error.  The nightly build on sisyphus will now catch this 
> error (I hope).
>
> _Christopher
>
>
> On 2/20/13 3:41 PM, Jianwu Wang wrote:
>> Hi Tom,
>>
>>     Thanks for letting us know about it. Kepler breaks because of the 
>> updates of Ptolemy. Some configuration files in Kepler have to be 
>> updated accordingly to work with new Ptolemy. I just checked in the 
>> necessary updates in Kepler. It should work now. Please have a try.
>>
>> Best wishes
>>
>> Sincerely yours
>>
>> Jianwu Wang, Ph.D.
>> jianwu at sdsc.edu
>> http://users.sdsc.edu/~jianwu/
>>
>> Assistant Project Scientist
>> Scientific Workflow Automation Technologies (SWAT) Laboratory
>> San Diego Supercomputer Center
>> University of California, San Diego
>> San Diego, CA, U.S.A.
>>
>> On 2/20/13 11:28 AM, Tom Parris wrote:
>>> Kepler-Users:
>>>
>>> These sorts of things are usually fixed very quickly.  So, apologies
>>> if I'm jumping the gun on something you all know about and are already
>>> addressing.
>>>
>>> We have been having problems running the latest several versions of
>>> the trunk on two different Windows 7 Pro x64 machines.
>>>
>>> rev 31462 (ptolemy/src rev 65689) produces the very long series of
>>> stack trace messages at the end of this message.
>>> rev 31437 (ptolemy/src rev 65660) works.
>>>
>>> -- Tom
>>>
>>> $ ant update
>>> [update-modules] Using the stable version of ptolemy. Use 'ant
>>> update-ptolemy -Drev=head' to work from the head.
>>> [update-modules] svn -r 65689 update --accept postpone
>>> C:\Kepler\svn2\ptolemy\src
>>> [update-modules] At revision 65689.
>>>
>>> $ ant clean-all
>>> $ rm -rf c:/Users/<user>/KeplerData
>>> $ rm -rf c:/Users/<user>/.kepler
>>> $ rm -rf c:/Users/<user>/.ptolemyII
>>> $ ant run
>>>
>>>
>>>        [run] Set environment variable: R_HOME = C:\Program 
>>> Files\R\R-2.10.1
>>>        [run] Checking for patches...
>>>        [run] Building Kars...
>>>        [run] ptolemy.kernel.util.IllegalActionException: Error
>>> evaluating expression: http://kepler-project.org/dist/nightly/javadoc/
>>>        [run]   in .configuration._remoteDocumentationURLBase
>>>        [run] Because:
>>>        [run] Error parsing expression
>>> "http://kepler-project.org/dist/nightly/javadoc/"
>>>        [run] Because:
>>>        [run] Encountered " ":" ": "" at line 1, column 5.
>>>        [run] Was expecting one of:
>>>        [run]     <EOF>
>>>        [run]     "+" ...
>>>        [run]     "-" ...
>>>        [run]     "*" ...
>>>        [run]     "/" ...
>>>        [run]     "%" ...
>>>        [run]     "^" ...
>>>        [run]     "(" ...
>>>        [run]     "." ...
>>>        [run]     "?" ...
>>>        [run]     ">" ...
>>>        [run]     "<" ...
>>>        [run]     ">=" ...
>>>        [run]     "<=" ...
>>>        [run]     "!=" ...
>>>        [run]     "==" ...
>>>        [run]     "&&" ...
>>>        [run]     "||" ...
>>>        [run]     "&" ...
>>>        [run]     "|" ...
>>>        [run]     "#" ...
>>>        [run]     "<<" ...
>>>        [run]     ">>" ...
>>>        [run]     ">>>" ...
>>>        [run]     "(" ...
>>>        [run]
>>>        [run] Because:
>>>        [run] Error evaluating expression:
>>> http://kepler-project.org/dist/nightly/javadoc/
>>>        [run]   in .configuration._remoteDocumentationURLBase
>>>        [run] Because:
>>>        [run] Error parsing expression
>>> "http://kepler-project.org/dist/nightly/javadoc/"
>>>        [run] Because:
>>>        [run] Encountered " ":" ": "" at line 1, column 5.
>>>        [run] Was expecting one of:
>>>        [run]     <EOF>
>>>        [run]     "+" ...
>>>        [run]     "-" ...
>>>        [run]     "*" ...
>>>        [run]     "/" ...
>>>        [run]     "%" ...
>>>        [run]     "^" ...
>>>        [run]     "(" ...
>>>        [run]     "." ...
>>>        [run]     "?" ...
>>>        [run]     ">" ...
>>>        [run]     "<" ...
>>>        [run]     ">=" ...
>>>        [run]     "<=" ...
>>>        [run]     "!=" ...
>>>        [run]     "==" ...
>>>        [run]     "&&" ...
>>>        [run]     "||" ...
>>>        [run]     "&" ...
>>>        [run]     "|" ...
>>>        [run]     "#" ...
>>>        [run]     "<<" ...
>>>        [run]     ">>" ...
>>>        [run]     ">>>" ...
>>>        [run]     "(" ...
>>>        [run]
>>>        [run]     at 
>>> ptolemy.data.expr.Variable.validate(Variable.java:1481)
>>>        [run]     at 
>>> ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:802)
>>>        [run]     at 
>>> com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
>>>        [run]     at 
>>> com.microstar.xml.XmlParser.parse(XmlParser.java:132)
>>>        [run]     at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1556)
>>>        [run]     at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1492)
>>>        [run]     at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1436)
>>>        [run]     at
>>> ptolemy.actor.gui.ConfigurationApplication.readConfiguration(ConfigurationApplication.java:634) 
>>>
>>>        [run]     at
>>> ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplication.java:333) 
>>>
>>>        [run]     at
>>> ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:371) 
>>>
>>>        [run]     at
>>> ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1327) 
>>>
>>>        [run]     at
>>> ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:501)
>>>        [run]     at
>>> ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:244) 
>>>
>>>        [run]     at
>>> ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:80)
>>>        [run]     at
>>> ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:112)
>>>        [run]     at
>>> ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:243)
>>>        [run]     at
>>> java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
>>>        [run]     at 
>>> java.awt.EventQueue.dispatchEventImpl(EventQueue.java:721)
>>>        [run]     at java.awt.EventQueue.access$200(EventQueue.java:103)
>>>        [run]     at java.awt.EventQueue$3.run(EventQueue.java:682)
>>>        [run]     at java.awt.EventQueue$3.run(EventQueue.java:680)
>>>        [run]     at 
>>> java.security.AccessController.doPrivileged(Native Method)
>>>        [run]     at
>>> java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) 
>>>
>>>        [run]     at 
>>> java.awt.EventQueue.dispatchEvent(EventQueue.java:691)
>>>        [run]     at
>>> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) 
>>>
>>>        [run]     at
>>> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) 
>>>
>>>        [run]     at
>>> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) 
>>>
>>>        [run]     at
>>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
>>>        [run]     at
>>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
>>>        [run]     at 
>>> java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
>>>        [run] Caused by: ptolemy.kernel.util.IllegalActionException:
>>> Error evaluating expression:
>>> http://kepler-project.org/dist/nightly/javadoc/
>>>        [run]   in .configuration._remoteDocumentationURLBase
>>>        [run] Because:
>>>        [run] Error parsing expression
>>> "http://kepler-project.org/dist/nightly/javadoc/"
>>>        [run] Because:
>>>        [run] Encountered " ":" ": "" at line 1, column 5.
>>>        [run] Was expecting one of:
>>>        [run]     <EOF>
>>>        [run]     "+" ...
>>>        [run]     "-" ...
>>>        [run]     "*" ...
>>>        [run]     "/" ...
>>>        [run]     "%" ...
>>>        [run]     "^" ...
>>>        [run]     "(" ...
>>>        [run]     "." ...
>>>        [run]     "?" ...
>>>        [run]     ">" ...
>>>        [run]     "<" ...
>>>        [run]     ">=" ...
>>>        [run]     "<=" ...
>>>        [run]     "!=" ...
>>>        [run]     "==" ...
>>>        [run]     "&&" ...
>>>        [run]     "||" ...
>>>        [run]     "&" ...
>>>        [run]     "|" ...
>>>        [run]     "#" ...
>>>        [run]     "<<" ...
>>>        [run]     ">>" ...
>>>        [run]     ">>>" ...
>>>        [run]     "(" ...
>>>        [run]
>>>        [run]     at 
>>> ptolemy.data.expr.Variable._evaluate(Variable.java:1688)
>>>        [run]     at 
>>> ptolemy.data.expr.Variable._propagate(Variable.java:1764)
>>>        [run]     at 
>>> ptolemy.data.expr.Variable.validate(Variable.java:1461)
>>>        [run]     ... 29 more
>>>        [run] Caused by: ptolemy.kernel.util.IllegalActionException:
>>> Error parsing expression
>>> "http://kepler-project.org/dist/nightly/javadoc/"
>>>        [run] Because:
>>>        [run] Encountered " ":" ": "" at line 1, column 5.
>>>        [run] Was expecting one of:
>>>        [run]     <EOF>
>>>        [run]     "+" ...
>>>        [run]     "-" ...
>>>        [run]     "*" ...
>>>        [run]     "/" ...
>>>        [run]     "%" ...
>>>        [run]     "^" ...
>>>        [run]     "(" ...
>>>        [run]     "." ...
>>>        [run]     "?" ...
>>>        [run]     ">" ...
>>>        [run]     "<" ...
>>>        [run]     ">=" ...
>>>        [run]     "<=" ...
>>>        [run]     "!=" ...
>>>        [run]     "==" ...
>>>        [run]     "&&" ...
>>>        [run]     "||" ...
>>>        [run]     "&" ...
>>>        [run]     "|" ...
>>>        [run]     "#" ...
>>>        [run]     "<<" ...
>>>        [run]     ">>" ...
>>>        [run]     ">>>" ...
>>>        [run]     "(" ...
>>>        [run]
>>>        [run]     at
>>> ptolemy.data.expr.PtParser.generateParseTree(PtParser.java:185)
>>>        [run]     at
>>> ptolemy.data.expr.Variable._parseIfNecessary(Variable.java:1738)
>>>        [run]     at 
>>> ptolemy.data.expr.Variable._evaluate(Variable.java:1666)
>>>        [run]     ... 31 more
>>>        [run] Caused by: ptolemy.data.expr.ParseException: Encountered "
>>> ":" ": "" at line 1, column 5.
>>>        [run] Was expecting one of:
>>>        [run]     <EOF>
>>>        [run]     "+" ...
>>>        [run]     "-" ...
>>>        [run]     "*" ...
>>>        [run]     "/" ...
>>>        [run]     "%" ...
>>>        [run]     "^" ...
>>>        [run]     "(" ...
>>>        [run]     "." ...
>>>        [run]     "?" ...
>>>        [run]     ">" ...
>>>        [run]     "<" ...
>>>        [run]     ">=" ...
>>>        [run]     "<=" ...
>>>        [run]     "!=" ...
>>>        [run]     "==" ...
>>>        [run]     "&&" ...
>>>        [run]     "||" ...
>>>        [run]     "&" ...
>>>        [run]     "|" ...
>>>        [run]     "#" ...
>>>        [run]     "<<" ...
>>>        [run]     ">>" ...
>>>        [run]     ">>>" ...
>>>        [run]     "(" ...
>>>        [run]
>>>        [run]     at
>>> ptolemy.data.expr.PtParser.generateParseException(PtParser.java:3969)
>>>        [run]     at
>>> ptolemy.data.expr.PtParser.jj_consume_token(PtParser.java:3823)
>>>        [run]     at ptolemy.data.expr.PtParser.start(PtParser.java:769)
>>>        [run]     at
>>> ptolemy.data.expr.PtParser.generateParseTree(PtParser.java:180)
>>>        [run]     ... 33 more
>>>        [run] Caused by: ptolemy.kernel.util.IllegalActionException:
>>> Error evaluating expression:
>>> http://kepler-project.org/dist/nightly/javadoc/
>>>        [run]   in .configuration._remoteDocumentationURLBase
>>>        [run] Because:
>>>        [run] Error parsing expression
>>> "http://kepler-project.org/dist/nightly/javadoc/"
>>>        [run] Because:
>>>        [run] Encountered " ":" ": "" at line 1, column 5.
>>>        [run] Was expecting one of:
>>>        [run]     <EOF>
>>>        [run]     "+" ...
>>>        [run]     "-" ...
>>>        [run]     "*" ...
>>>        [run]     "/" ...
>>>        [run]     "%" ...
>>>        [run]     "^" ...
>>>        [run]     "(" ...
>>>        [run]     "." ...
>>>        [run]     "?" ...
>>>        [run]     ">" ...
>>>        [run]     "<" ...
>>>        [run]     ">=" ...
>>>        [run]     "<=" ...
>>>        [run]     "!=" ...
>>>        [run]     "==" ...
>>>        [run]     "&&" ...
>>>        [run]     "||" ...
>>>        [run]     "&" ...
>>>        [run]     "|" ...
>>>        [run]     "#" ...
>>>        [run]     "<<" ...
>>>        [run]     ">>" ...
>>>        [run]     ">>>" ...
>>>        [run]     "(" ...
>>>        [run]
>>>        [run]     at 
>>> ptolemy.data.expr.Variable._evaluate(Variable.java:1688)
>>>        [run]     at 
>>> ptolemy.data.expr.Variable._propagate(Variable.java:1764)
>>>        [run]     at 
>>> ptolemy.data.expr.Variable.validate(Variable.java:1461)
>>>        [run]     at 
>>> ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:802)
>>>        [run]     at 
>>> com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
>>>        [run]     at 
>>> com.microstar.xml.XmlParser.parse(XmlParser.java:132)
>>>        [run]     at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1556)
>>>        [run]     at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1492)
>>>        [run]     at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1436)
>>>        [run]     at
>>> ptolemy.actor.gui.ConfigurationApplication.readConfiguration(ConfigurationApplication.java:634) 
>>>
>>>        [run]     at
>>> ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplication.java:333) 
>>>
>>>        [run]     at
>>> ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:371) 
>>>
>>>        [run]     at
>>> ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1327) 
>>>
>>>        [run]     at
>>> ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:501)
>>>        [run]     at
>>> ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:244) 
>>>
>>>        [run]     at
>>> ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:80)
>>>        [run]     at
>>> ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:112)
>>>        [run]     at
>>> ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:243)
>>>        [run]     at
>>> java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
>>>        [run]     at 
>>> java.awt.EventQueue.dispatchEventImpl(EventQueue.java:721)
>>>        [run]     at java.awt.EventQueue.access$200(EventQueue.java:103)
>>>        [run]     at java.awt.EventQueue$3.run(EventQueue.java:682)
>>>        [run]     at java.awt.EventQueue$3.run(EventQueue.java:680)
>>>        [run]     at 
>>> java.security.AccessController.doPrivileged(Native Method)
>>>        [run]     at
>>> java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) 
>>>
>>>        [run]     at 
>>> java.awt.EventQueue.dispatchEvent(EventQueue.java:691)
>>>        [run]     at
>>> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) 
>>>
>>>        [run]     at
>>> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) 
>>>
>>>        [run]     at
>>> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) 
>>>
>>>        [run]     at
>>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
>>>        [run]     at
>>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
>>>        [run]     at 
>>> java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
>>>        [run] Caused by: ptolemy.kernel.util.IllegalActionException:
>>> Error parsing expression
>>> "http://kepler-project.org/dist/nightly/javadoc/"
>>>        [run] Because:
>>>        [run] Encountered " ":" ": "" at line 1, column 5.
>>>        [run] Was expecting one of:
>>>        [run]     <EOF>
>>>        [run]     "+" ...
>>>        [run]     "-" ...
>>>        [run]     "*" ...
>>>        [run]     "/" ...
>>>        [run]     "%" ...
>>>        [run]     "^" ...
>>>        [run]     "(" ...
>>>        [run]     "." ...
>>>        [run]     "?" ...
>>>        [run]     ">" ...
>>>        [run]     "<" ...
>>>        [run]     ">=" ...
>>>        [run]     "<=" ...
>>>        [run]     "!=" ...
>>>        [run]     "==" ...
>>>        [run]     "&&" ...
>>>        [run]     "||" ...
>>>        [run]     "&" ...
>>>        [run]     "|" ...
>>>        [run]     "#" ...
>>>        [run]     "<<" ...
>>>        [run]     ">>" ...
>>>        [run]     ">>>" ...
>>>        [run]     "(" ...
>>>        [run]
>>>        [run]     at
>>> ptolemy.data.expr.PtParser.generateParseTree(PtParser.java:185)
>>>        [run]     at
>>> ptolemy.data.expr.Variable._parseIfNecessary(Variable.java:1738)
>>>        [run]     at 
>>> ptolemy.data.expr.Variable._evaluate(Variable.java:1666)
>>>        [run]     ... 31 more
>>>        [run] Caused by: ptolemy.data.expr.ParseException: Encountered "
>>> ":" ": "" at line 1, column 5.
>>>        [run] Was expecting one of:
>>>        [run]     <EOF>
>>>        [run]     "+" ...
>>>        [run]     "-" ...
>>>        [run]     "*" ...
>>>        [run]     "/" ...
>>>        [run]     "%" ...
>>>        [run]     "^" ...
>>>        [run]     "(" ...
>>>        [run]     "." ...
>>>        [run]     "?" ...
>>>        [run]     ">" ...
>>>        [run]     "<" ...
>>>        [run]     ">=" ...
>>>        [run]     "<=" ...
>>>        [run]     "!=" ...
>>>        [run]     "==" ...
>>>        [run]     "&&" ...
>>>        [run]     "||" ...
>>>        [run]     "&" ...
>>>        [run]     "|" ...
>>>        [run]     "#" ...
>>>        [run]     "<<" ...
>>>        [run]     ">>" ...
>>>        [run]     ">>>" ...
>>>        [run]     "(" ...
>>>        [run]
>>>        [run]     at
>>> ptolemy.data.expr.PtParser.generateParseException(PtParser.java:3969)
>>>        [run]     at
>>> ptolemy.data.expr.PtParser.jj_consume_token(PtParser.java:3823)
>>>        [run]     at ptolemy.data.expr.PtParser.start(PtParser.java:769)
>>>        [run]     at
>>> ptolemy.data.expr.PtParser.generateParseTree(PtParser.java:180)
>>>        [run]     ... 33 more
>>>        [run] Caused by: ptolemy.kernel.util.IllegalActionException:
>>> Error parsing expression
>>> "http://kepler-project.org/dist/nightly/javadoc/"
>>>        [run] Because:
>>>        [run] Encountered " ":" ": "" at line 1, column 5.
>>>        [run] Was expecting one of:
>>>        [run]     <EOF>
>>>        [run]     "+" ...
>>>        [run]     "-" ...
>>>        [run]     "*" ...
>>>        [run]     "/" ...
>>>        [run]     "%" ...
>>>        [run]     "^" ...
>>>        [run]     "(" ...
>>>        [run]     "." ...
>>>        [run]     "?" ...
>>>        [run]     ">" ...
>>>        [run]     "<" ...
>>>        [run]     ">=" ...
>>>        [run]     "<=" ...
>>>        [run]     "!=" ...
>>>        [run]     "==" ...
>>>        [run]     "&&" ...
>>>        [run]     "||" ...
>>>        [run]     "&" ...
>>>        [run]     "|" ...
>>>        [run]     "#" ...
>>>        [run]     "<<" ...
>>>        [run]     ">>" ...
>>>        [run]     ">>>" ...
>>>        [run]     "(" ...
>>>        [run]
>>>        [run]     at
>>> ptolemy.data.expr.PtParser.generateParseTree(PtParser.java:185)
>>>        [run]     at
>>> ptolemy.data.expr.Variable._parseIfNecessary(Variable.java:1738)
>>>        [run]     at 
>>> ptolemy.data.expr.Variable._evaluate(Variable.java:1666)
>>>        [run]     at 
>>> ptolemy.data.expr.Variable._propagate(Variable.java:1764)
>>>        [run]     at 
>>> ptolemy.data.expr.Variable.validate(Variable.java:1461)
>>>        [run]     at 
>>> ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:802)
>>>        [run]     at 
>>> com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
>>>        [run]     at 
>>> com.microstar.xml.XmlParser.parse(XmlParser.java:132)
>>>        [run]     at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1556)
>>>        [run]     at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1492)
>>>        [run]     at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1436)
>>>        [run]     at
>>> ptolemy.actor.gui.ConfigurationApplication.readConfiguration(ConfigurationApplication.java:634) 
>>>
>>>        [run]     at
>>> ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplication.java:333) 
>>>
>>>        [run]     at
>>> ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:371) 
>>>
>>>        [run]     at
>>> ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1327) 
>>>
>>>        [run]     at
>>> ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:501)
>>>        [run]     at
>>> ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:244) 
>>>
>>>        [run]     at
>>> ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:80)
>>>        [run]     at
>>> ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:112)
>>>        [run]     at
>>> ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:243)
>>>        [run]     at
>>> java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
>>>        [run]     at 
>>> java.awt.EventQueue.dispatchEventImpl(EventQueue.java:721)
>>>        [run]     at java.awt.EventQueue.access$200(EventQueue.java:103)
>>>        [run]     at java.awt.EventQueue$3.run(EventQueue.java:682)
>>>        [run]     at java.awt.EventQueue$3.run(EventQueue.java:680)
>>>        [run]     at 
>>> java.security.AccessController.doPrivileged(Native Method)
>>>        [run]     at
>>> java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) 
>>>
>>>        [run]     at 
>>> java.awt.EventQueue.dispatchEvent(EventQueue.java:691)
>>>        [run]     at
>>> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) 
>>>
>>>        [run]     at
>>> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) 
>>>
>>>        [run]     at
>>> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) 
>>>
>>>        [run]     at
>>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
>>>        [run]     at
>>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
>>>        [run]     at 
>>> java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
>>>        [run] Caused by: ptolemy.data.expr.ParseException: Encountered "
>>> ":" ": "" at line 1, column 5.
>>>        [run] Was expecting one of:
>>>        [run]     <EOF>
>>>        [run]     "+" ...
>>>        [run]     "-" ...
>>>        [run]     "*" ...
>>>        [run]     "/" ...
>>>        [run]     "%" ...
>>>        [run]     "^" ...
>>>        [run]     "(" ...
>>>        [run]     "." ...
>>>        [run]     "?" ...
>>>        [run]     ">" ...
>>>        [run]     "<" ...
>>>        [run]     ">=" ...
>>>        [run]     "<=" ...
>>>        [run]     "!=" ...
>>>        [run]     "==" ...
>>>        [run]     "&&" ...
>>>        [run]     "||" ...
>>>        [run]     "&" ...
>>>        [run]     "|" ...
>>>        [run]     "#" ...
>>>        [run]     "<<" ...
>>>        [run]     ">>" ...
>>>        [run]     ">>>" ...
>>>        [run]     "(" ...
>>>        [run]
>>>        [run]     at
>>> ptolemy.data.expr.PtParser.generateParseException(PtParser.java:3969)
>>>        [run]     at
>>> ptolemy.data.expr.PtParser.jj_consume_token(PtParser.java:3823)
>>>        [run]     at ptolemy.data.expr.PtParser.start(PtParser.java:769)
>>>        [run]     at
>>> ptolemy.data.expr.PtParser.generateParseTree(PtParser.java:180)
>>>        [run]     ... 33 more
>>>        [run] Caused by: ptolemy.data.expr.ParseException: Encountered "
>>> ":" ": "" at line 1, column 5.
>>>        [run] Was expecting one of:
>>>        [run]     <EOF>
>>>        [run]     "+" ...
>>>        [run]     "-" ...
>>>        [run]     "*" ...
>>>        [run]     "/" ...
>>>        [run]     "%" ...
>>>        [run]     "^" ...
>>>        [run]     "(" ...
>>>        [run]     "." ...
>>>        [run]     "?" ...
>>>        [run]     ">" ...
>>>        [run]     "<" ...
>>>        [run]     ">=" ...
>>>        [run]     "<=" ...
>>>        [run]     "!=" ...
>>>        [run]     "==" ...
>>>        [run]     "&&" ...
>>>        [run]     "||" ...
>>>        [run]     "&" ...
>>>        [run]     "|" ...
>>>        [run]     "#" ...
>>>        [run]     "<<" ...
>>>        [run]     ">>" ...
>>>        [run]     ">>>" ...
>>>        [run]     "(" ...
>>>        [run]
>>>        [run]     at
>>> ptolemy.data.expr.PtParser.generateParseException(PtParser.java:3969)
>>>        [run]     at
>>> ptolemy.data.expr.PtParser.jj_consume_token(PtParser.java:3823)
>>>        [run]     at ptolemy.data.expr.PtParser.start(PtParser.java:769)
>>>        [run]     at
>>> ptolemy.data.expr.PtParser.generateParseTree(PtParser.java:180)
>>>        [run]     at
>>> ptolemy.data.expr.Variable._parseIfNecessary(Variable.java:1738)
>>>        [run]     at 
>>> ptolemy.data.expr.Variable._evaluate(Variable.java:1666)
>>>        [run]     at 
>>> ptolemy.data.expr.Variable._propagate(Variable.java:1764)
>>>        [run]     at 
>>> ptolemy.data.expr.Variable.validate(Variable.java:1461)
>>>        [run]     at 
>>> ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:802)
>>>        [run]     at 
>>> com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
>>>        [run]     at 
>>> com.microstar.xml.XmlParser.parse(XmlParser.java:132)
>>>        [run]     at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1556)
>>>        [run]     at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1492)
>>>        [run]     at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1436)
>>>        [run]     at
>>> ptolemy.actor.gui.ConfigurationApplication.readConfiguration(ConfigurationApplication.java:634) 
>>>
>>>        [run]     at
>>> ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplication.java:333) 
>>>
>>>        [run]     at
>>> ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:371) 
>>>
>>>        [run]     at
>>> ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1327) 
>>>
>>>        [run]     at
>>> ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:501)
>>>        [run]     at
>>> ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:244) 
>>>
>>>        [run]     at
>>> ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:80)
>>>        [run]     at
>>> ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:112)
>>>        [run]     at
>>> ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:243)
>>>        [run]     at
>>> java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
>>>        [run]     at 
>>> java.awt.EventQueue.dispatchEventImpl(EventQueue.java:721)
>>>        [run]     at java.awt.EventQueue.access$200(EventQueue.java:103)
>>>        [run]     at java.awt.EventQueue$3.run(EventQueue.java:682)
>>>        [run]     at java.awt.EventQueue$3.run(EventQueue.java:680)
>>>        [run]     at 
>>> java.security.AccessController.doPrivileged(Native Method)
>>>        [run]     at
>>> java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) 
>>>
>>>        [run]     at 
>>> java.awt.EventQueue.dispatchEvent(EventQueue.java:691)
>>>        [run]     at
>>> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) 
>>>
>>>        [run]     at
>>> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) 
>>>
>>>        [run]     at
>>> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) 
>>>
>>>        [run]     at
>>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
>>>        [run]     at
>>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
>>>        [run]     at 
>>> java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
>>>        [run] java.lang.Exception: Failed to parse "-kepler"
>>>        [run]     at
>>> ptolemy.actor.gui.ConfigurationApplication.throwArgsException(ConfigurationApplication.java:845) 
>>>
>>>        [run]     at
>>> ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:320) 
>>>
>>>        [run]     at
>>> ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:80)
>>>        [run]     at
>>> ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:112)
>>>        [run]     at
>>> ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:243)
>>>        [run]     at
>>> java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
>>>        [run]     at 
>>> java.awt.EventQueue.dispatchEventImpl(EventQueue.java:721)
>>>        [run]     at java.awt.EventQueue.access$200(EventQueue.java:103)
>>>        [run]     at java.awt.EventQueue$3.run(EventQueue.java:682)
>>>        [run]     at java.awt.EventQueue$3.run(EventQueue.java:680)
>>>        [run]     at 
>>> java.security.AccessController.doPrivileged(Native Method)
>>>        [run]     at
>>> java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) 
>>>
>>>        [run]     at 
>>> java.awt.EventQueue.dispatchEvent(EventQueue.java:691)
>>>        [run]     at
>>> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) 
>>>
>>>        [run]     at
>>> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) 
>>>
>>>        [run]     at
>>> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) 
>>>
>>>        [run]     at
>>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
>>>        [run]     at
>>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
>>>        [run]     at 
>>> java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
>>>        [run] Caused by: java.lang.Exception: Failed to read
>>> configuration 
>>> 'file:/C:/Kepler/svn2/common/configs/ptolemy/configs/kepler/configuration.xml'
>>>        [run]     at
>>> ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplication.java:335) 
>>>
>>>        [run]     at
>>> ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:371) 
>>>
>>>        [run]     at
>>> ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1327) 
>>>
>>>        [run]     at
>>> ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:501)
>>>        [run]     at
>>> ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:244) 
>>>
>>>        [run]     ... 17 more
>>>        [run] Command failed
>>>        [run] Caused by: java.lang.NullPointerException: Failed to find
>>> configuration in
>>> file:/C:/Kepler/svn2/common/configs/ptolemy/configs/kepler/configuration.xml 
>>>
>>>        [run]     at
>>> ptolemy.actor.gui.ConfigurationApplication.readConfiguration(ConfigurationApplication.java:642) 
>>>
>>>        [run]     at
>>> ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplication.java:333) 
>>>
>>>        [run]     ... 21 more
>>>        [run] Caused by: ptolemy.kernel.util.IllegalActionException:
>>> Error evaluating expression:
>>> http://kepler-project.org/dist/nightly/javadoc/
>>>        [run]   in .configuration._remoteDocumentationURLBase
>>>        [run] Because:
>>>        [run] Error parsing expression
>>> "http://kepler-project.org/dist/nightly/javadoc/"
>>>        [run] Because:
>>>        [run] Encountered " ":" ": "" at line 1, column 5.
>>>        [run] Was expecting one of:
>>>        [run]     <EOF>
>>>        [run]     "+" ...
>>>        [run]     "-" ...
>>>        [run]     "*" ...Arguments: -kepler
>>>        [run]     "/" ...
>>>        [run]
>>>        [run]     "%" ...
>>>        [run]
>>>        [run]     "^" ...
>>>        [run]     "(" ...
>>>        [run]     "." ...
>>>        [run]     "?" ...
>>>        [run]     ">" ...
>>>        [run]     "<" ...
>>>        [run]     ">=" ...
>>>        [run]     "<=" ...
>>>        [run]     "!=" ...
>>>        [run]     "==" ...
>>>        [run]     "&&" ...
>>>        [run]     "||" ...
>>>        [run]     "&" ...
>>>        [run]     "|" ...
>>>        [run]     "#" ...
>>>        [run]     "<<" ...
>>>        [run]     ">>" ...
>>>        [run]     ">>>" ...
>>>        [run]     "(" ...
>>>        [run]
>>>        [run] Because:
>>>        [run] Error evaluating expression:
>>> http://kepler-project.org/dist/nightly/javadoc/
>>>        [run]   in .configuration._remoteDocumentationURLBase
>>>        [run] Because:
>>>        [run] Error parsing expression
>>> "http://kepler-project.org/dist/nightly/javadoc/"
>>>        [run] Because:
>>>        [run] Encountered " ":" ": "" at line 1, column 5.
>>>        [run] Was expecting one of:
>>>        [run]     <EOF>
>>>        [run]     "+" ...
>>>        [run]     "-" ...
>>>        [run]     "*" ...
>>>        [run]     "/" ...
>>>        [run]     "%" ...
>>>        [run]     "^" ...
>>>        [run]     "(" ...
>>>        [run]     "." ...
>>>        [run]     "?" ...
>>>        [run]     ">" ...
>>>        [run]     "<" ...
>>>        [run]     ">=" ...
>>>        [run]     "<=" ...
>>>        [run]     "!=" ...
>>>        [run]     "==" ...
>>>        [run]     "&&" ...
>>>        [run]     "||" ...
>>>        [run]     "&" ...
>>>        [run]     "|" ...
>>>        [run]     "#" ...
>>>        [run]     "<<" ...
>>>        [run]     ">>" ...
>>>        [run]     ">>>" ...
>>>        [run]     "(" ...
>>>        [run]
>>>        [run]     at 
>>> ptolemy.data.expr.Variable.validate(Variable.java:1481)
>>>        [run]     at 
>>> ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:802)
>>>        [run]     at 
>>> com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
>>>        [run]     at 
>>> com.microstar.xml.XmlParser.parse(XmlParser.java:132)
>>>        [run]     at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1556)
>>>        [run]     at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1492)
>>>        [run]     at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1436)
>>>        [run]     at
>>> ptolemy.actor.gui.ConfigurationApplication.readConfiguration(ConfigurationApplication.java:634) 
>>>
>>>        [run]     ... 22 more
>>>        [run] Caused by: ptolemy.kernel.util.IllegalActionException:
>>> Error evaluating expression:
>>> http://kepler-project.org/dist/nightly/javadoc/
>>>        [run]   in .configuration._remoteDocumentationURLBase
>>>        [run] Because:
>>>        [run] Error parsing expression
>>> "http://kepler-project.org/dist/nightly/javadoc/"
>>>        [run] Because:
>>>        [run] Encountered " ":" ": "" at line 1, column 5.
>>>        [run] Was expecting one of:
>>>        [run]     <EOF>
>>>        [run]     "+" ...
>>>        [run]     "-" ...
>>>        [run]     "*" ...
>>>        [run]     "/" ...
>>>        [run]     "%" ...
>>>        [run]     "^" ...
>>>        [run]     "(" ...
>>>        [run]     "." ...
>>>        [run]     "?" ...
>>>        [run]     ">" ...
>>>        [run]     "<" ...
>>>        [run]     ">=" ...
>>>        [run]     "<=" ...
>>>        [run]     "!=" ...
>>>        [run]     "==" ...
>>>        [run]     "&&" ...
>>>        [run]     "||" ...
>>>        [run]     "&" ...
>>>        [run]     "|" ...
>>>        [run]     "#" ...
>>>        [run]     "<<" ...
>>>        [run]     ">>" ...
>>>        [run]     ">>>" ...
>>>        [run]     "(" ...
>>>        [run]
>>>        [run]     at 
>>> ptolemy.data.expr.Variable._evaluate(Variable.java:1688)
>>>        [run]     at 
>>> ptolemy.data.expr.Variable._propagate(Variable.java:1764)
>>>        [run]     at 
>>> ptolemy.data.expr.Variable.validate(Variable.java:1461)
>>>        [run]     ... 29 more
>>>        [run] Caused by: ptolemy.kernel.util.IllegalActionException:
>>> Error parsing expression
>>> "http://kepler-project.org/dist/nightly/javadoc/"
>>>        [run] Because:
>>>        [run] Encountered " ":" ": "" at line 1, column 5.
>>>        [run] Was expecting one of:
>>>        [run]     <EOF>
>>>        [run]     "+" ...
>>>        [run]     "-" ...
>>>        [run]     "*" ...
>>>        [run]     "/" ...
>>>        [run]     "%" ...
>>>        [run]     "^" ...
>>>        [run]     "(" ...
>>>        [run]     "." ...
>>>        [run]     "?" ...
>>>        [run]     ">" ...
>>>        [run]     "<" ...
>>>        [run]     ">=" ...
>>>        [run]     "<=" ...
>>>        [run]     "!=" ...
>>>        [run]     "==" ...
>>>        [run]     "&&" ...
>>>        [run]     "||" ...
>>>        [run]     "&" ...
>>>        [run]     "|" ...
>>>        [run]     "#" ...
>>>        [run]     "<<" ...
>>>        [run]     ">>" ...
>>>        [run]     ">>>" ...
>>>        [run]     "(" ...
>>>        [run]
>>>        [run]     at
>>> ptolemy.data.expr.PtParser.generateParseTree(PtParser.java:185)
>>>        [run]     at
>>> ptolemy.data.expr.Variable._parseIfNecessary(Variable.java:1738)
>>>        [run]     at 
>>> ptolemy.data.expr.Variable._evaluate(Variable.java:1666)
>>>        [run]     ... 31 more
>>>        [run] Caused by: ptolemy.data.expr.ParseException: Encountered "
>>> ":" ": "" at line 1, column 5.
>>>        [run] Was expecting one of:
>>>        [run]     <EOF>
>>>        [run]     "+" ...
>>>        [run]     "-" ...
>>>        [run]     "*" ...
>>>        [run]     "/" ...
>>>        [run]     "%" ...
>>>        [run]     "^" ...
>>>        [run]     "(" ...
>>>        [run]     "." ...
>>>        [run]     "?" ...
>>>        [run]     ">" ...
>>>        [run]     "<" ...
>>>        [run]     ">=" ...
>>>        [run]     "<=" ...
>>>        [run]     "!=" ...
>>>        [run]     "==" ...
>>>        [run]     "&&" ...
>>>        [run]     "||" ...
>>>        [run]     "&" ...
>>>        [run]     "|" ...
>>>        [run]     "#" ...
>>>        [run]     "<<" ...
>>>        [run]     ">>" ...
>>>        [run]     ">>>" ...
>>>        [run]     "(" ...
>>>        [run]
>>>        [run]     at
>>> ptolemy.data.expr.PtParser.generateParseException(PtParser.java:3969)
>>>        [run]     at
>>> ptolemy.data.expr.PtParser.jj_consume_token(PtParser.java:3823)
>>>        [run]     at ptolemy.data.expr.PtParser.start(PtParser.java:769)
>>>        [run]     at
>>> ptolemy.data.expr.PtParser.generateParseTree(PtParser.java:180)
>>>        [run]     ... 33 more
>>>
>>> BUILD SUCCESSFUL
>>> Total time: 4 minutes 5 seconds
>>> _______________________________________________
>>> Kepler-users mailing list
>>> Kepler-users at kepler-project.org
>>> http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
>>
>> _______________________________________________
>> Kepler-users mailing list
>> Kepler-users at kepler-project.org
>> http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
>



More information about the Kepler-users mailing list