I'm not exactly sure when this can happen, so I modified the gf:run to
report more information when it hits this error.
I tried to reproduce the problem but I didn't see any "admin/addon" module.
If you can run this with the "-U" option in maven and send me the
report, that would be great.
Sreenivas Munnangi wrote:
> I just built V3 based on full build instructions
> <http://wiki.glassfish.java.net/Wiki.jsp?page=V3FullBuildInstructions>
> and when I do gf:run, I get the following exception.
>
> Any help/pointers appreciated.
>
> thanks
> sreeni
>
> Downloading:
> http://download.java.net/maven/glassfish/org/glassfish/distributions/nucleus-base/0.1-SNAPSHOT/nucleus-base-0.1-SNAPSHOT.pom
> Downloading:
> http://download.java.net/maven/1/org.glassfish.distributions/poms/nucleus-base-0.1-SNAPSHOT.pom
> Downloading:
> http://download.java.net/javaee5/external/shared/org.glassfish.distributions/poms/nucleus-base-0.1-SNAPSHOT.pom
> Downloading:
> http://download.java.net/maven/1/org.glassfish.distributions/poms/nucleus-base-0.1-SNAPSHOT.pom
> Downloading:
> http://repo1.maven.org/maven2//org/glassfish/distributions/nucleus-base/0.1-SNAPSHOT/nucleus-base-0.1-SNAPSHOT.pom
> Downloading:
> http://download.java.net/maven/2/org/glassfish/distributions/nucleus-base/0.1-SNAPSHOT/nucleus-base-0.1-SNAPSHOT.pom
> [INFO] Using existing glassfish installation image at
> /home/sreeni/IAS/GFV3/SRC_11NOV07/v3/admin/addon/target/glassfish
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] null
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NullPointerException
> at com.sun.enterprise.module.impl.Jar.create(Jar.java:47)
> at
> com.sun.enterprise.module.maven.Packager.configureManifet(Packager.java:72)
> at
> com.sun.enterprise.module.maven.Packager.writeManifest(Packager.java:37)
> at
> com.sun.enterprise.module.maven.MavenProjectRepository.<init>(MavenProjectRepository.java:73)
> at
> com.sun.enterprise.build.RunMojo.createModuleRegistry(RunMojo.java:213)
> at com.sun.enterprise.build.RunMojo.execute(RunMojo.java:174)
> at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
> 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:334)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
> 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)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 23 seconds
> [INFO] Finished at: Thu Nov 15 11:53:54 PST 2007
> [INFO] Final Memory: 12M/83M
> [INFO]
> ------------------------------------------------------------------------
>
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com