java.lang.NullPointerException

greenfoot.org | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at LineOfSight.obstructedView()
  2. Unknown
    Enemy_Test2.act
    1. LineOfSight.obstructedView(LineOfSight.java:24)
    2. LineOfSight.obstructedView(LineOfSight.java:38)
    3. Enemy_Test2.act(Enemy_Test2.java:41)
    3 frames
  3. greenfoot.core
    Simulation.run
    1. greenfoot.core.Simulation.actActor(Simulation.java:604)
    2. greenfoot.core.Simulation.runOneLoop(Simulation.java:562)
    3. greenfoot.core.Simulation.runContent(Simulation.java:221)
    4. greenfoot.core.Simulation.run(Simulation.java:211)
    4 frames