Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 75705 invoked from network); 1 Dec 2008 15:19:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Dec 2008 15:19:07 -0000 Received: (qmail 13560 invoked by uid 500); 1 Dec 2008 15:19:17 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 13293 invoked by uid 500); 1 Dec 2008 15:19:16 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 13282 invoked by uid 99); 1 Dec 2008 15:19:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Dec 2008 07:19:16 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Dec 2008 15:17:57 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6E72F234C29C for ; Mon, 1 Dec 2008 07:18:44 -0800 (PST) Message-ID: <1784543850.1228144724451.JavaMail.jira@brutus> Date: Mon, 1 Dec 2008 07:18:44 -0800 (PST) From: "Donald Woods (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-4178) Misleading errors during deployment when missing entries in openejb-jar.xml In-Reply-To: <1634894812.1214947845001.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-4178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Donald Woods updated GERONIMO-4178: ----------------------------------- Patch Info: [Patch Available] Fix Version/s: 2.2 2.1.4 setting target fix versions > Misleading errors during deployment when missing entries in openejb-jar.xml > --------------------------------------------------------------------------- > > Key: GERONIMO-4178 > URL: https://issues.apache.org/jira/browse/GERONIMO-4178 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: OpenEJB > Affects Versions: 2.1.1 > Environment: AG 2.1.1, Windows XP > Reporter: Ashish Jain > Assignee: Manu T George > Fix For: 2.1.4, 2.2 > > Attachments: G4178-r673642.patch > > > Deploying a EJB jar on to Ag 2.1.1 leads to misleading errors once you have entries missing in openejb-jar.xml. I get a null pointer exception error when I remove and tags from openejb-jar.xml. > 19:42:23,375 INFO [config] Configuring Service(id=Default Stateful Container, type=Container, provider-id=Default Stateful Container) > 19:42:23,375 INFO [config] Configuring Service(id=Default BMP Container, type=Container, provider-id=Default BMP Container) > 19:42:23,375 INFO [config] Configuring Service(id=Default CMP Container, type=Container, provider-id=Default CMP Container) > 19:42:23,375 INFO [config] Configuring app: default/MessageDrivenBean/1.0/car > 19:42:23,421 INFO [OpenEJB] Auto-deploying ejb AdminMDB: EjbDeployment(deployment-id=MessageDrivenBean/AdminMDB) > 19:42:23,421 INFO [config] Loaded Module: default/MessageDrivenBean/1.0/car > 19:42:24,531 INFO [startup] Assembling app: C:\AG\2.1.1\geronimo-tomcat6-javaee5-2.1.1\var\temp\geronimo-deployer43113.tmpdir\MessageDrivenBean.jar > 19:42:24,546 INFO [startup] Undeploying app: C:\AG\2.1.1\geronimo-tomcat6-javaee5-2.1.1\var\temp\geronimo-deployer43113.tmpdir\MessageDrivenBean.jar > 19:42:24,546 ERROR [EjbModuleImpl] Module does not exist. > org.apache.openejb.NoSuchApplicationException: C:\AG\2.1.1\geronimo-tomcat6-javaee5-2.1.1\var\temp\geronimo-deployer43113.tmpdir\MessageDrivenBean.jar > at org.apache.openejb.assembler.classic.Assembler.destroyApplication(Assembler.java:599) > at org.apache.geronimo.openejb.OpenEjbSystemGBean.removeEjbJar(OpenEjbSystemGBean.java:398) > at org.apache.geronimo.openejb.EjbModuleImpl.stop(EjbModuleImpl.java:128) > at org.apache.geronimo.openejb.EjbModuleImplGBean.doFail(EjbModuleImplGBean.java:47) > at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:1028) > at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268) > 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:555) > at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379) > at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456) > at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187) > at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:549) > at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:530) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:615) > at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) > at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124) > at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:832) > at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57) > at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) > at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) > at org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$1b9ef63a.startConfiguration() > at org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67) > at java.lang.Thread.run(Thread.java:801) > 19:42:24,546 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="default/MessageDrivenBean/1.0/car?J2EEApplication=null,j2eeType=EJBModule,name=default/MessageDrivenBean/1.0/car" > org.apache.openejb.OpenEJBException: createApplication.failed [C:\AG\2.1.1\geronimo-tomcat6-javaee5-2.1.1\var\temp\geronimo-deployer43113.tmpdir\MessageDrivenBean.jar]: Error building bean 'AdminMDB'. Exception: class java.lang.NullPointerException: null: null > at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:592) > at org.apache.openejb.assembler.classic.Assembler.createEjbJar(Assembler.java:370) > at org.apache.geronimo.openejb.OpenEjbSystemGBean.createEjbJar(OpenEjbSystemGBean.java:391) > at org.apache.geronimo.openejb.EjbModuleImpl.start(EjbModuleImpl.java:123) > at org.apache.geronimo.openejb.EjbModuleImplGBean.doStart(EjbModuleImplGBean.java:39) > at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:998) > at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268) > 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:555) > at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379) > at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456) > at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187) > at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:549) > at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:530) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:615) > at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) > at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124) > at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:832) > at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57) > at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) > at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) > at org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$1b9ef63a.startConfiguration() > at org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67) > at java.lang.Thread.run(Thread.java:801) > Caused by: > org.apache.openejb.OpenEJBException: Error building bean 'AdminMDB'. Exception: class java.lang.NullPointerException: null: null > at org.apache.openejb.assembler.classic.EjbJarBuilder.build(EjbJarBuilder.java:64) > at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:489) > ... 27 more > Caused by: > java.lang.NullPointerException > at java.util.Hashtable.get(Hashtable.java:482) > at org.apache.openejb.assembler.classic.EjbJarBuilder.build(EjbJarBuilder.java:59) > ... 28 more > 19:42:24,687 INFO [SupportedModesServiceImpl] Portlet mode 'edit' not found for portletId: '/plugin.Deployment!227983155|0' -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.