janhaag/PSE2011 — Issue #33: NullPointerException after running program with statement breakpoint on last line
Author: syras
Created: 2012-02-26 12:45:31+00:00
State: open

When you execute this program

main() {
int i = 2; //<-- statement breakpoint on this line!
}

the following exception is displayed:

Exception in thread "Thread-1" java.lang.NullPointerException
at interpreter.ProgramExecution.checkBreakpoints(ProgramExecution.java:151)
at misc.ExecutionHandler.run(ExecutionHandler.java:80)
at gui.controller.MainController$1.run(MainController.java:194)