This error looks like a normal NetLogo error. What string argument are you 
passing to `App.command`?

On Saturday, March 17, 2018 at 3:02:12 AM UTC-5, ramya ias wrote:
>
> Expected command. at position 33 in 
> at org.nlogo.core.Fail$.exception(Fail.scala:27)
> at org.nlogo.core.Fail$.exception(Fail.scala:25)
> at org.nlogo.core.Fail$.exception(Fail.scala:23)
> at 
> org.nlogo.parse.ExpressionParser$.parseStatement(ExpressionParser.scala:76)
> at 
> org.nlogo.parse.ExpressionParser$.$anonfun$apply$1(ExpressionParser.scala:31)
> at 
> org.nlogo.parse.ExpressionParser$.parseStatements(ExpressionParser.scala:43)
> at org.nlogo.parse.ExpressionParser$.apply(ExpressionParser.scala:31)
> at org.nlogo.parse.NetLogoParser.parseProcedure(NetLogoParser.scala:45)
> at org.nlogo.parse.NetLogoParser.parseProcedure$(NetLogoParser.scala:29)
> at org.nlogo.parse.FrontEnd$.parseProcedure(FrontEnd.scala:10)
> at 
> org.nlogo.parse.NetLogoParser.$anonfun$basicParse$1(NetLogoParser.scala:25)
> at 
> scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:234)
> at scala.collection.Iterator.foreach(Iterator.scala:929)
> at scala.collection.Iterator.foreach$(Iterator.scala:929)
> at scala.collection.AbstractIterator.foreach(Iterator.scala:1406)
> at 
> scala.collection.MapLike$DefaultValuesIterable.foreach(MapLike.scala:210)
> at scala.collection.TraversableLike.map(TraversableLike.scala:234)
> at scala.collection.TraversableLike.map$(TraversableLike.scala:227)
> at scala.collection.AbstractTraversable.map(Traversable.scala:104)
> at org.nlogo.parse.NetLogoParser.basicParse(NetLogoParser.scala:25)
> at org.nlogo.parse.NetLogoParser.basicParse$(NetLogoParser.scala:15)
> at org.nlogo.parse.FrontEnd$.basicParse(FrontEnd.scala:10)
> at org.nlogo.parse.FrontEndMain.frontEnd(FrontEnd.scala:27)
> at org.nlogo.parse.FrontEndMain.frontEnd$(FrontEnd.scala:25)
> at org.nlogo.parse.FrontEnd$.frontEnd(FrontEnd.scala:10)
> at org.nlogo.compile.CompilerMain$.compile(CompilerMain.scala:43)
> at org.nlogo.compile.Compiler.compileMoreCode(Compiler.scala:80)
> at org.nlogo.compile.Compiler.compileMoreCode(Compiler.scala:93)
> at org.nlogo.workspace.Evaluator.invokeCompiler(Evaluator.scala:160)
> at org.nlogo.workspace.Evaluator.evaluateCommands(Evaluator.scala:22)
> at org.nlogo.workspace.Evaluating.evaluateCommands(Evaluating.scala:28)
> at org.nlogo.workspace.Evaluating.evaluateCommands$(Evaluating.scala:27)
> at 
> org.nlogo.workspace.AbstractWorkspaceScala.evaluateCommands(AbstractWorkspaceScala.scala:27)
> at org.nlogo.app.App.command(App.scala:984)
> at deadlock.main(deadlock.java:20)
> i got this error while i m opening the netlogo in eclipse....how to 
> resolve this sir...please help me.......
>
> On Saturday, April 9, 2016 at 11:31:47 PM UTC+5:30, itsaquestion2008 wrote:
>>
>> Hi everyone!
>>
>>  I'm trying to control NetLogo in eclipse. 
>>
>> According to the controlling api manual (
>> https://github.com/NetLogo/NetLogo/wiki/Controlling-API) : 
>>
>> 1. NetLogo.jar was imported to the build path, so "import 
>> org.nlogo.app.App;" is ok.
>>
>> 2. When I ran the program directly pasted from the manual, console shows:
>> "java.io.FileNotFoundException: models/Sample Models/Earth 
>> Science/Fire.nlogo (No such file or directory)"
>>
>> 3. Then I added environment variable in "Run Configurations".(I'v removed 
>> the space in the path, as the actual path in my disk)
>>
>>
>> <https://lh3.googleusercontent.com/-km2upbrB1_M/VwlCbpXm4PI/AAAAAAAAB7s/i_e3jMjO8fwFmuxzxTS0XyzKp7DxnEKUg/s1600/57CE1B70-2FE4-4B8D-A5F8-91A1D6520094.png>
>>
>>
>> 4. But still get the same error in 2.
>>
>>
>> Can somebody  help? Thanks.
>>
>>
>>
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"netlogo-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to