org.nlogo.nvm.ArgumentTypeException: ASK expected input to be an agent or agentset but got the number 0 instead.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by ToonTalk
, 1 year ago
ASK expected input to be an agent or agentset but got the number 0 instead.
via GitHub by ToonTalk
, 1 year ago
ITEM expected input to be a string or list but got the number 0 instead.
org.nlogo.nvm.ArgumentTypeException: ASK expected input to be an agent or agentset but got the number 0 instead.
at org.nlogo.nvm.CommandTask.perform(Task.scala:87)
at org.nlogo.prim.etc._foreach.perform(_foreach.scala:36)
at org.nlogo.nvm.Context.runExclusive(Context.java:119)
at org.nlogo.nvm.ExclusiveJob.run(ExclusiveJob.java:57)
at org.nlogo.nvm.Context.runExclusiveJob(Context.java:162)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.