You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Hiram Chirino (JIRA)" <ji...@apache.org> on 2012/10/05 18:58:02 UTC

[jira] [Created] (PROTON-62) ClassCastException when processing an Attach frame

Hiram Chirino created PROTON-62:
-----------------------------------

             Summary: ClassCastException when processing an Attach frame
                 Key: PROTON-62
                 URL: https://issues.apache.org/jira/browse/PROTON-62
             Project: Qpid Proton
          Issue Type: Bug
          Components: proton-j
            Reporter: Hiram Chirino


Got at:

Caused by: java.lang.ClassCastException: org.apache.qpid.proton.type.transaction.Coordinator cannot be cast to org.apache.qpid.proton.type.messaging.Target
	at org.apache.qpid.proton.engine.impl.TransportImpl.handleAttach(TransportImpl.java:977)
	at org.apache.qpid.proton.engine.impl.TransportImpl.handleAttach(TransportImpl.java:59)
	at org.apache.qpid.proton.type.transport.Attach.invoke(Attach.java:389)
	at org.apache.qpid.proton.engine.impl.TransportImpl.input(TransportImpl.java:1090)
	at org.apache.qpid.proton.engine.impl.FrameParser.input(FrameParser.java:409)
	at org.apache.qpid.proton.engine.impl.TransportImpl.input(TransportImpl.java:156)
	at org.apache.activemq.transport.amqp.AmqpProtocolConverter.onAMQPData(AmqpProtocolConverter.java:120)
	... 5 more


and I think the frame being processed was the following (hex):

00 00 00 6a 02 00 00 01 00 53 12 c0 5d 0a a1 11 74 78 6e 43 
6f 6e 74 72 6f 6c 6c 65 72 4c 69 6e 6b 43 42 50 00 50 00 00 
53 28 c0 01 00 00 53 30 c0 35 01 e0 32 02 a3 17 61 6d 71 70 
3a 6c 6f 63 61 6c 2d 74 72 61 6e 73 61 63 74 69 6f 6e 73 17 
61 6d 71 70 3a 6d 75 6c 74 69 2d 74 78 6e 73 2d 70 65 72 2d 
73 73 6e 40 40 43 



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (PROTON-62) Proton(-j) does not support attaching to the transaction coordinator

Posted by "Rafael H. Schloming (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PROTON-62?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rafael H. Schloming updated PROTON-62:
--------------------------------------

    Component/s: proton-c
    
> Proton(-j) does not support attaching to the transaction coordinator
> --------------------------------------------------------------------
>
>                 Key: PROTON-62
>                 URL: https://issues.apache.org/jira/browse/PROTON-62
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c, proton-j
>            Reporter: Hiram Chirino
>              Labels: api
>
> Got at:
> Caused by: java.lang.ClassCastException: org.apache.qpid.proton.type.transaction.Coordinator cannot be cast to org.apache.qpid.proton.type.messaging.Target
> 	at org.apache.qpid.proton.engine.impl.TransportImpl.handleAttach(TransportImpl.java:977)
> 	at org.apache.qpid.proton.engine.impl.TransportImpl.handleAttach(TransportImpl.java:59)
> 	at org.apache.qpid.proton.type.transport.Attach.invoke(Attach.java:389)
> 	at org.apache.qpid.proton.engine.impl.TransportImpl.input(TransportImpl.java:1090)
> 	at org.apache.qpid.proton.engine.impl.FrameParser.input(FrameParser.java:409)
> 	at org.apache.qpid.proton.engine.impl.TransportImpl.input(TransportImpl.java:156)
> 	at org.apache.activemq.transport.amqp.AmqpProtocolConverter.onAMQPData(AmqpProtocolConverter.java:120)
> 	... 5 more
> and I think the frame being processed was the following (hex):
> 00 00 00 6a 02 00 00 01 00 53 12 c0 5d 0a a1 11 74 78 6e 43 
> 6f 6e 74 72 6f 6c 6c 65 72 4c 69 6e 6b 43 42 50 00 50 00 00 
> 53 28 c0 01 00 00 53 30 c0 35 01 e0 32 02 a3 17 61 6d 71 70 
> 3a 6c 6f 63 61 6c 2d 74 72 61 6e 73 61 63 74 69 6f 6e 73 17 
> 61 6d 71 70 3a 6d 75 6c 74 69 2d 74 78 6e 73 2d 70 65 72 2d 
> 73 73 6e 40 40 43 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (PROTON-62) Proton(-j) does not support attaching to the transaction coordinator

Posted by "Rob Godfrey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PROTON-62?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Godfrey updated PROTON-62:
------------------------------

    Summary: Proton(-j) does not support attaching to the transaction coordinator  (was: Proton(-j) does not support attaching to the transaction controller)
    
> Proton(-j) does not support attaching to the transaction coordinator
> --------------------------------------------------------------------
>
>                 Key: PROTON-62
>                 URL: https://issues.apache.org/jira/browse/PROTON-62
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-j
>            Reporter: Hiram Chirino
>
> Got at:
> Caused by: java.lang.ClassCastException: org.apache.qpid.proton.type.transaction.Coordinator cannot be cast to org.apache.qpid.proton.type.messaging.Target
> 	at org.apache.qpid.proton.engine.impl.TransportImpl.handleAttach(TransportImpl.java:977)
> 	at org.apache.qpid.proton.engine.impl.TransportImpl.handleAttach(TransportImpl.java:59)
> 	at org.apache.qpid.proton.type.transport.Attach.invoke(Attach.java:389)
> 	at org.apache.qpid.proton.engine.impl.TransportImpl.input(TransportImpl.java:1090)
> 	at org.apache.qpid.proton.engine.impl.FrameParser.input(FrameParser.java:409)
> 	at org.apache.qpid.proton.engine.impl.TransportImpl.input(TransportImpl.java:156)
> 	at org.apache.activemq.transport.amqp.AmqpProtocolConverter.onAMQPData(AmqpProtocolConverter.java:120)
> 	... 5 more
> and I think the frame being processed was the following (hex):
> 00 00 00 6a 02 00 00 01 00 53 12 c0 5d 0a a1 11 74 78 6e 43 
> 6f 6e 74 72 6f 6c 6c 65 72 4c 69 6e 6b 43 42 50 00 50 00 00 
> 53 28 c0 01 00 00 53 30 c0 35 01 e0 32 02 a3 17 61 6d 71 70 
> 3a 6c 6f 63 61 6c 2d 74 72 61 6e 73 61 63 74 69 6f 6e 73 17 
> 61 6d 71 70 3a 6d 75 6c 74 69 2d 74 78 6e 73 2d 70 65 72 2d 
> 73 73 6e 40 40 43 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (PROTON-62) Proton(-j) does not support attaching to the transaction coordinator

Posted by "Rafael H. Schloming (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PROTON-62?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rafael H. Schloming updated PROTON-62:
--------------------------------------

    Assignee: Rafael H. Schloming
    
> Proton(-j) does not support attaching to the transaction coordinator
> --------------------------------------------------------------------
>
>                 Key: PROTON-62
>                 URL: https://issues.apache.org/jira/browse/PROTON-62
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c, proton-j
>            Reporter: Hiram Chirino
>            Assignee: Rafael H. Schloming
>              Labels: api
>
> Got at:
> Caused by: java.lang.ClassCastException: org.apache.qpid.proton.type.transaction.Coordinator cannot be cast to org.apache.qpid.proton.type.messaging.Target
> 	at org.apache.qpid.proton.engine.impl.TransportImpl.handleAttach(TransportImpl.java:977)
> 	at org.apache.qpid.proton.engine.impl.TransportImpl.handleAttach(TransportImpl.java:59)
> 	at org.apache.qpid.proton.type.transport.Attach.invoke(Attach.java:389)
> 	at org.apache.qpid.proton.engine.impl.TransportImpl.input(TransportImpl.java:1090)
> 	at org.apache.qpid.proton.engine.impl.FrameParser.input(FrameParser.java:409)
> 	at org.apache.qpid.proton.engine.impl.TransportImpl.input(TransportImpl.java:156)
> 	at org.apache.activemq.transport.amqp.AmqpProtocolConverter.onAMQPData(AmqpProtocolConverter.java:120)
> 	... 5 more
> and I think the frame being processed was the following (hex):
> 00 00 00 6a 02 00 00 01 00 53 12 c0 5d 0a a1 11 74 78 6e 43 
> 6f 6e 74 72 6f 6c 6c 65 72 4c 69 6e 6b 43 42 50 00 50 00 00 
> 53 28 c0 01 00 00 53 30 c0 35 01 e0 32 02 a3 17 61 6d 71 70 
> 3a 6c 6f 63 61 6c 2d 74 72 61 6e 73 61 63 74 69 6f 6e 73 17 
> 61 6d 71 70 3a 6d 75 6c 74 69 2d 74 78 6e 73 2d 70 65 72 2d 
> 73 73 6e 40 40 43 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (PROTON-62) Proton(-j) does not support attaching to the transaction controller

Posted by "Rob Godfrey (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PROTON-62?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13470553#comment-13470553 ] 

Rob Godfrey commented on PROTON-62:
-----------------------------------

This is a manifestation of the fact that proton currently doesn't support the transaction controller target and can be seen as related to PROTON-9 in as much as a better API is needed to support Source and Targets
                
> Proton(-j) does not support attaching to the transaction controller
> -------------------------------------------------------------------
>
>                 Key: PROTON-62
>                 URL: https://issues.apache.org/jira/browse/PROTON-62
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-j
>            Reporter: Hiram Chirino
>
> Got at:
> Caused by: java.lang.ClassCastException: org.apache.qpid.proton.type.transaction.Coordinator cannot be cast to org.apache.qpid.proton.type.messaging.Target
> 	at org.apache.qpid.proton.engine.impl.TransportImpl.handleAttach(TransportImpl.java:977)
> 	at org.apache.qpid.proton.engine.impl.TransportImpl.handleAttach(TransportImpl.java:59)
> 	at org.apache.qpid.proton.type.transport.Attach.invoke(Attach.java:389)
> 	at org.apache.qpid.proton.engine.impl.TransportImpl.input(TransportImpl.java:1090)
> 	at org.apache.qpid.proton.engine.impl.FrameParser.input(FrameParser.java:409)
> 	at org.apache.qpid.proton.engine.impl.TransportImpl.input(TransportImpl.java:156)
> 	at org.apache.activemq.transport.amqp.AmqpProtocolConverter.onAMQPData(AmqpProtocolConverter.java:120)
> 	... 5 more
> and I think the frame being processed was the following (hex):
> 00 00 00 6a 02 00 00 01 00 53 12 c0 5d 0a a1 11 74 78 6e 43 
> 6f 6e 74 72 6f 6c 6c 65 72 4c 69 6e 6b 43 42 50 00 50 00 00 
> 53 28 c0 01 00 00 53 30 c0 35 01 e0 32 02 a3 17 61 6d 71 70 
> 3a 6c 6f 63 61 6c 2d 74 72 61 6e 73 61 63 74 69 6f 6e 73 17 
> 61 6d 71 70 3a 6d 75 6c 74 69 2d 74 78 6e 73 2d 70 65 72 2d 
> 73 73 6e 40 40 43 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (PROTON-62) Proton(-j) does not support attaching to the transaction controller

Posted by "Rob Godfrey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PROTON-62?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Godfrey updated PROTON-62:
------------------------------

    Summary: Proton(-j) does not support attaching to the transaction controller  (was: ClassCastException when processing an Attach frame)
    
> Proton(-j) does not support attaching to the transaction controller
> -------------------------------------------------------------------
>
>                 Key: PROTON-62
>                 URL: https://issues.apache.org/jira/browse/PROTON-62
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-j
>            Reporter: Hiram Chirino
>
> Got at:
> Caused by: java.lang.ClassCastException: org.apache.qpid.proton.type.transaction.Coordinator cannot be cast to org.apache.qpid.proton.type.messaging.Target
> 	at org.apache.qpid.proton.engine.impl.TransportImpl.handleAttach(TransportImpl.java:977)
> 	at org.apache.qpid.proton.engine.impl.TransportImpl.handleAttach(TransportImpl.java:59)
> 	at org.apache.qpid.proton.type.transport.Attach.invoke(Attach.java:389)
> 	at org.apache.qpid.proton.engine.impl.TransportImpl.input(TransportImpl.java:1090)
> 	at org.apache.qpid.proton.engine.impl.FrameParser.input(FrameParser.java:409)
> 	at org.apache.qpid.proton.engine.impl.TransportImpl.input(TransportImpl.java:156)
> 	at org.apache.activemq.transport.amqp.AmqpProtocolConverter.onAMQPData(AmqpProtocolConverter.java:120)
> 	... 5 more
> and I think the frame being processed was the following (hex):
> 00 00 00 6a 02 00 00 01 00 53 12 c0 5d 0a a1 11 74 78 6e 43 
> 6f 6e 74 72 6f 6c 6c 65 72 4c 69 6e 6b 43 42 50 00 50 00 00 
> 53 28 c0 01 00 00 53 30 c0 35 01 e0 32 02 a3 17 61 6d 71 70 
> 3a 6c 6f 63 61 6c 2d 74 72 61 6e 73 61 63 74 69 6f 6e 73 17 
> 61 6d 71 70 3a 6d 75 6c 74 69 2d 74 78 6e 73 2d 70 65 72 2d 
> 73 73 6e 40 40 43 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (PROTON-62) Proton(-j) does not support attaching to the transaction coordinator

Posted by "Rafael H. Schloming (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PROTON-62?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rafael H. Schloming updated PROTON-62:
--------------------------------------

    Labels: api  (was: )
    
> Proton(-j) does not support attaching to the transaction coordinator
> --------------------------------------------------------------------
>
>                 Key: PROTON-62
>                 URL: https://issues.apache.org/jira/browse/PROTON-62
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c, proton-j
>            Reporter: Hiram Chirino
>              Labels: api
>
> Got at:
> Caused by: java.lang.ClassCastException: org.apache.qpid.proton.type.transaction.Coordinator cannot be cast to org.apache.qpid.proton.type.messaging.Target
> 	at org.apache.qpid.proton.engine.impl.TransportImpl.handleAttach(TransportImpl.java:977)
> 	at org.apache.qpid.proton.engine.impl.TransportImpl.handleAttach(TransportImpl.java:59)
> 	at org.apache.qpid.proton.type.transport.Attach.invoke(Attach.java:389)
> 	at org.apache.qpid.proton.engine.impl.TransportImpl.input(TransportImpl.java:1090)
> 	at org.apache.qpid.proton.engine.impl.FrameParser.input(FrameParser.java:409)
> 	at org.apache.qpid.proton.engine.impl.TransportImpl.input(TransportImpl.java:156)
> 	at org.apache.activemq.transport.amqp.AmqpProtocolConverter.onAMQPData(AmqpProtocolConverter.java:120)
> 	... 5 more
> and I think the frame being processed was the following (hex):
> 00 00 00 6a 02 00 00 01 00 53 12 c0 5d 0a a1 11 74 78 6e 43 
> 6f 6e 74 72 6f 6c 6c 65 72 4c 69 6e 6b 43 42 50 00 50 00 00 
> 53 28 c0 01 00 00 53 30 c0 35 01 e0 32 02 a3 17 61 6d 71 70 
> 3a 6c 6f 63 61 6c 2d 74 72 61 6e 73 61 63 74 69 6f 6e 73 17 
> 61 6d 71 70 3a 6d 75 6c 74 69 2d 74 78 6e 73 2d 70 65 72 2d 
> 73 73 6e 40 40 43 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (PROTON-62) Proton(-j) does not support attaching to the transaction coordinator

Posted by "Rafael H. Schloming (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PROTON-62?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rafael H. Schloming updated PROTON-62:
--------------------------------------

    Priority: Blocker  (was: Major)
    
> Proton(-j) does not support attaching to the transaction coordinator
> --------------------------------------------------------------------
>
>                 Key: PROTON-62
>                 URL: https://issues.apache.org/jira/browse/PROTON-62
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c, proton-j
>            Reporter: Hiram Chirino
>            Assignee: Rafael H. Schloming
>            Priority: Blocker
>              Labels: api
>
> Got at:
> Caused by: java.lang.ClassCastException: org.apache.qpid.proton.type.transaction.Coordinator cannot be cast to org.apache.qpid.proton.type.messaging.Target
> 	at org.apache.qpid.proton.engine.impl.TransportImpl.handleAttach(TransportImpl.java:977)
> 	at org.apache.qpid.proton.engine.impl.TransportImpl.handleAttach(TransportImpl.java:59)
> 	at org.apache.qpid.proton.type.transport.Attach.invoke(Attach.java:389)
> 	at org.apache.qpid.proton.engine.impl.TransportImpl.input(TransportImpl.java:1090)
> 	at org.apache.qpid.proton.engine.impl.FrameParser.input(FrameParser.java:409)
> 	at org.apache.qpid.proton.engine.impl.TransportImpl.input(TransportImpl.java:156)
> 	at org.apache.activemq.transport.amqp.AmqpProtocolConverter.onAMQPData(AmqpProtocolConverter.java:120)
> 	... 5 more
> and I think the frame being processed was the following (hex):
> 00 00 00 6a 02 00 00 01 00 53 12 c0 5d 0a a1 11 74 78 6e 43 
> 6f 6e 74 72 6f 6c 6c 65 72 4c 69 6e 6b 43 42 50 00 50 00 00 
> 53 28 c0 01 00 00 53 30 c0 35 01 e0 32 02 a3 17 61 6d 71 70 
> 3a 6c 6f 63 61 6c 2d 74 72 61 6e 73 61 63 74 69 6f 6e 73 17 
> 61 6d 71 70 3a 6d 75 6c 74 69 2d 74 78 6e 73 2d 70 65 72 2d 
> 73 73 6e 40 40 43 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira