[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to