geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Howe <>
Subject NullPointerException when deploying RAR
Date Fri, 07 Jul 2006 04:56:03 GMT
Hi everyone.

I've been using Geronimo 1.0, and now 1.1, as the app server for the
development of a JCA connector for our proprietary EIS and generally
been very happy with it.

I've had no problem running servlets, deploying WARs, and the like.
However, I've run into a problem deploying a RAR that I built.  I view
it as highly probably that there's a bug somewhere in my resource
adapter, but it seems to be triggering a bug in Geronimo, which appears
in both Java 1.4.2 and 1.5:

23:52:38,091 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state:
        at java.lang.Throwable.printStackTrace(
        at org.apache.geronimo.gbean.runtime.GBeanInstance.printException(
        at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(
        at org.apache.geronimo.gbean.runtime.GBeanInstance.start(
        at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(
        at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(
        at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(
        at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(
        at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(
        at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(
        at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(

and so on.  The only thing I can figure is that somehow the Exception
getting thrown is null, but I can't see how, as it seems to stem from

   throw new Exception("A reference has failed so construction can not complete");

so I'm very confused.  Of course it's also quite late for me and I may
be reading the stack trace wrong.

Any hints?


View raw message