You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robert Greig (JIRA)" <qp...@incubator.apache.org> on 2006/12/15 20:15:21 UTC

[jira] Created: (QPID-199) PropertyFieldTable cannot decode payload

PropertyFieldTable cannot decode payload
----------------------------------------

                 Key: QPID-199
                 URL: http://issues.apache.org/jira/browse/QPID-199
             Project: Qpid
          Issue Type: Bug
          Components: Java Common
            Reporter: Robert Greig
         Assigned To: Robert Greig


The PropertyFieldTable throws a NullPointerException exception when decoding many payloads. This appears related to a switch on an enum.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (QPID-199) PropertyFieldTable cannot decode payload

Posted by "Robert Greig (JIRA)" <qp...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/QPID-199?page=all ]

Robert Greig resolved QPID-199.
-------------------------------

    Fix Version/s: M2
       Resolution: Fixed

Patch committed to svn.

> PropertyFieldTable cannot decode payload
> ----------------------------------------
>
>                 Key: QPID-199
>                 URL: http://issues.apache.org/jira/browse/QPID-199
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Common
>            Reporter: Robert Greig
>         Assigned To: Robert Greig
>             Fix For: M2
>
>         Attachments: QPID-199.patch
>
>
> The PropertyFieldTable throws a NullPointerException exception when decoding many payloads. This appears related to a switch on an enum.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (QPID-199) PropertyFieldTable cannot decode payload

Posted by "Rob Godfrey (JIRA)" <qp...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/QPID-199?page=all ]

Rob Godfrey updated QPID-199:
-----------------------------

    Attachment: QPID-199.patch

Change to PropertyFieldTable so that the enum does not try to populate the reverseTypeLookup map upon construction.  Instead wait until the enum is full constructed before populating the map.

> PropertyFieldTable cannot decode payload
> ----------------------------------------
>
>                 Key: QPID-199
>                 URL: http://issues.apache.org/jira/browse/QPID-199
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Common
>            Reporter: Robert Greig
>         Assigned To: Robert Greig
>         Attachments: QPID-199.patch
>
>
> The PropertyFieldTable throws a NullPointerException exception when decoding many payloads. This appears related to a switch on an enum.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira