| Summary: | NPE while saving a file and debugging an ant task | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Olivier Thomann <Olivier_Thomann> | ||||
| Component: | Debug | Assignee: | Michael Rennie <Michael_Rennie> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | friend.kondal, pawel.1.piech | ||||
| Version: | 3.7 | Flags: | Olivier_Thomann:
review+
|
||||
| Target Milestone: | 3.7 RC1 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Olivier Thomann
Created attachment 195355 [details]
fix
provides a check for the returned value of the shared AST
Olivier, please verify the patch. Looks good. A null check is needed at this location. I also believe the doc of org.eclipse.jdt.ui.SharedASTProvider.getAST(ITypeRoot, WAIT_FLAG, IProgressMonitor) method should specify that null can be returned of the operation is canceled. See bug 345429. Fixed in HEAD *** Bug 409937 has been marked as a duplicate of this bug. *** |