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: | java.lang.NullPointerException | ||
---|---|---|---|
Product: | debugger | Reporter: | pepeio <pepeio> |
Component: | Java | Assignee: | Martin Entlicher <mentlicher> |
Status: | CLOSED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=2696 | ||
Issue Type: | DEFECT | Exception Reporter: | 2696 |
Bug Depends on: | |||
Bug Blocks: | 108873 | ||
Attachments: |
stacktrace
stacktrace |
Description
pepeio
2007-09-15 06:16:08 UTC
Created attachment 48877 [details]
stacktrace
It seems like ctx.typeContext is null. typeContext is null when the instanceContext is null. I can reproduce that on expression "getTestNull().field", where method getTestNull() returns null. Build: NetBeans IDE Dev (Build 200711040000) VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05 OS: Windows XP, 5.1, x86 User Comments: Created attachment 52492 [details]
stacktrace
Fixed in the new evaluator implementation: /shared/data/ccvs/repository/debuggerjpda/src/org/netbeans/modules/debugger/jpda/expr/Bundle.properties,v <-- Bundle.properties new revision: 1.12; previous revision: 1.11 /shared/data/ccvs/repository/debuggerjpda/src/org/netbeans/modules/debugger/jpda/expr/EvaluationException2.java,v <-- EvaluationException2.java new revision: 1.7; previous revision: 1.6 /shared/data/ccvs/repository/debuggerjpda/src/org/netbeans/modules/debugger/jpda/expr/EvaluatorVisitor.java,v <-- EvaluatorVisitor.java new revision: 1.11; previous revision: 1.10 Fixed in the new evaluator algorithm - see issue #108873. Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier. |