[
https://issues.apache.org/jira/browse/QPID-5776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Soderquist updated QPID-5776:
----------------------------------
Attachment: QpidBrokerCrashTest.java
Run the attached program twice to see the error occur. I have sorted out that
the problem is due to not properly closing the session, producer and consumer
(note the commented lines) like I thought I was.
> 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
> Attachments: QpidBrokerCrashTest.java
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]