Hi do you want to provide us a patch (just open a jira here issues.apache.org/jira/browse/TOMEE and attach the patch)?
Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2015-01-20 11:03 GMT+01:00 romych <[email protected]>: > When deploy RAR from https://genericjmsra.java.net/ I see next error message > in a log: > INFO OpenEJB.startup.config - Dumping Generated ra.xml to: > /home/rb4400/JEE/apache-tomee-plus-1.7.1/temp/ra-2651406426139741272015-01-20T12:24:56.366 > [main] INFO OpenEJB.startup.config - Configuring Service(id=genericraRA, > type=Resource, provider-id=genericraRA)2015-01-20T12:24:56.369 [main] ERROR > OpenEJB - FATAL ERROR: Unknown error in Assembler. Please send the > following stack trace and this message to users@opene > java.lang.NullPointerException at > org.apache.openejb.config.AppInfoBuilder.buildConnectorModules(AppInfoBuilder.java:507)... > I think it is a bug there in AppInfoBuilder.java > if (outbound != null) { String transactionSupport = > "none"; switch (outbound.getTransactionSupport()) { // Line > 507 case LOCAL_TRANSACTION: > transactionSupport = "local"; break; > case NO_TRANSACTION: transactionSupport = "none"; > break; case XA_TRANSACTION: > transactionSupport = "xa"; break; } > With this code transactionSupport newer be "none" .if > outbound.getTransactionSupport() returns null, it breaks the *switch*. Will > need to check for null before switch. Tomee 1.7.1 > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/NPE-When-deploy-genericjmsra-rar-tp4673448.html > Sent from the TomEE Users mailing list archive at Nabble.com.
