[ 
https://issues.apache.org/jira/browse/QPID-6482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14485292#comment-14485292
 ] 

Rob Godfrey commented on QPID-6482:
-----------------------------------

OK - the "interesting" thing here is the "Unknown endpoint Transfer".  
Basically this is saying that the message has been received on a link, but the 
client doesn't know what that link is...  The NullPointerException happens 
because of a bug in the client where you have a large message which has 
encountered the above problem.

Is it possible to turn the protocol logging on and get a  bit more context for 
the flow of frames/messages from the broker to the client.  We need to 
understand how the client (or broker) has got into a state where it is 
receiving messages.

Do the broker logs show any exceptions? 

> NPE in SessionEndpoint.receiveTransfer when receiving large message
> -------------------------------------------------------------------
>
>                 Key: QPID-6482
>                 URL: https://issues.apache.org/jira/browse/QPID-6482
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: 0.32
>            Reporter: Mark Soderquist
>
> We are occasionally seeing the following exception when receiving a message 
> of 500000 bytes. Sometimes it helps to increase the receive timeout but not 
> always:
> java.lang.NullPointerException
>       at 
> org.apache.qpid.amqp_1_0.transport.SessionEndpoint.receiveTransfer(SessionEndpoint.java:435)
>       at 
> org.apache.qpid.amqp_1_0.transport.ConnectionEndpoint.receiveTransfer(ConnectionEndpoint.java:655)
>       at 
> org.apache.qpid.amqp_1_0.type.transport.Transfer.invoke(Transfer.java:285)
>       at 
> org.apache.qpid.amqp_1_0.transport.ConnectionEndpoint.receive(ConnectionEndpoint.java:808)
>       at 
> org.apache.qpid.amqp_1_0.framing.FrameHandler.parse(FrameHandler.java:241)
>       at 
> org.apache.qpid.amqp_1_0.framing.ConnectionHandler.parse(ConnectionHandler.java:75)
>       at 
> org.apache.qpid.amqp_1_0.client.TCPTransportProvider.doRead(TCPTransportProvider.java:244)
>       at 
> org.apache.qpid.amqp_1_0.client.TCPTransportProvider.access$000(TCPTransportProvider.java:47)
>       at 
> org.apache.qpid.amqp_1_0.client.TCPTransportProvider$1.run(TCPTransportProvider.java:185)
>       at java.lang.Thread.run(Thread.java:745)
> Unknown endpoint 
> Transfer{handle=0,deliveryId=0,deliveryTag=\x00\x00\x00\x00\x00\x00\x00\x00,messageFormat=0}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to