Community
Participate
Working Groups
Build Identifier: I20100608-0911 While working with a proprietary gdbserver that generates threads lists for a target, an exception is thrown: java.lang.NullPointerException at org.eclipse.cdt.debug.internal.ui.disassembly.dsf.DisassemblyBackendCdi.setDebugContext(DisassemblyBackendCdi.java:147) at org.eclipse.cdt.dsf.debug.internal.ui.disassembly.DisassemblyPart.updateDebugContext(DisassemblyPart.java:1798) at org.eclipse.cdt.dsf.debug.internal.ui.disassembly.DisassemblyView$1.selectionChanged(DisassemblyView.java:66) at org.eclipse.ui.internal.AbstractPartSelectionTracker$1.run(AbstractPartSelectionTracker.java:119) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.runtime.Platform.run(Platform.java:888) The actual line causing this issue is: result.frameLevel = ((CStackFrame)((fTargetContext.getTopStackFrame()))).getLevel() - fTargetFrameContext.getLevel(); getTopStackFrame returns null and the function fails. Reproducible: Always Steps to Reproduce: Unfortunately requires our proprietary gdbserver/debug configuration. If this can not be solved without, let me know and I'll see what can be done.
*** This bug has been marked as a duplicate of bug 317226 ***