qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Piotr Kliczewski <piotr.kliczew...@gmail.com>
Subject Proton interop for java and python
Date Fri, 21 Feb 2014 14:02:06 GMT
Hello,

I am sending message from java to python. Python code uses sasl authentication.

During processing response from python code I see following exception.
Can you tell me how to set the container-id in python?

Piotr

Exception in thread "main"
org.apache.qpid.proton.engine.TransportException:
org.apache.qpid.proton.codec.DecodeException: Unexpected null value -
mandatory field not set? (the container-id field is mandatory)
at org.apache.qpid.proton.engine.impl.FrameParser.input(FrameParser.java:432)
at org.apache.qpid.proton.engine.impl.FrameParser.process(FrameParser.java:502)
at org.apache.qpid.proton.engine.impl.ByteBufferUtils.pourAll(ByteBufferUtils.java:78)
at org.apache.qpid.proton.engine.impl.SaslImpl$SaslTransportWrapper.reallyProcessInput(SaslImpl.java:621)
at org.apache.qpid.proton.engine.impl.SaslImpl$SaslTransportWrapper.process(SaslImpl.java:588)
at org.apache.qpid.proton.engine.impl.TransportImpl.process(TransportImpl.java:1213)
at org.apache.qpid.proton.driver.impl.ConnectorImpl.read(ConnectorImpl.java:132)
at org.apache.qpid.proton.driver.impl.ConnectorImpl.process(ConnectorImpl.java:93)
at org.apache.qpid.proton.messenger.impl.MessengerImpl.processActive(MessengerImpl.java:695)
at org.apache.qpid.proton.messenger.impl.MessengerImpl.waitUntil(MessengerImpl.java:847)
at org.apache.qpid.proton.messenger.impl.MessengerImpl.waitUntil(MessengerImpl.java:796)
at org.apache.qpid.proton.messenger.impl.MessengerImpl.send(MessengerImpl.java:375)
at org.apache.qpid.proton.messenger.impl.MessengerImpl.send(MessengerImpl.java:352)
at org.ovirt.vdsm.jsonrpc.client.qpid.ProtonClient.<init>(ProtonClient.java:23)
at org.ovirt.vdsm.jsonrpc.client.qpid.ProtonClient.main(ProtonClient.java:28)
Caused by: org.apache.qpid.proton.codec.DecodeException: Unexpected
null value - mandatory field not set? (the container-id field is
mandatory)
at org.apache.qpid.proton.codec.DynamicTypeConstructor.readValue(DynamicTypeConstructor.java:43)
at org.apache.qpid.proton.codec.DecoderImpl.readObject(DecoderImpl.java:887)
at org.apache.qpid.proton.engine.impl.FrameParser.input(FrameParser.java:374)
... 14 more
Caused by: java.lang.NullPointerException: the container-id field is mandatory
at org.apache.qpid.proton.amqp.transport.Open.setContainerId(Open.java:57)
at org.apache.qpid.proton.codec.transport.OpenType.newInstance(OpenType.java:202)
at org.apache.qpid.proton.codec.transport.OpenType.newInstance(OpenType.java:1)
at org.apache.qpid.proton.codec.DynamicTypeConstructor.readValue(DynamicTypeConstructor.java:39)
... 16 more

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


Mime
View raw message