Summary: | DOM/AST: NullPointerException | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Luc Bourlier <eclipse> |
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P2 | ||
Version: | 2.0 | ||
Target Milestone: | 2.0 M4 | ||
Hardware: | PC | ||
OS: | Windows NT | ||
Whiteboard: |
Description
Luc Bourlier
2002-03-06 15:39:23 EST
The return type of the method declaration is null and I am trying to convert a null type. This led to a NPE. Now I ignore the conversion of the return type if it is null. This means that the return type of the method will be void if you asked for it. If you asked for binding, then you will get an error reported in the compilation unit's messages collection. The message is "Return type for the method is missing". I think this is perfectly acceptable. Fixed and released in HEAD. |