mattrpav commented on PR #1156:
URL: https://github.com/apache/activemq/pull/1156#issuecomment-2353211058

   > This change is breaking `activemq-broker` tests:
   > 
   > ```
   > Caused by: java.lang.NullPointerException: Cannot invoke 
"org.apache.activemq.broker.Connection.isNetworkConnection()" because the 
return value of "org.apache.activemq.broker.ConnectionContext.getConnection()" 
is null
   >         at 
org.apache.activemq.broker.region.Queue.messageSent(Queue.java:1978)
   >         at 
org.apache.activemq.broker.region.Queue.doPendingCursorAdditions(Queue.java:843)
   >         at 
org.apache.activemq.broker.region.Queue$CursorAddSync.afterCommit(Queue.java:861)
   >         at 
org.apache.activemq.transaction.Transaction.fireAfterCommit(Transaction.java:140)
   >         at 
org.apache.activemq.transaction.Transaction.doPostCommit(Transaction.java:211)
   > ```
   > 
   > I'm fixing.
   
   Null guard added in latest commit 
[026b8ec](https://github.com/apache/activemq/pull/1156/commits/026b8ece426749dd84217bedf1b571e8248aabc8)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org
For additional commands, e-mail: gitbox-h...@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact


Reply via email to