[
http://jira.codehaus.org/browse/MGWT-54?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=174339#action_174339
]
Stefan Hübner commented on MGWT-54:
-----------------------------------
Wow! That was quick :-)
Thanks for applying!
> NPE in TestMojo
> ---------------
>
> Key: MGWT-54
> URL: http://jira.codehaus.org/browse/MGWT-54
> Project: Maven 2.x GWT Plugin
> Issue Type: Bug
> Affects Versions: 1.1
> Reporter: Stefan Hübner
> Assignee: nicolas de loof
> Fix For: 1.1
>
> Attachments: TestMojo.java.patch
>
>
> The current Trunk (r9616) fails when invoking "mvn gwt:test". It fails with
> the following NullPointException:
> {noformat}
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to run GWT
> tests
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)
> 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)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to run GWT
> tests
> at org.codehaus.mojo.gwt.shell.TestMojo.forkToRunTest(TestMojo.java:181)
> at org.codehaus.mojo.gwt.shell.TestMojo.access$000(TestMojo.java:56)
> at org.codehaus.mojo.gwt.shell.TestMojo$1.doWithTest(TestMojo.java:142)
> at org.codehaus.mojo.gwt.test.TestTemplate.<init>(TestTemplate.java:80)
> at org.codehaus.mojo.gwt.shell.TestMojo.doExecute(TestMojo.java:137)
> at
> org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo.execute(AbstractGwtShellMojo.java:193)
> at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
> ... 16 more
> Caused by: java.lang.NullPointerException
> at
> org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo$JavaCommand.execute(AbstractGwtShellMojo.java:521)
> at org.codehaus.mojo.gwt.shell.TestMojo.forkToRunTest(TestMojo.java:169)
> ... 23 more
> {noformat}
> I've created a patch to fix this issue.
> Cheers!
> Stefan
--
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
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email