Hi David, It looks like i had a broken workspace. Switching to another one solved the problem.
Thank you. Alain 2011/5/2 David Chandler <[email protected]> > Can you supply sample code so we can reproduce this and research it? > > On Sun, May 1, 2011 at 4:11 AM, nino ekambi > <[email protected]>wrote: > >> Hello people, >> >> i m getting this error when compiling my GWT Project : >> >> [ERROR] Unexpected >> java.lang.ArrayIndexOutOfBoundsException: -1 >> at >> org.eclipse.jdt.internal.compiler.codegen.StackMapFrame.addStackItem(StackMapFrame.java:105) >> at >> org.eclipse.jdt.internal.compiler.ClassFile.traverse(ClassFile.java:7386) >> at >> org.eclipse.jdt.internal.compiler.ClassFile.completeCodeAttribute(ClassFile.java:1613) >> at >> org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.generateCode(AbstractMethodDeclaration.java:244) >> at >> org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.generateCode(AbstractMethodDeclaration.java:179) >> at >> org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.generateCode(TypeDeclaration.java:530) >> at >> org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.generateCode(TypeDeclaration.java:564) >> at >> org.eclipse.jdt.internal.compiler.ast.QualifiedAllocationExpression.generateCode(QualifiedAllocationExpression.java:169) >> at >> org.eclipse.jdt.internal.compiler.ast.Statement.generateArguments(Statement.java:102) >> at >> org.eclipse.jdt.internal.compiler.ast.MessageSend.generateCode(MessageSend.java:153) >> at >> org.eclipse.jdt.internal.compiler.ast.Expression.generateCode(Expression.java:601) >> at >> org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.generateCode(AbstractMethodDeclaration.java:232) >> at >> org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.generateCode(AbstractMethodDeclaration.java:179) >> at >> org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.generateCode(TypeDeclaration.java:530) >> at >> org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.generateCode(TypeDeclaration.java:564) >> at >> org.eclipse.jdt.internal.compiler.ast.QualifiedAllocationExpression.generateCode(QualifiedAllocationExpression.java:169) >> at >> org.eclipse.jdt.internal.compiler.ast.Statement.generateArguments(Statement.java:102) >> at >> org.eclipse.jdt.internal.compiler.ast.MessageSend.generateCode(MessageSend.java:153) >> at >> org.eclipse.jdt.internal.compiler.ast.Expression.generateCode(Expression.java:601) >> at >> org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.generateCode(AbstractMethodDeclaration.java:232) >> at >> org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.generateCode(AbstractMethodDeclaration.java:179) >> at >> org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.generateCode(TypeDeclaration.java:530) >> at >> org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.generateCode(TypeDeclaration.java:581) >> at >> org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.generateCode(CompilationUnitDeclaration.java:356) >> at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:755) >> at >> com.google.gwt.dev.javac.JdtCompiler$CompilerImpl.process(JdtCompiler.java:182) >> at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:444) >> at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:617) >> at >> com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.compile(CompilationStateBuilder.java:193) >> at >> com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:390) >> at >> com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:275) >> at >> com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:325) >> at com.google.gwt.dev.Precompile.precompile(Precompile.java:512) >> at com.google.gwt.dev.Precompile.precompile(Precompile.java:495) >> at com.google.gwt.dev.Precompile.precompile(Precompile.java:407) >> at com.google.gwt.dev.Compiler.run(Compiler.java:215) >> at com.google.gwt.dev.Compiler.run(Compiler.java:187) >> at com.google.gwt.dev.Compiler$1.run(Compiler.java:159) >> at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87) >> at >> com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:81) >> at com.google.gwt.dev.Compiler.main(Compiler.java:166) >> >> >> Can somebody help me with this please ? >> >> cheers, >> >> Alain >> >> -- >> >> GWT API for non Java based platforms >> http://code.google.com/p/gwt4air/ >> http://www.gwt4air.appspot.com/ >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Web Toolkit" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/google-web-toolkit?hl=en. >> > > > > -- > David Chandler > Developer Programs Engineer, Google Web Toolkit > w: http://code.google.com/ > b: http://googlewebtoolkit.blogspot.com/ > t: @googledevtools > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > -- GWT API for non Java based platforms http://code.google.com/p/gwt4air/ http://www.gwt4air.appspot.com/ -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
