You need to have flash player on system path.  I will ask Tim to add that to
book.
VELO

On Sun, Apr 5, 2009 at 1:05 PM, Conrad Winchester <
[email protected]> wrote:

>
> Hi all,
>
> I am on a mac running 10.5.6
>
> I am trying to following along with the new chapter in Maven: The
> definitive guide (the one about flex mojos) i get the following error
> when I run 'mvn test'
>
> [INFO] [flexmojos:test-run]
> [INFO] flexmojos 3.1.0 - GNU GPL License (NO WARRANTY) - See COPYRIGHT
> file
> [INFO] Starting tests
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] null
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NullPointerException
>        at
> org
> .sonatype.flexmojos.test.threads.AsVmLauncher.stop(AsVmLauncher.java:
> 181)
>        at
> org
> .sonatype
> .flexmojos
> .test.threads.ControlledThreadUtil.stop(ControlledThreadUtil.java:34)
>        at
> org.sonatype.flexmojos.test.FlexUnitMojo.run(FlexUnitMojo.java:294)
>        at
> org.sonatype.flexmojos.test.FlexUnitMojo.execute(FlexUnitMojo.java:
> 152)
>        at
> org
> .apache
> .maven
> .plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
>        at
> org
> .apache
> .maven
> .lifecycle
> .DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:
> 558)
>        at
> org
> .apache
> .maven
> .lifecycle
> .DefaultLifecycleExecutor
> .executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
>        at
> org
> .apache
> .maven
> .lifecycle
> .DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
>        at
> org
> .apache
> .maven
> .lifecycle
> .DefaultLifecycleExecutor
> .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
>        at
> org
> .apache
> .maven
> .lifecycle
> .DefaultLifecycleExecutor
> .executeTaskSegments(DefaultLifecycleExecutor.java:291)
>        at
> org
> .apache
> .maven
> .lifecycle
> .DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>        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:585)
>        at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:
> 430)
>        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 25 seconds
> [INFO] Finished at: Sun Apr 05 17:02:15 BST 2009
> [INFO] Final Memory: 19M/87M
> [INFO]
> ------------------------------------------------------------------------
>
>
> Any clues - I have fllowed the book exactly.
>
> Conrad
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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?hl=en?hl=en

http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---

Reply via email to