tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From romych <romy...@mail.ru>
Subject NPE When deploy genericjmsra.rar
Date Tue, 20 Jan 2015 10:03:47 GMT
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.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message