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.
[0700710] jdk 1.5.0_11, linux The exception was thrown during debug trace action. java.lang.NullPointerException at org.netbeans.modules.debugger.jpda.models.WatchesModel$JPDAWatchEvaluating.getType(WatchesModel.java:334) at org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilter.getFilter(VariablesTreeModelFilter.java:447) at org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilter.access$100(VariablesTreeModelFilter.java:52) at org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilter$3.run(VariablesTreeModelFilter.java:253) at org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilter.run(VariablesTreeModelFilter.java:126) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964)
Created attachment 44896 [details] Expception
If I had a different highlighting for fields sooner, I would not make this bug. Almost a typo...
Fixed: /shared/data/ccvs/repository/debuggerjpda/src/org/netbeans/modules/debugger/jpda/models/WatchesModel.java,v <-- WatchesModel.java new revision: 1.38; previous revision: 1.37
I can see it in latest build on mac osx with jdk 1.5.0_07 after each creation of watch: java.lang.NullPointerException at org.netbeans.modules.debugger.jpda.models.WatchesModel$JPDAWatchEvaluating.getType(WatchesModel.java:336) at org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilter.getFilter(VariablesTreeModelFilter.java:447) at org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilter.access$100(VariablesTreeModelFilter.java:52) at org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilter$3.run(VariablesTreeModelFilter.java:253) at org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilter.run(VariablesTreeModelFilter.java:126) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964)
Further correction is applied: /shared/data/ccvs/repository/debuggerjpda/src/org/netbeans/modules/debugger/jpda/models/WatchesModel.java,v <-- WatchesModel.java new revision: 1.39; previous revision: 1.38
*** Issue 109397 has been marked as a duplicate of this issue. ***
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.