Summary: | [DOM] NullPointerException in ParenthesizedExpression.resolveTypeBinding() | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Tomas Pollak <tomas_pollak> | ||||||
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> | ||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | P3 | CC: | david_audel, Olivier_Thomann | ||||||
Version: | 3.4.2 | ||||||||
Target Milestone: | 3.5 M7 | ||||||||
Hardware: | PC | ||||||||
OS: | Windows XP | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
Tomas Pollak
2009-03-28 23:46:51 EDT
I cannot reproduce the failure. I tried on 3.4.2 and 3.5 integration builds. Could you please provide a more complete test case that reproduces the problem? Are you using statement recovery ? The NPE would mean that the new Integer(getId()) is not seen as an allocation expression. I would be null. I don't see how this can happen. Any news on this? Without further input, no action is planned. Ok, got a test case. Nodes created after the unit has been resolved are not expected to have bindings. Released for 3.5M7. Regression test added in: org.eclipse.jdt.core.tests.dom.ASTConverter15Test#test0324 Created attachment 131006 [details]
Proposed fix + regression test
Verified for 3.5M7 using I20090428-0100. Created attachment 135143 [details]
Proposed fix + regression test for 3.4 maintenance
|