activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arthur Naseef (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-3062) "Deflater has been closed" exception when jms.useCompression=true and using ActiveMQBytesMessage
Date Thu, 05 May 2011 02:22:03 GMT

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

Arthur Naseef commented on AMQ-3062:
------------------------------------

Rev 1042388 doesn't have the changes.

Is 1042394 the correct rev?

> "Deflater has been closed" exception when jms.useCompression=true and using ActiveMQBytesMessage
> ------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-3062
>                 URL: https://issues.apache.org/jira/browse/AMQ-3062
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Connector
>    Affects Versions: 5.4.1
>            Reporter: John Gassner
>            Assignee: Timothy Bish
>             Fix For: 5.5.0
>
>         Attachments: patch.txt
>
>
> When compression is turned on and the ActiveMQBytesMessage is used, the following exception
will be encountered:
> java.lang.NullPointerException: Deflater has been closed
> 	at java.util.zip.Deflater.ensureOpen(Deflater.java:427)
> 	at java.util.zip.Deflater.deflate(Deflater.java:305)
> 	at java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:159)
> 	at java.util.zip.DeflaterOutputStream.finish(DeflaterOutputStream.java:134)
> 	at java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:146)
> 	at java.io.FilterOutputStream.close(FilterOutputStream.java:143)
> 	at org.apache.activemq.command.ActiveMQBytesMessage$1.close(ActiveMQBytesMessage.java:808)
> 	at java.io.FilterOutputStream.close(FilterOutputStream.java:143)
> 	at org.apache.activemq.command.ActiveMQBytesMessage.storeContent(ActiveMQBytesMessage.java:124)
> 	at org.apache.activemq.command.ActiveMQBytesMessage.copy(ActiveMQBytesMessage.java:109)
> 	at org.apache.activemq.command.ActiveMQBytesMessage.copy(ActiveMQBytesMessage.java:104)
> 	at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1735)
> 	at org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:231)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message