tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From romych <>
Subject NPE When deploy genericjmsra.rar
Date Tue, 20 Jan 2015 10:03:47 GMT
When deploy RAR from I see next error message
in a log:
INFO  OpenEJB.startup.config - Dumping Generated ra.xml to:
[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
I think it is a bug there in
          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:
Sent from the TomEE Users mailing list archive at
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message