geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Sisson (JIRA)" <...@geronimo.apache.org>
Subject [jira] Created: (GERONIMO-1774) baseDir NPE in org.apache.geronimo.deployment.DeploymentContext
Date Mon, 27 Mar 2006 06:52:18 GMT
baseDir NPE in org.apache.geronimo.deployment.DeploymentContext
---------------------------------------------------------------

         Key: GERONIMO-1774
         URL: http://issues.apache.org/jira/browse/GERONIMO-1774
     Project: Geronimo
        Type: Bug
  Components: buildsystem, deployment  
 Environment: Windows XP
    Reporter: John Sisson
    Priority: Minor
     Fix For: 1.1


Sometimes get this problem when doing a "maven new3 new4 new5" on 1.0 branch rev 379335.

The work in the 1.1 branch may fix this problem.  Recording problem for future reference.

C:\dev\asf\geronimo\branches\1.0>SET MAVEN_OPTS=%MAVEN_OPTS% -ea
C:\dev\asf\geronimo\branches\1.0>SET ASSEMBLY_OPTS=-Dgeronimo.assembly.zip=true -Dgeronimo.assembly.tar=false
C:\dev\asf\geronimo\branches\1.0>maven new3 new4 new5 -Dmaven.test.skip=true -Dmaven.home.local="C:\Documents
and Settings\sissonj\.geronimo-1.0.x-maven" -Dmaven.itest.skip=true %ASSEMBLY_OPTS% %1 %2
%3 %4 %5 %6

<SNIP>

+----------------------------------------
| configurations Daytrader using derby deployed on jetty
| Memory: 46M/59M
+----------------------------------------
DEPRECATED: the default goal should be specified in the <build> section of project.xml
instead of maven.xml
DEPRECATED: the default goal should be specified in the <build> section of project.xml
instead of maven.xml

build:end:

You are working offline so the build will continue, but geronimo-daytrader-derby-db-1.0.1-SNAPSHOT.jar
may be out of date!
You are working offline so the build will continue, but daytrader-ear-1.0.1-SNAPSHOT.ear may
be out of date!
build:start:

multiproject:install-callback:
    [echo] Running car:install for Daytrader using derby deployed on jetty
Retrieving document at 'WEB-INF/wsdl/TradeServices.wsdl'.
51476 [main] ERROR org.apache.geronimo.deployment.Deployer  - Deployment failed due to
java.lang.AssertionError: baseDir is null
        at org.apache.geronimo.deployment.DeploymentContext.<init>(DeploymentContext.java:89)
        at org.apache.geronimo.deployment.DeploymentContext.<init>(DeploymentContext.java:85)
        at org.apache.geronimo.j2ee.deployment.EARContext.<init>(EARContext.java:60)
        at org.apache.geronimo.client.builder.AppClientModuleBuilder.addGBeans(AppClientModuleBuilder.java:348)
        at org.apache.geronimo.client.builder.AppClientModuleBuilder$$FastClassByCGLIB$$93137659.invoke(<generated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:800)
        at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
        at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36)
        at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
        at org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$6586a92e.addGBeans(<generated>)
        at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:402)
        at org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLIB$$38e56ec6.invoke(<generated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:800)
        at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
        at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36)
        at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
        at org.apache.geronimo.deployment.ConfigurationBuilder$$EnhancerByCGLIB$$7173b1a0.buildConfiguration(<generated>)
        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:279)
        at org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invoke(<generated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:835)
        at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:178)
        at org.apache.geronimo.plugin.packaging.PackageBuilder.invokeDeployer(PackageBuilder.java:375)
        at org.apache.geronimo.plugin.packaging.PackageBuilder.execute(PackageBuilder.java:284)
        at sun.reflect.GeneratedMethodAccessor171.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.geronimo.plugin.packaging.PackageBuilderShell.execute(PackageBuilderShell.java:222)
        at sun.reflect.GeneratedMethodAccessor158.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.commons.jelly.impl.DynamicBeanTag.doTag(DynamicBeanTag.java:180)
        at org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:102)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
        at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:78)
        at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:109)
        at org.apache.maven.werkz.Goal.fire(Goal.java:656)
        at org.apache.maven.werkz.Goal.attain(Goal.java:592)
        at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:505)
        at org.apache.maven.werkz.Goal.attain(Goal.java:590)
        at org.apache.maven.werkz.WerkzProject.attainGoal(WerkzProject.java:210)
        at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTag.java:114)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
        at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:78)
        at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:109)
        at org.apache.maven.werkz.Goal.fire(Goal.java:656)
        at org.apache.maven.werkz.Goal.attain(Goal.java:592)
        at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:693)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
        at org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:368)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
        at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:78)
        at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:109)
        at org.apache.maven.werkz.Goal.fire(Goal.java:656)
        at org.apache.maven.werkz.Goal.attain(Goal.java:592)
        at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:693)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
        at org.apache.maven.cli.App.doMain(App.java:511)
        at org.apache.maven.cli.App.main(App.java:1258)
        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:324)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message