From users-return-253-apmail-openejb-users-archive=openejb.apache.org@openejb.apache.org Wed Oct 10 07:06:31 2007 Return-Path: Delivered-To: apmail-openejb-users-archive@www.apache.org Received: (qmail 42647 invoked from network); 10 Oct 2007 07:06:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Oct 2007 07:06:30 -0000 Received: (qmail 52394 invoked by uid 500); 10 Oct 2007 07:06:18 -0000 Delivered-To: apmail-openejb-users-archive@openejb.apache.org Received: (qmail 52383 invoked by uid 500); 10 Oct 2007 07:06:18 -0000 Mailing-List: contact users-help@openejb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@openejb.apache.org Delivered-To: mailing list users@openejb.apache.org Received: (qmail 52373 invoked by uid 99); 10 Oct 2007 07:06:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Oct 2007 00:06:18 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [195.46.70.174] (HELO mx.whitestein.com) (195.46.70.174) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Oct 2007 07:06:18 +0000 Received: from mail.whitestein.com (unknown [10.240.100.2]) by mx.whitestein.com (Postfix) with ESMTP id CCE35396ACB for ; Wed, 10 Oct 2007 09:05:25 +0200 (CEST) Received: from localhost (mail [10.240.100.2]) by mail.whitestein.com (Postfix) with ESMTP id 4B58FB9CEC6; Wed, 10 Oct 2007 09:05:05 +0200 (CEST) Received: from mail.whitestein.com ([10.240.100.2]) by localhost (mail [10.240.100.2]) (amavisd-new, port 10024) with ESMTP id 31236-03; Wed, 10 Oct 2007 09:05:05 +0200 (CEST) Received: from [10.240.101.110] (moto.dynip.whitestein.net [10.240.101.110]) by mail.whitestein.com (Postfix) with ESMTP id 2C4F0B9CEC0 for ; Wed, 10 Oct 2007 09:05:05 +0200 (CEST) Subject: Exception: NullPointerException From: Martin Vysny To: users@openejb.apache.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-dRrk2khYeiE0zHVEmXgL" Organization: Whitestein Technologies Date: Wed, 10 Oct 2007 09:05:25 +0200 Message-Id: <1191999925.6615.5.camel@moto> Mime-Version: 1.0 X-Mailer: Evolution 2.12.0 X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at whitestein.com X-Virus-Checked: Checked by ClamAV on apache.org --=-dRrk2khYeiE0zHVEmXgL Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi guys, I tried to deploy an EJB2.1 project in OpenEJB, (btw EJB2.0 descriptor is rejected by OpenEJB: validation error - the element in is rejected), but I get this error: ERROR - FATAL ERROR: Unknown error in Assembler. Please send the following stack trace and this message to user@openejb.org : java.lang.NullPointerException at java.lang.String.compareTo(String.java:998) at java.lang.String.compareTo(String.java:90) at java.util.TreeMap.compare(TreeMap.java:1093) at java.util.TreeMap.getEntry(TreeMap.java:347) at java.util.TreeMap.get(TreeMap.java:265) at org.apache.openejb.config.JndiEncInfoBuilder.initJndiReferences(JndiEncInfo= Builder.java:84) at org.apache.openejb.config.ConfigurationFactory.configureApplication(Configu= rationFactory.java:397) at org.apache.openejb.config.ConfigurationFactory.configureApplication(Configu= rationFactory.java:285) at org.apache.openejb.config.ConfigurationFactory.getOpenEjbConfiguration(Conf= igurationFactory.java:268) at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:206) at org.apache.openejb.OpenEJB$Instance.(OpenEJB.java:149) at org.apache.openejb.OpenEJB.init(OpenEJB.java:293) at org.apache.openejb.OpenEJB.init(OpenEJB.java:272) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3= 9) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp= l.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:36) at org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialConte= xtFactory.java:59) at org.apache.openejb.client.LocalInitialContextFactory.getInitialContext(Loca= lInitialContextFactory.java:45) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247) at javax.naming.InitialContext.init(InitialContext.java:223) at javax.naming.InitialContext.(InitialContext.java:197) at org.acme.FriendlyPersonTest.setUp(FriendlyPersonTest.java:41) at junit.framework.TestCase.runBare(TestCase.java:128) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:228) at junit.framework.TestSuite.run(TestSuite.java:223) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3= TestReference.java:128) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:= 38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestR= unner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestR= unner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner= .java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunne= r.java:196) FATAL - OpenEJB has encountered a fatal error and cannot be started: Assembler failed to build the container system. org.apache.openejb.OpenEJBException: java.lang.NullPointerException: null at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:220) at org.apache.openejb.OpenEJB$Instance.(OpenEJB.java:149) at org.apache.openejb.OpenEJB.init(OpenEJB.java:293) at org.apache.openejb.OpenEJB.init(OpenEJB.java:272) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3= 9) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp= l.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:36) at org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialConte= xtFactory.java:59) at org.apache.openejb.client.LocalInitialContextFactory.getInitialContext(Loca= lInitialContextFactory.java:45) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247) at javax.naming.InitialContext.init(InitialContext.java:223) at javax.naming.InitialContext.(InitialContext.java:197) at org.acme.FriendlyPersonTest.setUp(FriendlyPersonTest.java:41) at junit.framework.TestCase.runBare(TestCase.java:128) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:228) at junit.framework.TestSuite.run(TestSuite.java:223) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3= TestReference.java:128) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:= 38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestR= unner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestR= unner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner= .java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunne= r.java:196) Caused by: java.lang.NullPointerException at java.lang.String.compareTo(String.java:998) at java.lang.String.compareTo(String.java:90) at java.util.TreeMap.compare(TreeMap.java:1093) at java.util.TreeMap.getEntry(TreeMap.java:347) at java.util.TreeMap.get(TreeMap.java:265) at org.apache.openejb.config.JndiEncInfoBuilder.initJndiReferences(JndiEncInfo= Builder.java:84) at org.apache.openejb.config.ConfigurationFactory.configureApplication(Configu= rationFactory.java:397) at org.apache.openejb.config.ConfigurationFactory.configureApplication(Configu= rationFactory.java:285) at org.apache.openejb.config.ConfigurationFactory.getOpenEjbConfiguration(Conf= igurationFactory.java:268) at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:206) ... 28 more I'm using OpenEJB 3.0-beta-1, it seems that the moduleID is not set correctly at DeploymentLoader:372. I'll try to fix it somehow - I'll post later. --=20 Mgr. Martin Vysny | mvy@whitestein.com Software Engineer Whitestein Technologies s.r.o | www.whitestein.com Panenska 28 | 811 03 Bratislava | Slovak Republic Main +421 2 5443-5502 | Direct +421 2 5930-0717 --=-dRrk2khYeiE0zHVEmXgL Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBHDHm1xMY7ornrPO0RArZAAJ9BqmciDLsf9fog31wEtD2wWb1OEwCeMssZ pPeCrgQ0MjDLn9uPwhxKnBI= =zYFe -----END PGP SIGNATURE----- --=-dRrk2khYeiE0zHVEmXgL--