NPE when running nbm:run-platform when netbeans.installation is invalid
-----------------------------------------------------------------------

                 Key: MNBMODULE-10
                 URL: http://jira.codehaus.org/browse/MNBMODULE-10
             Project: Maven 2.x Netbeans Module Plugin
          Issue Type: Bug
    Affects Versions: 2.4
            Reporter: Trygve Laugstol
            Assignee: Milos Kleint


[10:23:[EMAIL PROTECTED]:AqcGui]$ mvn 
-Dnetbeans.installation=~/tmp/netbeans/netbeans-6_0-m8-platform/ 
-Dnetbeans.branding.token=my-brand nbm:run-platform
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'nbm'.
[INFO] 
----------------------------------------------------------------------------
[INFO] Building AQC :: Netbeans Module
[INFO]    task-segment: [nbm:run-platform] (aggregator-style)
[INFO] 
----------------------------------------------------------------------------
[WARNING] 
        Artifact junit:junit:jar:3.8.1:test retains local scope 'test' 
overriding broader scope 'compile'
        given by a dependency. If this is not intended, modify or remove the 
local scope.
 
[INFO] [nbm:run-platform]
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] null
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NullPointerException
        at 
org.codehaus.mojo.nbm.RunPlatformAppMojo.execute(RunPlatformAppMojo.java:154)
        at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:420)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:224)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
        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)

-- 
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

Reply via email to