I will have a look.Can you tell me your maven version ? Cause i by myself am
switched to maven3 fully since weeks..

On Tue, Oct 20, 2009 at 7:49 AM, Kris Pruden <[email protected]> wrote:

> Hello,
>
> I'm getting a NullPointerException whenever I run the "site" goal on any
> project which uses the maven-paxexam-plugin.
>
> The traceback follows.  I did notice that the line numbers in the traceback
> don't seem to line up with the current source for the plugin (I tried
> several versions of the plugin including 1.2.0-SNAPSHOT)
>
> org.apache.maven.lifecycle.LifecycleExecutionException: Unable to create
> dependencies file: java.lang.NullPointerException
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:703)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:1168)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:1004)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:647)
>        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: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 create
> dependencies file: java.lang.NullPointerException
>        at
> org.ops4j.pax.exam.mavenplugin.GenerateConfigMojo.execute(GenerateConfigMojo.java:145)
>        at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
>        ... 20 more
> Caused by: java.lang.NullPointerException
>        at
> org.ops4j.pax.exam.mavenplugin.GenerateConfigMojo.createPaxRunnerScan(GenerateConfigMojo.java:311)
>        at
> org.ops4j.pax.exam.mavenplugin.GenerateConfigMojo.writeProvisioning(GenerateConfigMojo.java:255)
>        at
> org.ops4j.pax.exam.mavenplugin.GenerateConfigMojo.execute(GenerateConfigMojo.java:138)
>        ... 22 more
>
>
> Any ideas?
>
> Thanks,
>
> Kris
>
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general
>



-- 
Toni Menzel
Independent Software Developer
Professional Profile: http://okidokiteam.com
[email protected]
http://www.ops4j.org     - New Energy for OSS Communities - Open
Participation Software.
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to