qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Godfrey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-7744) [Java Broker] Fix NPE in AbstractVirtualHost$MessageHeaderImpl when there is no user principal
Date Thu, 13 Apr 2017 15:18:41 GMT

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

Rob Godfrey commented on QPID-7744:
-----------------------------------

When would there not be a user principal (don't object to the change - just I would have thought
that that there must always be a 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


Mime
View raw message