org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.teavm:teavm-maven-plugin:1.0.0-cn1-004:compile (web-client) on project KitchenSink: Unexpected error occured

GitHub | shannah | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Build error when synchronous code inside override of equals()

    GitHub | 7 months ago | shannah
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.teavm:teavm-maven-plugin:1.0.0-cn1-004:compile (web-client) on project KitchenSink: Unexpected error occured

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      -1

      at org.teavm.common.LCATree.lcaOf()
    2. org.teavm.common
      GraphUtils.splitIrreducibleGraph
      1. org.teavm.common.LCATree.lcaOf(LCATree.java:72)
      2. org.teavm.common.DJGraph.isSpanningBack(DJGraph.java:161)
      3. org.teavm.common.IrreducibleGraphConverter.handleLoops(IrreducibleGraphConverter.java:53)
      4. org.teavm.common.IrreducibleGraphConverter.splitStronglyConnectedComponent(IrreducibleGraphConverter.java:230)
      5. org.teavm.common.IrreducibleGraphConverter.handleStronglyConnectedComponent(IrreducibleGraphConverter.java:133)
      6. org.teavm.common.IrreducibleGraphConverter.handleLoops(IrreducibleGraphConverter.java:65)
      7. org.teavm.common.IrreducibleGraphConverter.convertToReducible(IrreducibleGraphConverter.java:43)
      8. org.teavm.common.GraphUtils.splitIrreducibleGraph(GraphUtils.java:169)
      8 frames
    3. org.teavm.model
      AsyncProgramSplitter.split
      1. org.teavm.model.util.AsyncProgramSplitter.split(AsyncProgramSplitter.java:159)
      1 frame
    4. org.teavm.javascript
      Decompiler.decompile
      1. org.teavm.javascript.Decompiler.decompileAsyncCacheMiss(Decompiler.java:320)
      2. org.teavm.javascript.Decompiler.decompileAsync(Decompiler.java:288)
      3. org.teavm.javascript.Decompiler.decompile(Decompiler.java:219)
      4. org.teavm.javascript.Decompiler.decompile(Decompiler.java:209)
      4 frames
    5. org.teavm.vm
      TeaVM.build
      1. org.teavm.vm.TeaVM.modelToAst(TeaVM.java:578)
      2. org.teavm.vm.TeaVM.build(TeaVM.java:411)
      2 frames
    6. org.teavm.tooling
      TeaVMTool.generate
      1. org.teavm.tooling.TeaVMTool.generate(TeaVMTool.java:344)
      1 frame
    7. org.teavm.maven
      BuildJavascriptMojo.execute
      1. org.teavm.maven.BuildJavascriptMojo.execute(BuildJavascriptMojo.java:101)
      1 frame
    8. Maven Plugin
      DefaultBuildPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
      1 frame
    9. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
      2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
      5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
      6. org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
      7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
      8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
      9. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
      9 frames
    10. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
      2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
      3. org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
      3 frames
    11. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:483)
      4 frames
    12. Plexus
      Launcher.main
      1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
      2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
      3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
      4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
      4 frames