CSS3 PIE Forums
http://css3pie.com/forum/

PIE_IE67.js ArrayIndexOutOfBoundsException in Eclipse
http://css3pie.com/forum/viewtopic.php?f=6&t=2089
Page 1 of 1

Author:  KristjanLaane [ Sun Jul 14, 2013 2:07 pm ]
Post subject:  PIE_IE67.js ArrayIndexOutOfBoundsException in Eclipse

I'm trying to export a WAR of a Tomcat project in Eclipse that has PIE in it, but Eclipse refuses to build the project due to an exception in PIE_IE67.js

---------
Errors running builder 'JavaScript Validator' on project 'ProjectName'.
java.lang.ArrayIndexOutOfBoundsException
---------

The other files produce no errors,
and I have tried both the latest release at http://css3pie.com/download-latest-2.x
and the latest source code as of now (built using the ant script) - both have the same blocking issue..

Is this a real issue with the code and how should I resolve it, or do I need to somehow make Eclipse ignore this error?

Ta,
K


Full details:

- Internal validation error java.lang.ArrayIndexOutOfBoundsException: 1 at
org.eclipse.wst.jsdt.internal.compiler.flow.UnconditionalFlowInfo.markAsDefinitelyNonNull(UnconditionalFlowInfo.java:1193) at
org.eclipse.wst.jsdt.internal.compiler.ast.FieldReference.analyseAssignment(FieldReference.java:80) at
org.eclipse.wst.jsdt.internal.compiler.ast.CompoundAssignment.analyseCode(CompoundAssignment.java:49) at
org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.analyseCode(MethodDeclaration.java:91) at
org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.analyseCode(AbstractMethodDeclaration.java:110) at
org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.analyseCode(MethodDeclaration.java:89) at
org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.analyseCode(AbstractMethodDeclaration.java:110) at
org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.analyseCode(FunctionExpression.java:74) at
org.eclipse.wst.jsdt.internal.compiler.ast.ObjectLiteralField.analyseCode(ObjectLiteralField.java:78) at
org.eclipse.wst.jsdt.internal.compiler.ast.ObjectLiteral.analyseCode(ObjectLiteral.java:97) at
org.eclipse.wst.jsdt.internal.compiler.ast.FieldReference.analyseAssignment(FieldReference.java:91) at
org.eclipse.wst.jsdt.internal.compiler.ast.Assignment.analyseCode(Assignment.java:63) at
org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.analyseCode(MethodDeclaration.java:91) at
org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.analyseCode(AbstractMethodDeclaration.java:110) at
org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.analyseCode(FunctionExpression.java:74) at
org.eclipse.wst.jsdt.internal.compiler.ast.Expression.analyseCode(Expression.java:184) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.analyseCode(MessageSend.java:
65) at org.eclipse.wst.jsdt.internal.compiler.ast.FieldReference.analyseAssignment(FieldReference.java:91) at
org.eclipse.wst.jsdt.internal.compiler.ast.Assignment.analyseCode(Assignment.java:63) at
org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.analyseCode(MethodDeclaration.java:91) at
org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.analyseCode(AbstractMethodDeclaration.java:110) at
org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.analyseCode(FunctionExpression.java:74) at
org.eclipse.wst.jsdt.internal.compiler.ast.Expression.analyseCode(Expression.java:184) at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.analyseCode(MessageSend.java:
65) at org.eclipse.wst.jsdt.internal.compiler.ast.CompilationUnitDeclaration.analyseCode(CompilationUnitDeclaration.java:155) at
org.eclipse.wst.jsdt.internal.compiler.Compiler.process(Compiler.java:609) at org.eclipse.wst.jsdt.internal.compiler.Compiler.compile(Compiler.java:355) at
org.eclipse.wst.jsdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:288) at
org.eclipse.wst.jsdt.internal.core.builder.BatchImageBuilder.compile(BatchImageBuilder.java:86) at
org.eclipse.wst.jsdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:227) at
org.eclipse.wst.jsdt.internal.core.builder.BatchImageBuilder.build(BatchImageBuilder.java:58) at org.eclipse.wst.jsdt.internal.core.builder.JavaBuilder.buildAll(JavaBuilder.java:
291) at org.eclipse.wst.jsdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:199) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:726) at
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199) at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292) at
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295) at
org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374) at
org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241) at
org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

Author:  jason [ Mon Jul 15, 2013 2:10 pm ]
Post subject:  Re: PIE_IE67.js ArrayIndexOutOfBoundsException in Eclipse

Ignore it. There's no reason Eclipse should be attempting to parse/validate it.

Page 1 of 1 All times are UTC - 7 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/