Makes me wonder why this stack trace has nothing to do with compilation....
On Fri, Sep 30, 2011 at 11:57 AM, Srikanth <[email protected]> wrote: > Hi > > I have two flex library modules. I am compiling one with flex sdk > version 3.6 and the other with version 3.3. > > The one compiled with 3.3 (A) depends on the one compiled with 3.6 > (B). > > I can compile these successfully using FlashBuilder. When tried to > compile using the org.sonatype.flexmojos:flexmojos-maven-plugin:3.9 > plugin, I am seeing NullPointerException. > > > Is this a bug with the mojo or am I doing something wrong here. Below > is the stack trace. > > > [ERROR] Failed to execute goal org.sonatype.flexmojos:flexmojos-maven- > plugin:3.9:flashbuilder (flashbuilder) on project tms-application-lib: > Execution flashbuilder of goal org.sonatype.flexmojos:fl > ojos-maven-plugin:3.9:flashbuilder failed. NullPointerException -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to > execute goal org.sonatype.flexmojos:flexmojos-maven-plugin: > 3.9:flashbuilder (flashbuilder) on project tms-application-lib: > Executio > lashbuilder of goal org.sonatype.flexmojos:flexmojos-maven-plugin: > 3.9:flashbuilder failed. > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java: > 225) > 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.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java: > 59) > at > > org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java: > 183) > at > > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java: > 161) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java: > 319) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java: > 156) > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) > 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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java: > 290) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java: > 230) > at > > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java: > 409) > at > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java: > 352) > Caused by: org.apache.maven.plugin.PluginExecutionException: Execution > flashbuilder of goal org.sonatype.flexmojos:flexmojos-maven-plugin: > 3.9:flashbuilder failed. > at > > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java: > 110) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java: > 209) > ... 19 more > Caused by: java.lang.NullPointerException > at > > org.sonatype.flexmojos.flexbuilder.FlexbuilderMojo.getConvertedDependencies(FlexbuilderMojo.java: > 1541) > at > > org.sonatype.flexmojos.flexbuilder.FlexbuilderMojo.writeConfiguration(FlexbuilderMojo.java: > 652) > at > > org.apache.maven.plugin.ide.AbstractIdeSupportMojo.execute(AbstractIdeSupportMojo.java: > 494) > at > > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java: > 101) > ... 20 more > [ERROR] > [ERROR] > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException > > Thanks > Srikanth > > -- > You received this message because you are subscribed to the Google > Groups "Flex Mojos" 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/flex-mojos > > http://flexmojos.sonatype.org/ > -- You received this message because you are subscribed to the Google Groups "Flex Mojos" 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/flex-mojos http://flexmojos.sonatype.org/
