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: | [70cat] NullPointerException: Null child at index 7, parent: Root, model: org.netbeans.spi.viewmodel.Models$CompoundModel@14d7a8e TreeModel = org.netbeans.spi.viewmodel.Models$DelegatingTreeModel@191c9a | ||
---|---|---|---|
Product: | cnd | Reporter: | tbrunhoff <tbrunhoff> |
Component: | Debugger | Assignee: | Egor Ushakov <gorrus> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | aldobrucale, artisan, emiddio, mentlicher, milinkp, mmirilovic, narve, phill84, sebglon |
Priority: | P1 | ||
Version: | 7.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 177450 |
Attachments: | stacktrace |
Description
tbrunhoff
2011-03-04 17:21:43 UTC
Created attachment 106724 [details]
stacktrace
This looks like org.netbeans.modules.cnd.debugger.common2.debugger.StackModel.getChildren() returned an array with a null element. This could happen only when GdbDebuggerImpl.getStack() returns an array with a null element. guiStackFrames array is initialized in setStackWithArgs() method and this method is called in a RequestProcessor thread. getStack() is called in AWT and there's no synchronization. Therefore it's possible that the AWT thread gets a partially initialized array in getStack() method. *** Bug 196552 has been marked as a duplicate of this bug. *** fixed in trunk: http://hg.netbeans.org/cnd-main/rev/94f144614857 showstopper, please verify fix in trunk just my two cents - look at issue 196553 - it's similar and it's already fixed in 7.0 should not be marked as fixed until it is in release branch Integrated into 'main-golden', will be available in build *201103110400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/94f144614857 User: Egor Ushakov <gorrus@netbeans.org> Log: fixed #196318 (NPE in Stack view) As nobody can verify the fix or reproduce a bug we can consider the fix as successful and push it into RC branch. integrated into release70: http://hg.netbeans.org/releases/rev/baa49f912246 can not reproduce NPE in RC1 build 20110322. |