Ok, it's my fault :-)
I thought i was using v5.11.1, but in fact, it was v5.10.1
I could reproduce this issue with a standalone unit test : fail in v5.10.1
but succeeded in v5.11.1. It was caused by VMTransportFactory.lookupBroker,
line 183 :
"if (broker == null && waitForStart > 0) {"
instead of
"if (broker == null || waitForStart > 0) {"
it's fixed in v5.11.1 with AMQ-5086 (but JIRA is wrong, it's not fixed in
5.10.1 ?).
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Random-NPE-in-ManagedBrokerRegion-addConnection-with-OSGI-tp4699980p4700002.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.