Bug: NPE after class replacement

Robert Field robert.field at oracle.com
Wed Feb 25 21:17:55 UTC 2015


I just pushed a fix for the underlying bug that caused this.
However, the question of how to address changes that utterly break 
classes (no corralling is possible) needs to be examined.  Probably 
during or after the implementation of class corralling.

-Robert

On 02/25/15 08:56, andrei.eremeev wrote:
> Hi REPL team,
>
> NPE after replacing a class on which another class depends.
>
> -> class A {}
> |  Added class A
>
> -> class B extends A {}
> |  Added class B
>
> -> interface A {}
> |  Replaced interface A
> Exception in thread "main" java.lang.NullPointerException
>     at tool.Repl.handleUpdates(Repl.java:668)
>     at tool.Repl.processSource(Repl.java:651)
>     at tool.Repl.run(Repl.java:271)
>     at tool.Repl.start(Repl.java:201)
>     at tool.Repl.start(Repl.java:168)
>     at tool.Repl.main(Repl.java:163)
>
>
> Andrei Eremeev



More information about the kulla-dev mailing list