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.jpda.models.LocalsTreeModel.getChildrenImpl | ||
---|---|---|---|
Product: | debugger | Reporter: | axiomsofchoice <axiomsofchoice> |
Component: | Java | Assignee: | Martin Entlicher <mentlicher> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | sustaining |
Priority: | P3 | Keywords: | SIMPLEFIX |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=45253 | ||
Issue Type: | DEFECT | Exception Reporter: | 45253 |
Attachments: |
stacktrace
Suggested patch for LocalsTreeModel.java |
Description
axiomsofchoice
2008-04-09 19:20:03 UTC
Created attachment 59926 [details]
stacktrace
It's likely that the thread was resumed right before this call, which cleared the last operations and caused this NPE. A check for null last operations will fix this. Created attachment 59997 [details]
Suggested patch for LocalsTreeModel.java
Fixed in main http://hg.netbeans.org/main/rev/51e31260a22c Fixed in main I'm not able to verify this issue, there are no steps to reproduce. But "if" condition looks cool and I am sure that this npe was fixed correctly. Verified in nb_iz_132456_patch_1.txt :) I've backported the changeset http://hg.netbeans.org/main/rev/51e31260a22c into release61_fixes repository as http://hg.netbeans.org/release61_fixes/rev/c2c5ad6cd49b changeset: 77486:c2c5ad6cd49b tag: tip user: Rudolf Balada <rbalada@netbeans.org> date: Thu Apr 10 18:00:46 2008 +0200 summary: IZ 132456: NullPointerException at org.netbeans.modules.debugger.jpda.models.LocalsTreeModel.getChildrenImpl |