You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rob Godfrey (JIRA)" <ji...@apache.org> on 2014/05/21 10:24:38 UTC

[jira] [Commented] (QPID-5776) Unhandled Exception java.lang.IllegalArgumentException causes broker to exit

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

Rob Godfrey commented on QPID-5776:
-----------------------------------

Hi Mark - can you give a little more information on what you were doing when this error occurred.  The issue isn't so much that the Broker exited, but that the IllegalArgumentException was thrown at all (the broker is configured by default to exit if unexpected runtime exceptions or error occur). 

>From the stack trace above it's clear that it happened when the Broker attempted to send a message from a queue to an AMQP 1.0 client.  Can you provide any more information on the nature of the message on the queue (how it was created, the size / type of message, etc).

> Unhandled Exception java.lang.IllegalArgumentException causes broker to exit
> ----------------------------------------------------------------------------
>
>                 Key: QPID-5776
>                 URL: https://issues.apache.org/jira/browse/QPID-5776
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.28
>            Reporter: Mark Soderquist
>
> An unhandled exception causes broker to exit. 
> Qpid Broker Version: 0.28 Build: 1594179
> JVM : Oracle Corporation version: 1.8.0_05-b13 
> OS : Linux version: 2.6.32-431.17.1.el6.x86_64 arch: amd64
> java.lang.IllegalArgumentException
>         at java.nio.Buffer.position(Buffer.java:244)
>         at org.apache.qpid.amqp_1_0.transport.SessionEndpoint.sendTransfer(SessionEndpoint.java:611)
>         at org.apache.qpid.amqp_1_0.transport.SendingLinkEndpoint.transfer(SendingLinkEndpoint.java:104)
>         at org.apache.qpid.server.protocol.v1_0.ConsumerTarget_1_0.send(ConsumerTarget_1_0.java:270)
>         at org.apache.qpid.server.protocol.v1_0.ConsumerTarget_1_0.send(ConsumerTarget_1_0.java:118)
>         at org.apache.qpid.server.queue.QueueConsumerImpl.send(QueueConsumerImpl.java:471)
>         at org.apache.qpid.server.queue.AbstractQueue.deliverMessage(AbstractQueue.java:1183)
>         at org.apache.qpid.server.queue.AbstractQueue.attemptDelivery(AbstractQueue.java:1908)
>         at org.apache.qpid.server.queue.AbstractQueue.processQueue(AbstractQueue.java:2073)
>         at org.apache.qpid.server.queue.QueueRunner$1.run(QueueRunner.java:80)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.Subject.doAs(Subject.java:360)
>         at org.apache.qpid.server.queue.QueueRunner.run(QueueRunner.java:71)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>         at java.lang.Thread.run(Thread.java:745)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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