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 12:59:14 UTC
[jira] Created: (QPID-1801) [Java Broker] ACL Create permission can
throw NPE preventing broker startup
[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: M4, M3
Environment: Test
Reporter: Marnie McCormack
Assignee: Marnie McCormack
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
[jira] Assigned: (QPID-1801) [Java Broker] ACL Create permission
can throw NPE preventing broker startup
Posted by "Marnie McCormack (JIRA)" <qp...@incubator.apache.org>.
[ 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
[jira] Updated: (QPID-1801) [Java Broker] ACL Create permission can
throw NPE preventing broker startup
Posted by "Marnie McCormack (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-1801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marnie McCormack updated QPID-1801:
-----------------------------------
Status: Ready To Review (was: In Progress)
> [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: Marnie McCormack
> 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
[jira] Resolved: (QPID-1801) [Java Broker] ACL Create permission
can throw NPE preventing broker startup
Posted by "Aidan Skinner (JIRA)" <qp...@incubator.apache.org>.
[ 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-subscribe@qpid.apache.org