[jira] Closed: (GERONIMO-3514) NullPointerException in EjbModuleBuilder.addResourceAdapterMDBInfos
[ https://issues.apache.org/jira/browse/GERONIMO-3514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevan Miller closed GERONIMO-3514. -- Resolution: Fixed Regression: [Regression] Fixed in branches/2.0.2 branches/2.0 and trunk. > NullPointerException in EjbModuleBuilder.addResourceAdapterMDBInfos > --- > > Key: GERONIMO-3514 > URL: https://issues.apache.org/jira/browse/GERONIMO-3514 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: deployment >Affects Versions: 2.0.2 >Reporter: Kevan Miller >Assignee: Kevan Miller > Fix For: 2.0.2, 2.1 > > > Some RA Gbeans can hava a null messageListenerToActivationSpecMap. This > results in an NPE as follows: > Caused by: java.lang.NullPointerException > at > org.apache.geronimo.openejb.deployment.EjbModuleBuilder.addResourceAdapterMDBInfos(EjbModuleBuilder.java:641) > at > org.apache.geronimo.openejb.deployment.EjbModuleBuilder.configureApplication(EjbModuleBuilder.java:611) > at > org.apache.geronimo.openejb.deployment.EjbModuleBuilder.getEjbJarInfo(EjbModuleBuilder.java:551) > at > org.apache.geronimo.openejb.deployment.EjbModuleBuilder.initContext(EjbModuleBuilder.java:473) > at > org.apache.geronimo.openejb.deployment.EjbModuleBuilder$$FastClassByCGLIB$$cd80af20.invoke() > 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:124) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:830) > 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.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$fc8d140a.initContext() > at > org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:576) > at > org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLIB$$38e56ec6.invoke() > 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:124) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:830) > 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.j2ee.deployment.CorbaGBeanNameSource$$EnhancerByCGLIB$$33ba8e1f.buildConfiguration() > at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:304) > ... 35 more -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (GERONIMO-3514) NullPointerException in EjbModuleBuilder.addResourceAdapterMDBInfos
NullPointerException in EjbModuleBuilder.addResourceAdapterMDBInfos --- Key: GERONIMO-3514 URL: https://issues.apache.org/jira/browse/GERONIMO-3514 Project: Geronimo Issue Type: Bug Security Level: public (Regular issues) Components: deployment Affects Versions: 2.0.2 Reporter: Kevan Miller Assignee: Kevan Miller Fix For: 2.0.2, 2.1 Some RA Gbeans can hava a null messageListenerToActivationSpecMap. This results in an NPE as follows: Caused by: java.lang.NullPointerException at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.addResourceAdapterMDBInfos(EjbModuleBuilder.java:641) at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.configureApplication(EjbModuleBuilder.java:611) at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.getEjbJarInfo(EjbModuleBuilder.java:551) at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.initContext(EjbModuleBuilder.java:473) at org.apache.geronimo.openejb.deployment.EjbModuleBuilder$$FastClassByCGLIB$$cd80af20.invoke() 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:124) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:830) 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.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$fc8d140a.initContext() at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:576) at org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLIB$$38e56ec6.invoke() 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:124) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:830) 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.j2ee.deployment.CorbaGBeanNameSource$$EnhancerByCGLIB$$33ba8e1f.buildConfiguration() at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:304) ... 35 more -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: [BUILD] 2.0: Successful
These test results are not accurate. The tests were hanging and stepping into the next scheduled builds. I killed it. Cheers Prasad On 7 Oct 2007 14:33:10 -, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Geronimo Revision: 582613 built with tests included > > See the full build-0800.log file at > http://people.apache.org/~prasad/binaries/2.0/20071007/build-0800.log > > Download the binaries from > http://people.apache.org/~prasad/binaries/2.0/20071007 > [INFO] BUILD SUCCESSFUL > [INFO] > > [INFO] Total time: 23 minutes 48 seconds > [INFO] Finished at: Sun Oct 07 08:28:38 EDT 2007 > [INFO] Final Memory: 203M/1005M > [INFO] > > > TESTSUITE RESULTS (Failures only) > = > See detailed results at > http://people.apache.org/~prasad/testsuite/ResultsSummary.html > See the full test-0800.log file at > http://people.apache.org/~prasad/binaries/2.0/20071007/test-0800.log > > [INFO] Running console-testsuite.basic-console > [INFO] Tests run: 38, Failures: 38, Errors: 0, Skipped: 0, Time elapsed: > 1,142.247 sec <<< FAILURE! > -- > [INFO] Running console-testsuite.advance-test > [INFO] Tests run: 12, Failures: 12, Errors: 0, Skipped: 0, Time elapsed: > 361.532 sec <<< FAILURE! > -- > [INFO] Running corba-testsuite.corba-mytime > [INFO] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 30.132 > sec <<< FAILURE! > -- > [INFO] Running deployment-testsuite.deployment > [INFO] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 30.138 > sec <<< FAILURE! > -- > [INFO] Running deployment-testsuite.jca-cms > [INFO] Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 60.193 > sec <<< FAILURE! > -- > [INFO] Running enterprise-testsuite.jms > [INFO] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 30.1 > sec <<< FAILURE! > -- > [INFO] Running jpa-testsuite.jpa > [INFO] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 30.083 > sec <<< FAILURE! > -- > [INFO] Running sec-testsuite.security > [INFO] Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 60.213 > sec <<< FAILURE! > -- > [INFO] Running web-testsuite.jsps > [INFO] Tests run: 4, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: > 120.233 sec <<< FAILURE! > -- > [INFO] Running web-testsuite.myfaces > [INFO] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 30.142 > sec <<< FAILURE! > -- > [INFO] Running web-testsuite.security > [INFO] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 30.151 > sec <<< FAILURE! > -- > [INFO] Running web-testsuite.references > [INFO] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 30.112 > sec <<< FAILURE! > -- > [INFO] Running web-testsuite.servlets > [INFO] Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 60.202 > sec <<< FAILURE! > -- > [INFO] Running web-testsuite.jetty > [INFO] Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 60.086 > sec <<< FAILURE! > -- > [INFO] Running org.apache.geronimo.testsuite.testset.JaxWSTest > [INFO] Tests run: 5, Failures: 5, Errors: 0, Skipped: 0, Time elapsed: > 2,000.201 sec <<< FAILURE! > -- > [INFO] ... 27 more > [INFO] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.321 > sec <<< FAILURE! > -- > [INFO] Hello foo bar > [INFO] Tests run: 3, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: > 800.884 sec <<< FAILURE! > -- > [INFO] Running org.apache.geronimo.testsuite.testset.WebJAXRTest > [INFO] Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: > 800.172 sec <<< FAILURE! > -- > [INFO] Running org.apache.geronimo.testsuite.testset.WebStaxTest > [INFO] Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: > 800.181 sec <<< FAILURE! > >
[BUILD] 2.1: Failed for Revision: 582605
OpenEJB trunk at 582586 Geronimo Revision: 582605 built with tests included See the full build-0600.log file at http://people.apache.org/~prasad/binaries/trunk/20071007/build-0600.log [INFO] [enforcer:enforce {execution: default}] [INFO] [tools:copy-legal-files {execution: install-legal-files}] [INFO] Created dir: /home/prasad/geronimo/trunk/configs/transaction/target/classes/META-INF [INFO] Copying 2 files to /home/prasad/geronimo/trunk/configs/transaction/target/classes/META-INF [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [car:validate-configuration] [INFO] [car:prepare-plan] [INFO] Generated: /home/prasad/geronimo/trunk/configs/transaction/target/resources/META-INF/plan.xml [INFO] [car:prepare-metadata] [INFO] [car:package] [INFO] Packaging module configuration: /home/prasad/geronimo/trunk/configs/transaction/target/resources/META-INF/plan.xml [INFO] snapshot org.apache.geronimo.configs:j2ee-server:2.1-SNAPSHOT: checking for updates from apache-snapshots [INFO] snapshot org.apache.geronimo.configs:j2ee-server:2.1-SNAPSHOT: checking for updates from codehaus-snapshots [INFO] snapshot org.apache.geronimo.configs:j2ee-server:2.1-SNAPSHOT: checking for updates from apache.snapshots [INFO] snapshot org.apache.geronimo.configs:j2ee-security:2.1-SNAPSHOT: checking for updates from apache-snapshots [INFO] snapshot org.apache.geronimo.configs:j2ee-security:2.1-SNAPSHOT: checking for updates from codehaus-snapshots [INFO] snapshot org.apache.geronimo.configs:j2ee-security:2.1-SNAPSHOT: checking for updates from apache.snapshots [INFO] snapshot org.apache.geronimo.modules:geronimo-connector:2.1-SNAPSHOT: checking for updates from apache-snapshots [INFO] snapshot org.apache.geronimo.modules:geronimo-connector:2.1-SNAPSHOT: checking for updates from codehaus-snapshots [INFO] snapshot org.apache.geronimo.modules:geronimo-connector:2.1-SNAPSHOT: checking for updates from apache.snapshots [INFO] snapshot org.apache.geronimo.modules:geronimo-transaction:2.1-SNAPSHOT: checking for updates from apache-snapshots [INFO] snapshot org.apache.geronimo.modules:geronimo-transaction:2.1-SNAPSHOT: checking for updates from codehaus-snapshots [INFO] snapshot org.apache.geronimo.modules:geronimo-transaction:2.1-SNAPSHOT: checking for updates from apache.snapshots [INFO] snapshot org.apache.geronimo.modules:geronimo-persistence-jpa10:2.1-SNAPSHOT: checking for updates from apache-snapshots [INFO] snapshot org.apache.geronimo.modules:geronimo-persistence-jpa10:2.1-SNAPSHOT: checking for updates from codehaus-snapshots [INFO] snapshot org.apache.geronimo.modules:geronimo-persistence-jpa10:2.1-SNAPSHOT: checking for updates from apache.snapshots [INFO] Building jar: /home/prasad/geronimo/trunk/configs/transaction/target/transaction-2.1-SNAPSHOT.car [INFO] [tools:verify-legal-files {execution: verify-legal-files}] [INFO] Checking legal files in: transaction-2.1-SNAPSHOT.car [INFO] [install:install] [INFO] Installing /home/prasad/geronimo/trunk/configs/transaction/target/transaction-2.1-SNAPSHOT.car to /home/prasad/.m2/repository/org/apache/geronimo/configs/transaction/2.1-SNAPSHOT/transaction-2.1-SNAPSHOT.car [INFO] [car:update-pluginlist] [INFO] [INFO] Building Geronimo Configs :: XMLBeans [INFO]task-segment: [install] [INFO] [INFO] [enforcer:enforce {execution: default}] [INFO] [tools:copy-legal-files {execution: install-legal-files}] [INFO] Created dir: /home/prasad/geronimo/trunk/configs/xmlbeans/target/classes/META-INF [INFO] Copying 2 files to /home/prasad/geronimo/trunk/configs/xmlbeans/target/classes/META-INF [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [car:validate-configuration] [INFO] [car:prepare-plan] [INFO] Generated: /home/prasad/geronimo/trunk/configs/xmlbeans/target/resources/META-INF/plan.xml [INFO] [car:prepare-metadata] [INFO] [car:package] [INFO] Packaging module configuration: /home/prasad/geronimo/trunk/configs/xmlbeans/target/resources/META-INF/plan.xml [INFO] Building jar: /home/prasad/geronimo/trunk/configs/xmlbeans/target/xmlbeans-2.1-SNAPSHOT.car [INFO] [tools:verify-legal-files {execution: verify-legal-files}] [INFO] Checking legal files in: xmlbeans-2.1-SNAPSHOT.car [INFO] [install:install] [INFO] Installing /home/prasad/geronimo/trunk/configs/xmlbeans/target/xmlbeans-2.1-SNAPSHOT.car to /home/prasad/.m2/repository/org/apache/geronimo/configs/xmlbeans/2.1-SNAPSHOT/xmlbeans-2.1-SNAPSHOT.car [INFO] [car:update-pluginlist] [INFO] [INFO] Building Geronimo Configs :: GBean Deployer [INFO]task-segment: [install] [INFO] [INFO] [enforcer:enforce {execution: default
[BUILD] 2.0: Failed for Revision: 582591
Geronimo Revision: 582591 built with tests included See the full build-0400.log file at http://people.apache.org/~prasad/binaries/2.0/20071007/build-0400.log Building Geronimo 2.0 at Revision: 582591 [INFO] Scanning for projects... [INFO] [INFO] Building Maven Default Project [INFO]task-segment: [install] [INFO] [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for updates from central Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom 1K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/1/maven-plugins-1.pom 3K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-parent/1/maven-parent-1.pom 6K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/apache/1/apache-1.pom 3K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.jar 13K downloaded [INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking for updates from central Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0.2/maven-compiler-plugin-2.0.2.pom 2K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/8/maven-plugins-8.pom 5K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-parent/5/maven-parent-5.pom 14K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/apache/3/apache-3.pom 3K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0.2/maven-compiler-plugin-2.0.2.jar 17K downloaded [INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking for updates from central Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.3/maven-surefire-plugin-2.3.pom 4K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire/2.3/surefire-2.3.pom 5K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.3/maven-surefire-plugin-2.3.jar 14K downloaded [INFO] artifact org.apache.maven.plugins:maven-jar-plugin: checking for updates from central Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.1/maven-jar-plugin-2.1.pom 2K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/3/maven-plugins-3.pom 6K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-parent/4/maven-parent-4.pom 9K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.1/maven-jar-plugin-2.1.jar 18K downloaded [INFO] artifact org.apache.maven.plugins:maven-install-plugin: checking for updates from central Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.2/maven-install-plugin-2.2.pom 2K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.2/maven-install-plugin-2.2.jar 15K downloaded [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Cannot execute mojo: resources. It requires a project with an existing pom.xml, but the build is not using one. [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 5 seconds [INFO] Finished at: Sun Oct 07 04:10:35 EDT 2007 [INFO] Final Memory: 3M/504M [INFO]