Eclipse为CaseStatement.resolveCase抛出ArrayIndexOutOfBoundsException

时间:2018-01-05 17:18:29

标签: javascript java eclipse indexoutofboundsexception heap-memory

我试图编译一些代码,但是看起来似乎是特定于Eclipse的错误。有没有人见过这个?我正在寻找可能的补丁但却无法找到。

Internal validation error java.lang.ArrayIndexOutOfBoundsException: 15 at 
 org.eclipse.wst.jsdt.internal.compiler.ast.CaseStatement.resolveCase(CaseStatement.ja
 va:82) at 
 org.eclipse.wst.jsdt.internal.compiler.ast.SwitchStatement.resolve(SwitchStatement.jav
 a:156) at 
 org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatement
 s(AbstractMethodDeclaration.java:350) at 
 org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(Metho
 dDeclaration.java:137) at 
 org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(Abstract
 MethodDeclaration.java:304) at 
 ...

抛出错误的文件是bootbox.js。如果我关闭JavaScript Validator,我会得到

java.lang.OutOfMemoryError: Java heap space.

谢谢!

0 个答案:

没有答案