| Summary: | [evaluation] Breakpoint Property Condition generates NullPointerException | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Juergen <doubrawa.juergen> |
| Component: | Debug | Assignee: | Platform-Debug-Inbox <platform-debug-inbox> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | darin.eclipse, Michael_Rennie |
| Version: | 3.4.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
by the way, this condition works: ((Object) t.getA()) != null *** This bug has been marked as a duplicate of bug 244263 *** |
Build ID: M20080911-1700 Steps To Reproduce: I get a "NullPointerException at intValue()" if I make a not null condition on an Integer. Test code: public class Main { public static void main(String[] args) { Test t = new Test(); Integer a = t.getA(); //breakpoint here. condition: t.getA() != null } } public class Test { private Integer a; public Integer getA() { return this.a; } public void setA(Integer a) { this.a = a; } } More information: