Community
Participate
Working Groups
//Example: class Foo<T> {} class Bar extends Foo<Bar.Baz> {} Above code causes an internal compiler NullPointerException. Trying to copy code from editor or focus on error tooltip triggers an error popup that says: The command for the key you pressed failed Reason: java.lang.NullPointerException
J2SE 5 compliance was on, otherwise used default settings.
Only causes internal compiler error in clean environment, but creates endless 'An internal error occurred during: "Requesting Java AST from selection"' error popups in my production environment. This is a serious problem, since this happens whenever the compiler doesn't think the inner class exists, such as when there are unmatched brackets or an unfinished method declaration. Sorry, but I have no idea which setting might be causing the difference.
Can you paste the complete stack trace please. Looks like a duplicate of bug 96134.
Added GenericType test682
Verified on build I20050527-0010.