Hi Carla,
Are you still facing this build failure?
The build failed because executing create-domain is returning a
NullPointerException. You may want to try manually creating the domain
in directory
"distributions/nucleus/target/stage/glassfishv3/glassfish/bin" with
AS_DEBUG=true set in the environment and check for the debug output.
Jane
Carla Mott wrote:
>
> Not sure what is causing this. Any suggestions? I have the latest
> updates.
>
> [INFO] Building Glassfish v3 Nucleus Distribution
> [INFO] task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [enforcer:enforce {execution: enforce-versions}]
> [INFO] [osgiversion:compute-osgi-version {execution:
> compute-osgi-version}]
> [INFO] [clean:clean {execution: auto-clean}]
> [INFO] [dependency:copy-dependencies {execution: copy-dependencies}]
> [INFO] Copying admin-util-3.0-SNAPSHOT.jar to
> /Users/cmott/logging/v3/distributions/nucleus/target/stage/admin-util-3.0-SNAPSHOT.jar
>
> [INFO] Copying cli-optional-3.0-SNAPSHOT.jar to
> /Users/cmott/logging/v3/distributions/nucleus/target/stage/cli-optional-3.0-SNAPSHOT.jar
>
> [INFO] Copying server-mgmt-3.0-SNAPSHOT.jar to
> /Users/cmott/logging/v3/distributions/nucleus/target/stage/server-mgmt-3.0-SNAPSHOT.jar
>
> [INFO] Copying felix-3.0-SNAPSHOT.zip to
> /Users/cmott/logging/v3/distributions/nucleus/target/stage/felix-3.0-SNAPSHOT.zip
>
> [INFO] Copying glassfish-grizzly-3.0-SNAPSHOT.zip to
> /Users/cmott/logging/v3/distributions/nucleus/target/stage/glassfish-grizzly-3.0-SNAPSHOT.zip
>
> [INFO] Copying glassfish-hk2-3.0-SNAPSHOT.zip to
> /Users/cmott/logging/v3/distributions/nucleus/target/stage/glassfish-hk2-3.0-SNAPSHOT.zip
>
> [INFO] Copying glassfish-nucleus-3.0-SNAPSHOT.zip to
> /Users/cmott/logging/v3/distributions/nucleus/target/stage/glassfish-nucleus-3.0-SNAPSHOT.zip
>
> [INFO] Copying servicetag-registry.jar to
> /Users/cmott/logging/v3/distributions/nucleus/target/stage/servicetag-registry.jar
>
> [INFO] Copying security-3.0-SNAPSHOT.jar to
> /Users/cmott/logging/v3/distributions/nucleus/target/stage/security-3.0-SNAPSHOT.jar
>
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [bundle:manifest {execution: bundle-manifest}]
> [WARNING] Ignoring project type distribution-base-zip -
> supportedProjectTypes = [hk2-jar, bundle]
> [INFO] [hk2:hk2-test-compile]
> [INFO] No sources to compile
> [INFO] [surefire:test]
> [INFO] No tests to run.
> [INFO] [antrun-extended:run]
> [INFO] Executing tasks
>
> create.distribution:
> [echo] Creating distribution: nucleus
> [unzip] Expanding:
> /Users/cmott/logging/v3/distributions/nucleus/target/stage/felix-3.0-SNAPSHOT.zip
> into /Users/cmott/logging/v3/distributions/nucleus/target/stage
> [unzip] Expanding:
> /Users/cmott/logging/v3/distributions/nucleus/target/stage/glassfish-grizzly-3.0-SNAPSHOT.zip
> into /Users/cmott/logging/v3/distributions/nucleus/target/stage
> [unzip] Expanding:
> /Users/cmott/logging/v3/distributions/nucleus/target/stage/glassfish-hk2-3.0-SNAPSHOT.zip
> into /Users/cmott/logging/v3/distributions/nucleus/target/stage
> [unzip] Expanding:
> /Users/cmott/logging/v3/distributions/nucleus/target/stage/glassfish-nucleus-3.0-SNAPSHOT.zip
> into /Users/cmott/logging/v3/distributions/nucleus/target/stage
> [mkdir] Created dir: /Users/cmott/logging/v3/distributions/target
> [delete] DEPRECATED - Use of the implicit FileSet is deprecated.
> Use a nested fileset element instead.
> [delete] Deleting 4 files from
> /Users/cmott/logging/v3/distributions/nucleus/target/stage
>
> fetch-domain-creation-artifacts:
> [echo] cli-optional jar:
> /Users/cmott/.m2/repository/org/glassfish/admin/cli-optional/3.0-SNAPSHOT/cli-optional-3.0-SNAPSHOT.jar
>
> [echo] server-mgmt jar:
> /Users/cmott/.m2/repository/org/glassfish/admin/server-mgmt/3.0-SNAPSHOT/server-mgmt-3.0-SNAPSHOT.jar
>
> [echo] admin-util jar:
> /Users/cmott/.m2/repository/org/glassfish/admin/admin-util/3.0-SNAPSHOT/admin-util-3.0-SNAPSHOT.jar
>
> [echo] security jar:
> /Users/cmott/.m2/repository/org/glassfish/security/security/3.0-SNAPSHOT/security-3.0-SNAPSHOT.jar
>
> [copy] Copying 1 file to
> /Users/cmott/logging/v3/distributions/nucleus/target/stage/glassfishv3/glassfish/modules
>
> [copy] Copying 1 file to
> /Users/cmott/logging/v3/distributions/nucleus/target/stage/glassfishv3/glassfish/modules
>
> [copy] Copying 1 file to
> /Users/cmott/logging/v3/distributions/nucleus/target/stage/glassfishv3/glassfish/modules
>
> [copy] Copying 1 file to
> /Users/cmott/logging/v3/distributions/nucleus/target/stage/glassfishv3/glassfish/modules
>
>
> init:
>
> create-domain-on-windows:
>
> create-domain-on-unix:
>
> create-domain:
> [echo] Directory to run command from:
> /Users/cmott/logging/v3/distributions/nucleus/target/stage/glassfishv3/glassfish/bin
>
> [echo] Command to run:
> /Users/cmott/logging/v3/distributions/nucleus/target/stage/glassfishv3/glassfish/bin/asadmin
>
> [exec] Deprecated syntax: create-domain, Options: [user]
> [exec] Using port 4848 for Admin.
> [exec] Using port 8080 for HTTP Instance.
> [exec] Using default port 7676 for JMS.
> [exec] Using default port 3700 for IIOP.
> [exec] Using default port 8181 for HTTP_SSL.
> [exec] Using default port 3820 for IIOP_SSL.
> [exec] Using default port 3920 for IIOP_MUTUALAUTH.
> [exec] Using default port 8686 for JMX_ADMIN.
> [exec] Distinguished Name of the self-signed X.509 Server
> Certificate is:
> [exec] [CN=localhost,OU=GlassFish,O=Sun Microsystems,L=Santa
> Clara,ST=California,C=US]
> [exec] java.lang.NullPointerException
> [exec] CLI130 Could not create domain, domain1
> [exec] Command create-domain failed.
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] An Ant BuildException has occured: The following error occurred
> while executing this line:
> /Users/cmott/logging/v3/distributions/nucleus/build.xml:55: The
> following error occurred while executing this line:
> /Users/cmott/logging/v3/distributions/nucleus/build.xml:113: The
> following error occurred while executing this line:
> /Users/cmott/logging/v3/distributions/distributions.xml:294: exec
> returned: 1
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 16 minutes 1 second
> [INFO] Finished at: Fri Jul 31 21:10:47 PDT 2009
> [INFO] Final Memory: 269M/490M
> [INFO]
> ------------------------------------------------------------------------
> dhcp-usca14-132-34:v3 cmott$
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>