[
http://issues.ops4j.org/jira/browse/PAXCONSTRUCT-77?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_11259
]
Stuart McCulloch commented on PAXCONSTRUCT-77:
----------------------------------------------
Cool - I'll keep this issue open to turn that NPE into a more descriptive
message - thanks
> NPE on maven-inherit-plugin
> ---------------------------
>
> Key: PAXCONSTRUCT-77
> URL: http://issues.ops4j.org/jira/browse/PAXCONSTRUCT-77
> Project: Pax Construct
> Issue Type: Bug
> Environment: Windows XP, Java 1.5
> Reporter: Marvin Froeder
> Assignee: Stuart McCulloch
>
> I got this issue when I tried to extends maven-source plugin:
> D:\flex\workspace\rvin-mojo\source-mojo>mvn clean install -e
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Source Maven Mojo
> [INFO] task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting directory D:\flex\workspace\rvin-mojo\source-mojo\target
> [INFO] [plugin:descriptor]
> [INFO] Using 2 extractors.
> [INFO] Applying extractor for language: java
> [INFO] Extractor for language: java found 1 mojo descriptors.
> [INFO] Applying extractor for language: bsh
> [INFO] Extractor for language: bsh found 0 mojo descriptors.
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Compiling 1 source file to
> D:\flex\workspace\rvin-mojo\source-mojo\target\classes
> [INFO] [inherit:inherit {execution: default}]
> [INFO] Expanding:
> C:\repository\org\apache\maven\plugins\maven-source-plugin\2.0.4\maven-source-plugin-2.0.4.jar
> into D:\flex\workspace\rvin-mojo\source-mojo
> \target\plugins\maven-source-plugin
> [INFO] Extending source plugin
> [INFO] package => jar
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] null
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NullPointerException
> at org.codehaus.plexus.util.xml.Xpp3Dom.<init>(Xpp3Dom.java:73)
> at
> org.ops4j.pax.construct.inherit.PluginXml.mergeMojo(PluginXml.java:107)
> at
> org.ops4j.pax.construct.inherit.InheritMojo.mergePluginMojo(InheritMojo.java:279)
> at
> org.ops4j.pax.construct.inherit.InheritMojo.execute(InheritMojo.java:145)
> 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: 9 seconds
> [INFO] Finished at: Thu Apr 10 13:24:52 BRT 2008
> [INFO] Final Memory: 10M/20M
> [INFO]
> ------------------------------------------------------------------------
> Can I provide any more details?
> VELO
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.ops4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general