You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Marnie McCormack (JIRA)" <qp...@incubator.apache.org> on 2009/04/10 17:17:14 UTC
[jira] Assigned: (QPID-1801) [Java Broker] ACL Create permission
can throw NPE preventing broker startup
[ https://issues.apache.org/jira/browse/QPID-1801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marnie McCormack reassigned QPID-1801:
--------------------------------------
Assignee: Aidan Skinner (was: Marnie McCormack)
> [Java Broker] ACL Create permission can throw NPE preventing broker startup
> ---------------------------------------------------------------------------
>
> Key: QPID-1801
> URL: https://issues.apache.org/jira/browse/QPID-1801
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Affects Versions: M3, M4
> Environment: Test
> Reporter: Marnie McCormack
> Assignee: Aidan Skinner
> Priority: Blocker
> Fix For: 0.5
>
>
> In PrincipalPermissions the processing of CREATE ACLs can throw an NPE and prevent broker startup in this statement:
> if (exchangeName != null)
> {
> queue.put(exchangeName, routingKey);
> }
> The routingKey is null as a result of the incoming create parameters including a null routingKey in the array, which gets passed on from this previous statement:
> AMQShortString routingKey = parameters.length > 3 ? (AMQShortString) parameters[3] : queueName;
> The routingKey is present in the size 4 array, but is unhappily null.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org