[ https://issues.apache.org/jira/browse/QPID-1801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aidan Skinner resolved QPID-1801. --------------------------------- Resolution: Fixed > [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-subscr...@qpid.apache.org