You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Marvin Froeder (JIRA)" <ji...@codehaus.org> on 2010/04/25 19:40:20 UTC

[jira] Commented: (MNG-4641) flex-mojos plugin fails with parallel threads

    [ http://jira.codehaus.org/browse/MNG-4641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=218887#action_218887 ] 

Marvin Froeder commented on MNG-4641:
-------------------------------------

Hi Ben,

Not sure if there is anything I can do to fix that, most likely the flex compiler doesn't allow me to do that, since, as Nigel pointed out, Flexmojos works fine with maven 2/3...

Is there anything I can do to tell maven to not run flexmojos in multiple threads?


VELO

> flex-mojos plugin fails with parallel threads
> ---------------------------------------------
>
>                 Key: MNG-4641
>                 URL: http://jira.codehaus.org/browse/MNG-4641
>             Project: Maven 2 & 3
>          Issue Type: Bug
>    Affects Versions: 3.0-beta-1
>         Environment: OS X, 3.0-beta1
>            Reporter: Nigel Magnay
>            Assignee: Benjamin Bentmann
>            Priority: Minor
>
> Normal build completes correctly. Multiproject build with
> mvn -X -T 2.0C clean install
> yields:
> [ERROR] Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-plugin:3.6:compile-swc (default-compile-swc) on project realtime-flex-model: null: MojoExecutionException: NullPointerException -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-plugin:3.6:compile-swc (default-compile-swc) on project realtime-flex-model: null
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:141)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:77)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:69)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:82)
> 	at org.apache.maven.lifecycle.internal.LifecycleThreadedBuilder$1.call(LifecycleThreadedBuilder.java:165)
> 	at org.apache.maven.lifecycle.internal.LifecycleThreadedBuilder$1.call(LifecycleThreadedBuilder.java:162)
> 	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:441)
> 	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:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:637)
> Caused by: org.apache.maven.plugin.MojoExecutionException
> 	at org.sonatype.flexmojos.compiler.AbstractFlexCompilerMojo.build(AbstractFlexCompilerMojo.java:2491)
> 	at org.sonatype.flexmojos.compiler.AbstractFlexCompilerMojo.run(AbstractFlexCompilerMojo.java:1282)
> 	at org.sonatype.flexmojos.AbstractIrvinMojo.execute(AbstractIrvinMojo.java:183)
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:105)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:133)
> 	... 13 more
> Caused by: java.lang.NullPointerException
> 	at macromedia.asc.embedding.LintEvaluator.getWarningDefaults(LintEvaluator.java:3221)
> 	at flex2.compiler.as3.As3Compiler.processCoachSettings(As3Compiler.java:1270)
> 	at flex2.compiler.as3.As3Compiler.<init>(As3Compiler.java:202)
> 	at flex2.tools.WebTierAPI.getCompilers(WebTierAPI.java:257)
> 	at flex2.tools.oem.Library.recompile(Library.java:763)
> 	at flex2.tools.oem.Library.compile(Library.java:1388)
> 	at flex2.tools.oem.Library.build(Library.java:653)
> 	at org.sonatype.flexmojos.compiler.AbstractFlexCompilerMojo.build(AbstractFlexCompilerMojo.java:2473)
> 	... 17 more
> This could be because 2 flex compiles are trying to run concurrently, and perhaps that isn't allowed..

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira