I was getting some compile error in webtier module, so deleted ~/.m2
repository and re-ran "mvn -U install"
http://wiki.glassfish.java.net/Wiki.jsp?page=V3FullBuildInstructions
This step is executed successfully, and don't see "mvn gf:run" on this
page. but when I ran this command on the same workspace,
getting similar NPE as you. But not sure if we need to run "gf:run"
separately, as earlier step would run the unit tests also.
thanks
Dinesh
Sreenivas Munnangi wrote:
> This is based on the code check out today. Any help/pointers appreciated.
>
>
> Downloading:
> http://download.java.net/maven/1/javadb/poms/javadb-10.2.2.1-20070823.pom
> Downloading:
> http://download.java.net/javaee5/external/shared/javadb/poms/javadb-10.2.2.1-20070823.pom
>
> Downloading:
> http://download.java.net/maven/1/javadb/poms/javadb-10.2.2.1-20070823.pom
> Downloading:
> http://repo1.maven.org/maven2/javadb/javadb/10.2.2.1-20070823/javadb-10.2.2.1-20070823.pom
>
> Downloading:
> http://download.java.net/maven/2/javadb/javadb/10.2.2.1-20070823/javadb-10.2.2.1-20070823.pom
>
> Downloading:
> http://repo1.maven.org/maven2/javadb/javadb/10.2.2.1-20070823/javadb-10.2.2.1-20070823.pom
>
> [WARNING] POM for 'org.kohsuke.sfx4j:sfx4j:pom:1.1:runtime' is
> invalid. It will be ignored for artifact resolution. Reason: Not a
> v4.0.0 POM.
> [INFO] [gf:run]
> [INFO] snapshot org.glassfish.distributions:pe:10.0-SNAPSHOT: checking
> for updates from glassfish-repository
> [INFO] snapshot org.glassfish.distributions:pe:10.0-SNAPSHOT: checking
> for updates from java.net
> [INFO] snapshot org.glassfish.distributions:pe:10.0-SNAPSHOT: checking
> for updates from my-m1-repository
> [INFO] snapshot org.glassfish.distributions:pe:10.0-SNAPSHOT: checking
> for updates from java-dev-repository
> [INFO] snapshot org.glassfish.distributions:pe:10.0-SNAPSHOT: checking
> for updates from repo1.maven.org
> [INFO] snapshot org.glassfish.distributions:pe:10.0-SNAPSHOT: checking
> for updates from maven2.java.net
> [INFO] Extracting
> /home/sreeni/.m2/repository/org/glassfish/distributions/nucleus-base/0.1-SNAPSHOT/nucleus-base-0.1-SNAPSHOT.zip
> to /home/sreeni/IAS/GFV3/SRC_16NOV07/v3/target/glassfish as the
> installation base image
> Nov 16, 2007 11:05:15 AM
> com.sun.enterprise.module.maven.MavenProjectRepository <init>
> WARNING: No output directory
> /home/sreeni/IAS/GFV3/SRC_16NOV07/v3/distributions/pe/target/classes
> Nov 16, 2007 11:05:15 AM
> com.sun.enterprise.module.maven.MavenProjectRepository loadModuleDefs
> INFO: Loading modules list from
> /home/sreeni/.m2/repository/org/glassfish/distributions/pe/10.0-SNAPSHOT/pe-10.0-SNAPSHOT.pom
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] null
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NullPointerException
> at
> com.sun.enterprise.module.maven.MavenProjectRepository.buildModule(MavenProjectRepository.java:111)
>
> at
> com.sun.enterprise.module.maven.MavenProjectRepository.loadModuleDefs(MavenProjectRepository.java:94)
>
> at
> com.sun.enterprise.module.impl.AbstractRepositoryImpl.initialize(AbstractRepositoryImpl.java:66)
>
> at
> com.sun.enterprise.build.RunMojo.createModuleRegistry(RunMojo.java:215)
> 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: 9 seconds
> [INFO] Finished at: Fri Nov 16 11:05:15 PST 2007
> [INFO] Final Memory: 12M/84M
> [INFO]
> ------------------------------------------------------------------------
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>