You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Jonas Larsson (JIRA)" <ji...@apache.org> on 2007/09/24 06:59:22 UTC

[jira] Created: (AMQNET-66) Null values handled incorrectyl in PrimitiveMap.GetString()

Null values handled incorrectyl in PrimitiveMap.GetString()
-----------------------------------------------------------

                 Key: AMQNET-66
                 URL: https://issues.apache.org/activemq/browse/AMQNET-66
             Project: ActiveMQ .Net
          Issue Type: Bug
          Components: ActiveMQ Client
            Reporter: Jonas Larsson
            Assignee: James Strachan
         Attachments: primitivemap2.patch

When trying to get a string message property with value of null, a null reference exception is thrown.

This becasue null values aer handled incorrectly. Since string is not a real primitive, null values should be handled.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AMQNET-66) Null values handled incorrectyl in PrimitiveMap.GetString()

Posted by "Jonas Larsson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQNET-66?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonas Larsson updated AMQNET-66:
--------------------------------

    Attachment: primitivemap2.patch

Patch that fixes this issue.

> Null values handled incorrectyl in PrimitiveMap.GetString()
> -----------------------------------------------------------
>
>                 Key: AMQNET-66
>                 URL: https://issues.apache.org/activemq/browse/AMQNET-66
>             Project: ActiveMQ .Net
>          Issue Type: Bug
>          Components: ActiveMQ Client
>            Reporter: Jonas Larsson
>            Assignee: James Strachan
>         Attachments: primitivemap2.patch
>
>
> When trying to get a string message property with value of null, a null reference exception is thrown.
> This becasue null values aer handled incorrectly. Since string is not a real primitive, null values should be handled.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (AMQNET-66) Null values handled incorrectyl in PrimitiveMap.GetString()

Posted by "Jim Gomes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQNET-66?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Gomes resolved AMQNET-66.
-----------------------------

    Resolution: Fixed

> Null values handled incorrectyl in PrimitiveMap.GetString()
> -----------------------------------------------------------
>
>                 Key: AMQNET-66
>                 URL: https://issues.apache.org/activemq/browse/AMQNET-66
>             Project: ActiveMQ .Net
>          Issue Type: Bug
>          Components: ActiveMQ Client
>            Reporter: Jonas Larsson
>            Assignee: James Strachan
>         Attachments: primitivemap2.patch
>
>
> When trying to get a string message property with value of null, a null reference exception is thrown.
> This becasue null values aer handled incorrectly. Since string is not a real primitive, null values should be handled.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.