Please ignore this module for now. I'm refactorying it. VELO On Mon, Apr 13, 2009 at 4:13 PM, Robert Cadena <[email protected]>wrote:
> > I've gotten the same exception on my Mac environ. I setup the PATH > variable as specified in this thread and on jira (https:// > issues.sonatype.org/browse/FLEXMOJOS-65). but i still receive a null > pointer exception. > > I confirmed I can run the Flash player on the command line by running > the command myself. I thought I'd check out the flex mojos source so > I could start debugging this and add code to spit out a more > informative error message but I ram into a problem there too. First, > the NPE: > > 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:483) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals > (DefaultLifecycleExecutor.java:678) > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle > (DefaultLifecycleExecutor.java:540) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal > (DefaultLifecycleExecutor.java:519) > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures > (DefaultLifecycleExecutor.java:371) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments > (DefaultLifecycleExecutor.java:332) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute > (DefaultLifecycleExecutor.java:181) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:356) > 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) > > ----------- > > next, the problem with mvn compile on a fresh checkout of the flex > mojos trunk (i added a settings.xml file as specified in the maven > book at http://www.sonatype.com/books/maven-book/reference/ch20s04.html): > > [INFO] Building Flexmojos Integration Tests > [INFO] task-segment: [compile] > [INFO] > ------------------------------------------------------------------------ > Downloading: > > http://repository.sonatype.org/content/groups/public/org/sonatype/plugins/bundle-publisher-maven-plugin/1.2-SNAPSHOT/bundle-publisher-maven-plugin-1.2-SNAPSHOT.pom > [INFO] Unable to find resource 'org.sonatype.plugins:bundle-publisher- > maven-plugin:pom:1.2-SNAPSHOT' in repository central (http://central) > Downloading: > > http://repository.sonatype.org/content/groups/public/org/sonatype/plugins/bundle-publisher-maven-plugin/1.2-SNAPSHOT/bundle-publisher-maven-plugin-1.2-SNAPSHOT.pom > [INFO] Unable to find resource 'org.sonatype.plugins:bundle-publisher- > maven-plugin:pom:1.2-SNAPSHOT' in repository central (http://central) > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Failed to resolve artifact. > > GroupId: org.sonatype.plugins > ArtifactId: bundle-publisher-maven-plugin > Version: 1.2-SNAPSHOT > > Reason: Unable to download the artifact from any repository > > org.sonatype.plugins:bundle-publisher-maven-plugin:pom:1.2-SNAPSHOT > > from the specified remote repositories: > nexus (http://repository.sonatype.org/content/groups/public) > > > Thanks > > /r > > > On Apr 6, 12:19 pm, Carsten Schlipf <[email protected]> wrote: > > Hi Logan, > > > > on Linux I have a similar effect, when I use the debug flashplayer. Do > > you use the release player? If not try to use a release player instead > > of a debug player. > > > > Best regards, > > Carsten > > > > On Apr 6, 8:46 pm, Logan Allred <[email protected]> wrote: > > > > > Unfortunately, the Mac command line from my previous email does not > > > solve Velo's problem where he can't kill the flash player if it hangs. > > > > > I figured out the flexmojos way: > > > export PATH=/Applications/Adobe\ Flex\ Builder\ 3\ > > > Plug-in/Player/mac/Flash\ Player.app/Contents/MacOS/:$PATH > > > > > Then in the command line should be: > > > "Flash Player" target/test-classes/TestRunner.swf > > > or > > > Flash\ Player target/test-classes/TestRunner.swf > > > > > Logan > > > > > On Mon, Apr 6, 2009 at 12:36 PM, Logan Allred <[email protected]> > wrote: > > > > On Mon, Apr 6, 2009 at 12:32 PM, Marvin Froeder <[email protected]> > wrote: > > > >> Sorry, I'm not a MAC guy.... I have no idea how to do that..... > > > >> But, I know who knows, I hope he replies. > > > > > > I haven't tried the new 3.x stuff yet, so I'm not sure myself, but I > > > > can tell you that the correct Mac way to do it would be: > > > > > > open -g target/test-classes/TestRunner.swf -a "/Applications/Adobe > > > > Flex Builder 3 Plug-in/Player/mac/Flash Player.app" > > > > > > (omit the -g on 10.4 or older) > > > > --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---
