Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 83350 invoked from network); 7 Jul 2006 04:57:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Jul 2006 04:57:01 -0000 Received: (qmail 69146 invoked by uid 500); 7 Jul 2006 04:56:59 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 69132 invoked by uid 500); 7 Jul 2006 04:56:59 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 69121 invoked by uid 99); 7 Jul 2006 04:56:59 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jul 2006 21:56:59 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [66.194.45.14] (HELO beaker.data-secure.net) (66.194.45.14) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jul 2006 21:56:58 -0700 Received: by beaker.data-secure.net (Postfix, from userid 1000) id 607863985D; Fri, 7 Jul 2006 00:56:03 -0400 (EDT) To: user@geronimo.apache.org Subject: NullPointerException when deploying RAR From: Tim Howe Date: Fri, 07 Jul 2006 00:56:03 -0400 Message-ID: <877j2qui70.fsf@beaker.data-secure.net> User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Corporate Culture, berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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: abstractName="com.celebrityresorts/rcc/0/rar?J2EEApplication=null,JCAConnectionFactory=Celebrity%20Resorts%20RCC%20development%20instance,JCAResource=com.celebrityresorts/rcc/0/rar,ResourceAdapter=com.celebrityresorts/rcc/0/rar,ResourceAdapterModule=com.celebrityresorts/rcc/0/rar,j2eeType=JCAManagedConnectionFactory,name=Celebrity%20Resorts%20RCC%20development%20instance" java.lang.NullPointerException at java.io.PrintWriter.write(PrintWriter.java:401) at java.io.PrintWriter.print(PrintWriter.java:546) at java.io.PrintWriter.println(PrintWriter.java:683) at java.lang.Throwable.printStackTrace(Throwable.java:510) at org.apache.geronimo.gbean.runtime.GBeanInstance.printException(GBeanInstance.java:1047) at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:983) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:267) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102) at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:526) at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:111) at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:146) at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:120) at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:173) at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:41) at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:251) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:292) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124) at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:540) 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? Thanks, Tim