You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Martyn Taylor (JIRA)" <ji...@apache.org> on 2016/06/20 12:55:05 UTC

[jira] [Assigned] (ARTEMIS-570) IllegalArguementException when using AMQP protocol

     [ https://issues.apache.org/jira/browse/ARTEMIS-570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martyn Taylor reassigned ARTEMIS-570:
-------------------------------------

    Assignee: Martyn Taylor

> IllegalArguementException when using AMQP protocol
> --------------------------------------------------
>
>                 Key: ARTEMIS-570
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-570
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Martyn Taylor
>            Assignee: Martyn Taylor
>             Fix For: 1.4.0
>
>
> When using AMQP protocol the follow exception is sometimes thrown:
> java.lang.IllegalStateException: You called outputDone for more bytes than you actually received. numberOfBytes=665, outcome result=-320
>         at org.proton.plug.handler.impl.ProtonHandlerImpl.outputDone(ProtonHandlerImpl.java:229)
>         at org.proton.plug.context.AbstractConnectionContext.outputDone(AbstractConnectionContext.java:121)
>         at org.apache.activemq.artemis.core.protocol.proton.plug.ActiveMQProtonConnectionCallback.onTransport(ActiveMQProtonConnectionCallback.java:133)
>         at org.proton.plug.context.AbstractConnectionContext.flushBytes(AbstractConnectionContext.java:163)
>         at org.proton.plug.context.AbstractConnectionContext$LocalListener.onTransport(AbstractConnectionContext.java:185)
>         at org.proton.plug.handler.Events.dispatch(Events.java:97)
>         at org.proton.plug.handler.impl.ProtonHandlerImpl.dispatch(ProtonHandlerImpl.java:362)
>         at org.proton.plug.handler.impl.ProtonHandlerImpl.access$000(ProtonHandlerImpl.java:49)
>         at org.proton.plug.handler.impl.ProtonHandlerImpl$1.run(ProtonHandlerImpl.java:63)
>         at org.apache.activemq.artemis.utils.OrderedExecutorFactory$OrderedExecutor$ExecutorTask.run(OrderedExecutorFactory.java:103)
>         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)
> java.lang.IllegalArgumentException
>         at java.nio.Buffer.position(Buffer.java:244)
>         at org.proton.plug.handler.impl.ProtonHandlerImpl.outputBuffer(ProtonHandlerImpl.java:260)
>         at org.proton.plug.context.AbstractConnectionContext.flushBytes(AbstractConnectionContext.java:162)
>         at org.proton.plug.context.AbstractConnectionContext$LocalListener.onTransport(AbstractConnectionContext.java:185)
>         at org.proton.plug.handler.Events.dispatch(Events.java:97)
>         at org.proton.plug.handler.impl.ProtonHandlerImpl.dispatch(ProtonHandlerImpl.java:362)
>         at org.proton.plug.handler.impl.ProtonHandlerImpl.access$000(ProtonHandlerImpl.java:49)
>         at org.proton.plug.handler.impl.ProtonHandlerImpl$1.run(ProtonHandlerImpl.java:63)
>         at org.apache.activemq.artemis.utils.OrderedExecutorFactory$OrderedExecutor$ExecutorTask.run(OrderedExecutorFactory.java:103)
>         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.3.4#6332)