com.google.gwt.dev.jjs.InternalCompilerException

Unexpected error during visit.

Samebug tips2

You need to make sure that capitalisation of the case for the plugin in the properties file is exactly: "AllocinePlugin" and not "allocineplugin"


This is a bug when using Micromax devices with VideoView. You can either exclude these devices or look at this workaround: http://stackoverflow.com/a/31942841/4347859

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web225

  • Unexpected error during visit.
  • Unexpected error during visit.
  • Unexpected error during visit.
  • Stack trace

    • com.google.gwt.dev.jjs.InternalCompilerException: Unexpected error during visit. at com.google.gwt.dev.jjs.ast.JVisitor.translateException(JVisitor.java:111) at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:276) at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265) at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:118) at com.google.gwt.dev.jjs.ast.JReturnStatement.traverse(JReturnStatement.java:40) at com.google.gwt.dev.jjs.ast.JModVisitor$ListContext.traverse(JModVisitor.java:88) at com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemove(JModVisitor.java:331) at com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java:92) at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361) at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273) at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:139) at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:135) at com.google.gwt.dev.jjs.ast.JMethodBody.traverse(JMethodBody.java:83) at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361) at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273) at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265) at com.google.gwt.dev.jjs.ast.JMethod.visitChildren(JMethod.java:785) at com.google.gwt.dev.jjs.ast.JMethod.traverse(JMethod.java:777) at com.google.gwt.dev.jjs.ast.JModVisitor$ListContextImmutable.traverse(JModVisitor.java:169) at com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemoveImmutable(JModVisitor.java:336) at com.google.gwt.dev.jjs.ast.JClassType.traverse(JClassType.java:147) at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361) at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273) at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265) at com.google.gwt.dev.jjs.ast.JProgram.visitModuleTypes(JProgram.java:1284) at com.google.gwt.dev.jjs.ast.JProgram.traverse(JProgram.java:1249) at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361) at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273) at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265) at com.google.gwt.dev.jjs.impl.ImplementClassLiteralsAsFields.execImpl(ImplementClassLiteralsAsFields.java:400) at com.google.gwt.dev.jjs.impl.ImplementClassLiteralsAsFields.exec(ImplementClassLiteralsAsFields.java:347) at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:1170) at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:255) at com.google.gwt.dev.Precompile.precompile(Precompile.java:255) at com.google.gwt.dev.Precompile.precompile(Precompile.java:202) at com.google.gwt.dev.Precompile.precompile(Precompile.java:143) at com.google.gwt.dev.Compiler.compile(Compiler.java:204) at com.google.gwt.dev.Compiler.compile(Compiler.java:155) at com.google.gwt.dev.Compiler.compile(Compiler.java:144) at com.google.gwt.dev.Compiler$1.run(Compiler.java:118) at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:55) at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:50) at com.google.gwt.dev.Compiler.main(Compiler.java:125) Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -20 at java.lang.String.substring(String.java:1919) at com.google.gwt.dev.jjs.ast.JDeclaredType.getCompoundName(JDeclaredType.java:288) at com.google.gwt.dev.jjs.impl.ImplementClassLiteralsAsFields$ClassLiteralFactoryMethod.maybeMangleJSOTypeName(ImplementClassLiteralsAsFields.java:194) at com.google.gwt.dev.jjs.impl.ImplementClassLiteralsAsFields$ClassLiteralFactoryMethod.createBaseCall(ImplementClassLiteralsAsFields.java:184) at com.google.gwt.dev.jjs.impl.ImplementClassLiteralsAsFields$ClassLiteralFactoryMethod.access$100(ImplementClassLiteralsAsFields.java:97) at com.google.gwt.dev.jjs.impl.ImplementClassLiteralsAsFields$ClassLiteralFactoryMethod$2.createCall(ImplementClassLiteralsAsFields.java:147) at com.google.gwt.dev.jjs.impl.ImplementClassLiteralsAsFields.createLiteralCall(ImplementClassLiteralsAsFields.java:452) at com.google.gwt.dev.jjs.impl.ImplementClassLiteralsAsFields.resolveClassLiteralField(ImplementClassLiteralsAsFields.java:481) at com.google.gwt.dev.jjs.impl.ImplementClassLiteralsAsFields.resolveClassLiteral(ImplementClassLiteralsAsFields.java:457) at com.google.gwt.dev.jjs.impl.ImplementClassLiteralsAsFields.access$200(ImplementClassLiteralsAsFields.java:85) at com.google.gwt.dev.jjs.impl.ImplementClassLiteralsAsFields$NormalizeVisitor.endVisit(ImplementClassLiteralsAsFields.java:227) at com.google.gwt.dev.jjs.ast.JClassLiteral.traverse(JClassLiteral.java:81) at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361) at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273) ... 41 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    2 times, 8 months ago
    2 times, 4 days ago
    Once, 3 weeks ago
    Once, 3 weeks ago
    Once, 1 month ago
    94 more bugmates