java.lang.NullPointerException

greenfoot.org | 6 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.

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