Summary: | [1.5][compiler] Null Pointer exception parsing code. | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Julia Smith <invisiblesun> |
Component: | Core | Assignee: | Kent Johnson <kent_johnson> |
Status: | VERIFIED DUPLICATE | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | david_audel, Olivier_Thomann, philippe_mulet |
Version: | 3.3.2 | ||
Target Milestone: | 3.5 M3 | ||
Hardware: | PC | ||
OS: | Mac OS X - Carbon (unsup.) | ||
Whiteboard: |
Description
Julia Smith
2008-07-24 10:51:05 EDT
LookupEnvironment.createParameterizedType(line 725) is passed null as the genericType from line 1121 in LookupEnvironment : ReferenceBinding memberType = parameterizedType.genericType().getMemberType(memberName); // NO check to see if this is null ... parameterizedType = createParameterizedType(memberType, typeArguments, parameterizedType); Seems to be a case where: ReferenceBinding memberType = parameterizedType.genericType().getMemberType(memberName); returns null. If you have a case that is causing the problem in a reproducable way, you can provide it to us even if the test case is big. Definitely a scenario which we need to reproduce to assess a good fix. Julia - do you know if this problem has happened again or just the one time ? Julia - this appears to be the same problem as bug 244762 Somehow we cannot find a member type referenced from a .class file. Do you know if you're using libraries compiled by other compilers? Julia - please reopen if your problem is not fixed with a recent 3.5 stream build Closing as a duplicate of bug 244762 Stack trace is the same as https://bugs.eclipse.org/bugs/show_bug.cgi?id=244762#c3 *** This bug has been marked as a duplicate of bug 244762 *** Verified for 3.5M3. |