org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-plugin:4.2-beta:compile-swc (default-compile-swc) on project wf_amCharts: java.lang.reflect.InvocationTargetException

Sonatype JIRA | Vincent Mutambuki | 3 years ago
  1. 0

    I can consistently reproduce this issue by deleting my local repository and running a multi-module project in parallel. The first build always fails. If you re-run the build, it passes. This affects version 4.2-beta of the flexmojos project. org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-plugin:4.2-beta:compile-swc (default-compile-swc) on project wf_amCharts: java.lang.reflect.InvocationTargetException at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleThreadedBuilder$1.call(LifecycleThreadedBuilder.java:167) at org.apache.maven.lifecycle.internal.LifecycleThreadedBuilder$1.call(LifecycleThreadedBuilder.java:164) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:680) Caused by: org.apache.maven.plugin.MojoExecutionException: java.lang.reflect.InvocationTargetException at org.sonatype.flexmojos.plugin.AbstractMavenMojo.checkResult(AbstractMavenMojo.java:290) at org.sonatype.flexmojos.plugin.compiler.AbstractFlexCompilerMojo.executeCompiler(AbstractFlexCompilerMojo.java:1673) at org.sonatype.flexmojos.plugin.compiler.CompcMojo.execute_aroundBody0(CompcMojo.java:234) at org.sonatype.flexmojos.plugin.compiler.CompcMojo.execute_aroundBody1$advice(CompcMojo.java:49) at org.sonatype.flexmojos.plugin.compiler.CompcMojo.execute_aroundBody2(CompcMojo.java:228) at org.sonatype.flexmojos.plugin.compiler.CompcMojo.execute_aroundBody3$advice(CompcMojo.java:14) at org.sonatype.flexmojos.plugin.compiler.CompcMojo.execute_aroundBody4(CompcMojo.java:1) at org.sonatype.flexmojos.plugin.compiler.CompcMojo.execute_aroundBody5$advice(CompcMojo.java:17) at org.sonatype.flexmojos.plugin.compiler.CompcMojo.execute(CompcMojo.java:1) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 13 more Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.sonatype.flexmojos.compiler.util.DefaultFlexCompilerArgumentParser.getArgumentsList(DefaultFlexCompilerArgumentParser.java:56) at org.sonatype.flexmojos.compiler.util.DefaultFlexCompilerArgumentParser.parseArguments(DefaultFlexCompilerArgumentParser.java:38) at org.sonatype.flexmojos.compiler.util.DefaultFlexCompilerArgumentParser.parseArguments(DefaultFlexCompilerArgumentParser.java:33) at org.sonatype.flexmojos.compiler.DefaultFlexCompiler$1.command(DefaultFlexCompiler.java:32) at org.sonatype.flexmojos.compiler.command.CommandUtil$1.run(CommandUtil.java:33) ... 1 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.sonatype.flexmojos.compiler.util.DefaultFlexCompilerArgumentParser.doGetArgs(DefaultFlexCompilerArgumentParser.java:93) at org.sonatype.flexmojos.compiler.util.DefaultFlexCompilerArgumentParser.doGetArgs(DefaultFlexCompilerArgumentParser.java:106) at org.sonatype.flexmojos.compiler.util.DefaultFlexCompilerArgumentParser.doGetArgs(DefaultFlexCompilerArgumentParser.java:106) at org.sonatype.flexmojos.compiler.util.DefaultFlexCompilerArgumentParser.getArgumentsList(DefaultFlexCompilerArgumentParser.java:52) ... 5 more Caused by: org.sonatype.flexmojos.plugin.compiler.attributes.MavenRuntimeException: Unable to retrieve flex default namespaces! at org.sonatype.flexmojos.plugin.compiler.AbstractFlexCompilerMojo.getNamespace_aroundBody166(AbstractFlexCompilerMojo.java:2552) at org.sonatype.flexmojos.plugin.compiler.AbstractFlexCompilerMojo.getNamespace_aroundBody167$advice(AbstractFlexCompilerMojo.java:37) at org.sonatype.flexmojos.plugin.compiler.AbstractFlexCompilerMojo.getNamespace(AbstractFlexCompilerMojo.java:1) ... 13 more Caused by: java.io.FileNotFoundException: /Users/vincentmutambuki/.m2/repository/com/adobe/flex/framework/framework/4.5.1.21328/configs_zip/flex-config.xml (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:120) at java.io.FileReader.<init>(FileReader.java:55) at org.sonatype.flexmojos.plugin.compiler.AbstractFlexCompilerMojo.getNamespace_aroundBody166(AbstractFlexCompilerMojo.java:2532) ... 15 more

    Sonatype JIRA | 3 years ago | Vincent Mutambuki
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-plugin:4.2-beta:compile-swc (default-compile-swc) on project wf_amCharts: java.lang.reflect.InvocationTargetException
  2. 0

    ftb pack freezes when opening world

    GitHub | 4 years ago | nag3000
    java.io.FileNotFoundException: /Users/prestonsettle/Desktop/untitled folder/logindata (No such file or directory)
  3. 0

    java.io.FileNotFoundException

    GitHub | 3 years ago | mtelka
    java.io.FileNotFoundException: /var/opt/opengrok/src/illumos-gate/usr/src/tools/scripts/build_osnet.sh (No such file or directory)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    FileNotFoundException running JBehave (Maven Project, IntelliJ)

    Stack Overflow | 2 years ago
    java.io.FileNotFoundException: C:\Source\DataLoader\target\jbehave\storyDurations.props (The system cannot find the file specified)
  6. 0

    [android] Using Android SDK: /opt/android-sdk-linux [android] Creating Android AVD: /var/lib/jenkins/.android/avd/hudson_en-US_217_WVGA_android-10.avd ERROR: Failed to parse POMs java.io.FileNotFoundException: /var/lib/jenkins/.android/avd/hudson_en-US_217_WVGA_android-10.avd/config.ini (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:120) at java.io.FileReader.<init>(FileReader.java:55) at hudson.plugins.android_emulator.util.Utils.parseConfigFile(Utils.java:349) at hudson.plugins.android_emulator.EmulatorConfig.parseAvdConfigFile(EmulatorConfig.java:234) at hudson.plugins.android_emulator.EmulatorConfig.access$300(EmulatorConfig.java:26) at hudson.plugins.android_emulator.EmulatorConfig$EmulatorConfigTask.call(EmulatorConfig.java:577) at hudson.plugins.android_emulator.EmulatorConfig$EmulatorConfigTask.call(EmulatorConfig.java:553) at hudson.remoting.LocalChannel.call(LocalChannel.java:45) at hudson.plugins.android_emulator.AndroidEmulator.doSetUp(AndroidEmulator.java:250) at hudson.plugins.android_emulator.AndroidEmulator.setUp(AndroidEmulator.java:220) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:602) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:462) at hudson.model.Run.run(Run.java:1404) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:478) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) Archiving artifacts Finished: FAILURE

    Jenkins JIRA | 5 years ago | Marton Meszaros
    java.io.FileNotFoundException: /var/lib/jenkins/.android/avd/hudson_en-US_217_WVGA_android-10.avd/config.ini (No such file or directory)

  1. jshakil 1 times, last 1 month ago
  2. serious2monkeys 4 times, last 2 months ago
  3. davidvanlaatum 1 times, last 3 months ago
  4. Christopher 3 times, last 3 months ago
  5. r1chjames 1 times, last 5 months ago
5 more registered users
19 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.FileNotFoundException

    /Users/vincentmutambuki/.m2/repository/com/adobe/flex/framework/framework/4.5.1.21328/configs_zip/flex-config.xml (No such file or directory)

    at java.io.FileInputStream.open()
  2. Java RT
    FileReader.<init>
    1. java.io.FileInputStream.open(Native Method)
    2. java.io.FileInputStream.<init>(FileInputStream.java:120)
    3. java.io.FileReader.<init>(FileReader.java:55)
    3 frames
  3. org.sonatype.flexmojos
    AbstractFlexCompilerMojo.getNamespace
    1. org.sonatype.flexmojos.plugin.compiler.AbstractFlexCompilerMojo.getNamespace_aroundBody166(AbstractFlexCompilerMojo.java:2532)
    2. org.sonatype.flexmojos.plugin.compiler.AbstractFlexCompilerMojo.getNamespace_aroundBody167$advice(AbstractFlexCompilerMojo.java:37)
    3. org.sonatype.flexmojos.plugin.compiler.AbstractFlexCompilerMojo.getNamespace(AbstractFlexCompilerMojo.java:1)
    3 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  5. org.sonatype.flexmojos
    CommandUtil$1.run
    1. org.sonatype.flexmojos.compiler.util.DefaultFlexCompilerArgumentParser.doGetArgs(DefaultFlexCompilerArgumentParser.java:93)
    2. org.sonatype.flexmojos.compiler.util.DefaultFlexCompilerArgumentParser.doGetArgs(DefaultFlexCompilerArgumentParser.java:106)
    3. org.sonatype.flexmojos.compiler.util.DefaultFlexCompilerArgumentParser.doGetArgs(DefaultFlexCompilerArgumentParser.java:106)
    4. org.sonatype.flexmojos.compiler.util.DefaultFlexCompilerArgumentParser.getArgumentsList(DefaultFlexCompilerArgumentParser.java:52)
    5. org.sonatype.flexmojos.compiler.util.DefaultFlexCompilerArgumentParser.parseArguments(DefaultFlexCompilerArgumentParser.java:38)
    6. org.sonatype.flexmojos.compiler.util.DefaultFlexCompilerArgumentParser.parseArguments(DefaultFlexCompilerArgumentParser.java:33)
    7. org.sonatype.flexmojos.compiler.DefaultFlexCompiler$1.command(DefaultFlexCompiler.java:32)
    8. org.sonatype.flexmojos.compiler.command.CommandUtil$1.run(CommandUtil.java:33)
    8 frames
  6. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:680)
    1 frame