|
Re: Unhandled event loop exception creating Java class [message #1786001 is a reply to message #1785973] |
Tue, 24 April 2018 04:19 |
Ed Merks Messages: 33113 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.03666 seconds