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

GitHub | ToonTalk | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Exceptions raised while running experiments headless can cause huge log files

    GitHub | 8 months ago | ToonTalk
    org.nlogo.nvm.ArgumentTypeException: ASK expected input to be an agent or agentset but got the number 0 instead.
  2. 0

    Error in ITEM but user code visible

    GitHub | 8 months ago | ToonTalk
    org.nlogo.nvm.ArgumentTypeException: ITEM expected input to be a string or list but got the number 0 instead.

    Root Cause Analysis

    1. 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()
    2. org.nlogo.nvm
      CommandTask.perform
      1. org.nlogo.nvm.CommandTask.perform(Task.scala:87)
      1 frame
    3. org.nlogo.prim
      _foreach.perform
      1. org.nlogo.prim.etc._foreach.perform(_foreach.scala:36)
      1 frame
    4. org.nlogo.nvm
      Context.runExclusiveJob
      1. org.nlogo.nvm.Context.runExclusive(Context.java:119)
      2. org.nlogo.nvm.ExclusiveJob.run(ExclusiveJob.java:57)
      3. org.nlogo.nvm.Context.runExclusiveJob(Context.java:162)
      3 frames