|
Re: Unhandled event loop exception creating Java class [message #1786001 is a reply to message #1785973] |
Tue, 24 April 2018 04:19 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Ed Merks![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=ed.merks%40gmail.com) Messages: 33187 Registered: July 2009 |
Senior Member |
|
|
What are your default compliance settings in Preferences -> Java -> Compiler? How is your JRE configured in Preferences -> Java -> Installed JREs? The method where the exception is throws looks like this: ASTParser(int level) {
switch(level) {
case AST.JLS2_INTERNAL:
case AST.JLS3_INTERNAL:
case AST.JLS4_INTERNAL:
case AST.JLS8_INTERNAL:
case AST.JLS9_INTERNAL:
case AST.JLS10_INTERNAL:
break;
default:
throw new IllegalArgumentException();
}
this.apiLevel = level;
initializeDefaults();
}
That suggests to me that somehow it's being called with a level that's not supported by the implementation you actually have. Are you sure you have the latest Oxygen update installed? I ask because the line number of the exception is off by one compared to the version of ASTParser.java that I have, so perhaps you're trying to use Java 10 with a version of JDT that doesn't support that.
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03057 seconds