Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D9A4A2BDB for ; Thu, 5 May 2011 02:22:42 +0000 (UTC) Received: (qmail 76567 invoked by uid 500); 5 May 2011 02:22:42 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 76538 invoked by uid 500); 5 May 2011 02:22:42 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 76529 invoked by uid 99); 5 May 2011 02:22:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 May 2011 02:22:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 May 2011 02:22:41 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2C70FC1689 for ; Thu, 5 May 2011 02:22:03 +0000 (UTC) Date: Thu, 5 May 2011 02:22:03 +0000 (UTC) From: "Arthur Naseef (JIRA)" To: dev@activemq.apache.org Message-ID: <1293545851.23518.1304562123178.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <17487204.40221291169770685.JavaMail.jira@thor> Subject: [jira] [Commented] (AMQ-3062) "Deflater has been closed" exception when jms.useCompression=true and using ActiveMQBytesMessage MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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