NPE is thrown from VMConnection

Robert Field robert.field at oracle.com
Fri Mar 6 18:58:41 UTC 2015


I am unable to reproduce this, which isn't surprising because 
synchronization is a very platform dependent area.  I have just pushed a 
fix that should address this.  If you see other cases of this, please, 
again, send a stack trace.

Thanks,
Robert

On 03/06/15 04:06, andrei.eremeev wrote:
> Hi REPL team,
>
> From times to times NPE is thrown from VMConnection, but none of tests 
> fails.
> It looks like VMConnection is accessed from several threads. If is 
> true, synchronization should be added.
>
> Exception in thread "event-handler" java.lang.NullPointerException
>         at impl.VMConnection.disposeVM(VMConnection.java:379)
>         at impl.JDIEnv.shutdown(JDIEnv.java:57)
>         at impl.JDIEventHandler.handleExitEvent(JDIEventHandler.java:129)
>         at impl.JDIEventHandler.handleEvent(JDIEventHandler.java:109)
>         at impl.JDIEventHandler.run(JDIEventHandler.java:71)
>         at java.lang.Thread.run(Thread.java:745)
>
> Andrei Eremeev
>



More information about the kulla-dev mailing list