Nullpointer executing goal mergewebxml
--------------------------------------
Key: MGWT-263
URL: http://jira.codehaus.org/browse/MGWT-263
Project: Maven 2.x GWT Plugin
Issue Type: Bug
Reporter: Álvaro Lobato
Attachments: fulllog.txt
I'm getting a NullPointerException when executing mergewebxml with plugin
2.1.0-1 the same pom doesn't fail with version 2.1.0.
This is the output from maven, I've also attached the full log as a TXT file.
Thanks
{{[INFO] [gwt:mergewebxml {execution: default-cli}]
[DEBUG] GWT module com.company.division.Proj found in
/home/username/workspace3/ProjectName/Proj-Pesentacion/src/main/java
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Unable to merge web.xml
[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to merge web.xml
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
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.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: Unable to merge
web.xml
at
org.codehaus.mojo.gwt.webxml.MergeWebXmlMojo.doExecute(MergeWebXmlMojo.java:163)
at
org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo.execute(AbstractGwtShellMojo.java:119)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
... 17 more
Caused by: java.lang.NullPointerException
at
org.codehaus.mojo.gwt.AbstractGwtMojo.getClasspath(AbstractGwtMojo.java:220)
at
org.codehaus.mojo.gwt.AbstractGwtModuleMojo.readModule(AbstractGwtModuleMojo.java:184)
at org.codehaus.mojo.gwt.GwtModule.getLocalInherits(GwtModule.java:186)
at org.codehaus.mojo.gwt.GwtModule.getInherits(GwtModule.java:146)
at org.codehaus.mojo.gwt.GwtModule.getServlets(GwtModule.java:202)
at
org.codehaus.mojo.gwt.webxml.MergeWebXmlMojo.doExecute(MergeWebXmlMojo.java:126)
... 20 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 seconds
[INFO] Finished at: Tue Jan 11 10:17:35 CET 2011
[INFO] Final Memory: 29M/362M
[INFO] ------------------------------------------------------------------------
}}
--
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