You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/04/13 15:07:41 UTC

[jira] [Commented] (QPID-7744) [Java Broker] Fix NPE in AbstractVirtualHost$MessageHeaderImpl when there is no user principal

    [ https://issues.apache.org/jira/browse/QPID-7744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15967699#comment-15967699 ] 

ASF subversion and git services commented on QPID-7744:
-------------------------------------------------------

Commit 1791268 from [~lorenz.quack] in branch 'java/trunk'
[ https://svn.apache.org/r1791268 ]

QPID-7744: [Java Broker] Fix NPE in AbstractVirtualHost$MessageHeaderImpl when there is no user principal

> [Java Broker] Fix NPE in AbstractVirtualHost$MessageHeaderImpl when there is no user principal
> ----------------------------------------------------------------------------------------------
>
>                 Key: QPID-7744
>                 URL: https://issues.apache.org/jira/browse/QPID-7744
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>            Reporter: Lorenz Quack
>             Fix For: qpid-java-broker-7.0.0
>
>
> Currently, the broker produces a NullPointerException when {{MessageHeaderImpl}} are instantiated while the subject does not have a UserPrincipal.
> While this scenario should not occur outside of testing it is better to guard against NPEs.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org