This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | NullPointerException at org.netbeans.modules.debugger.ui.views.debugging.DebuggingViewComponent$4.run | ||
---|---|---|---|
Product: | debugger | Reporter: | Alexander Pepin <apepin> |
Component: | Code | Assignee: | Martin Entlicher <mentlicher> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | issues |
Priority: | P2 | ||
Version: | 8.1 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 221118 |
Attachments: |
stacktrace
the second exception The third exception |
Description
Alexander Pepin
2015-11-12 10:58:43 UTC
Created attachment 157300 [details]
stacktrace
In fact two more exception occur as well. Created attachment 157302 [details]
the second exception
Created attachment 157303 [details]
The third exception
Also On Solaris I see such dialog windows: 1) glue: MsgSnd.snd_via(): socket write of msg 'DBX_STACK_NOTIFY' failed -- Broken pipe 2) glue: MsgSnd.snd_via(): no socket -- msg 'DBX_THREADS_NOTIFY dropped 3) glue: MsgSnd.snd_via(): socket write of msg 'dbx_locals_notify' failed -- Broken pipe One more concomitant exception java.lang.NullPointerException at org.netbeans.modules.cnd.debugger.gdb2.GdbDebuggerImpl.makeThreadCurrent(GdbDebuggerImpl.java:1860) at org.netbeans.modules.cnd.debugger.gdb2.GdbDebuggerImpl$21.onDone(GdbDebuggerImpl.java:2320) at org.netbeans.modules.cnd.debugger.gdb2.mi.MICommandManager.dispatch(MICommandManager.java:194) at org.netbeans.modules.cnd.debugger.gdb2.mi.MIProxy.dispatch(MIProxy.java:188) at org.netbeans.modules.cnd.debugger.gdb2.Gdb$MyMIProxy.dispatch(Gdb.java:697) at org.netbeans.modules.cnd.debugger.gdb2.mi.MIProxy.result(MIProxy.java:193) at org.netbeans.modules.cnd.debugger.gdb2.mi.MIProxy.processLine(MIProxy.java:157) at org.netbeans.modules.cnd.debugger.gdb2.Tap$4.run(Tap.java:327) Caused: java.lang.Exception: when processing line: 155^done,threads=[] at org.netbeans.modules.cnd.debugger.gdb2.Tap$4.run(Tap.java:329) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058) please disregard comment #6 see also bug #256562 If a modal dialog appears during the context switch (or maybe during the disposal) in the debugging view the NPE occurs. I did not reproduce it, but should be fixed by changeset: 293575:1a941c342ea4 http://hg.netbeans.org/core-main/rev/1a941c342ea4 Please verify after the fix propagates to a daily build. Integrated into 'main-silver', will be available in build *201511150002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/1a941c342ea4 User: mentlicher@netbeans.org Log: #256544: Fixing NPE when treeView is reset e.g. in a modal dialog events processing. Martin, can you explain the fix, please? You introduce local variable and then don't use it (only write it) Oops, I'm sorry. Yes, I forgot to actually replace the usage of treeView field with the local variable. :-( Finally fixed by changeset: 293824:5cb462197b07 http://hg.netbeans.org/core-main/rev/5cb462197b07 Please verify. Integrated into 'main-silver', will be available in build *201511190002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/5cb462197b07 User: mentlicher@netbeans.org Log: #256544: Fixing NPE when treeView becomes null - 2nd part of the previous change. Alexander can you, please, verify the fix? Thanks Yes, could you please send me fixed jar file (8.1 based). It's already transplanted in the release81 branch. I do not know who have put it there. Then this will be part of 8.1 Patch 1 update. Somebody managed to delete Alexander's message and revert his verification ?!? HOW?!? Alexander, please submit a separate issue for this: glue: MsgSnd.snd_via(): socket write of msg 'dbx_mem_notify' failed -- Broken pipe It's not related to NB debugger infrastructure, but Studio dbx integration. Yes, something strange happened... This bug can be considered as fixed. The only remaining issue is glue warning windows mentioned in comment #5. Now the last glue message is changed to glue: MsgSnd.snd_via(): socket write of msg 'dbx_mem_notify' failed -- Broken pipe. And I will file a bug against Studio IDE in BugDB. Verified in build 20160130. |