GitHub user gaohoward opened a pull request:
https://github.com/apache/activemq-artemis/pull/1507
NO-JIRA: Add non-null check to ServerSessionImpl.doClose()
An Openwire connection creates an internal session used to track
transaction status, it doesn't have a session callback. When
the connection is closed, the core session should check if
callback is null to avoid NPE.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gaohoward/activemq-artemis kmaster_npe
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/1507.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1507
----
commit 46c95c2a95d109319a3f7f36fbf16c0b414de44d
Author: Howard Gao <[email protected]>
Date: 2017-09-04T10:56:57Z
NO-JIRA: Add non-null check to ServerSessionImpl.doClose()
An Openwire connection creates an internal session used to track
transaction status, it doesn't have a session callback. When
the connection is closed, the core session should check if
callback is null to avoid NPE.
----
---