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 31A38101D9 for ; Wed, 10 Jul 2013 14:23:49 +0000 (UTC) Received: (qmail 46362 invoked by uid 500); 10 Jul 2013 14:23:49 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 46279 invoked by uid 500); 10 Jul 2013 14:23:48 -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 46269 invoked by uid 99); 10 Jul 2013 14:23:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jul 2013 14:23:48 +0000 Date: Wed, 10 Jul 2013 14:23:48 +0000 (UTC) From: "Axel Podehl (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AMQ-4627) publishing AMQP1.0 message: java.lang.NumberFormatException: Value "2391065073150853120" lies outside the range [0-4294967296). MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Axel Podehl created AMQ-4627: -------------------------------- Summary: publishing AMQP1.0 message: java.lang.NumberFormatException: Value "2391065073150853120" lies outside the range [0-4294967296). Key: AMQ-4627 URL: https://issues.apache.org/jira/browse/AMQ-4627 Project: ActiveMQ Issue Type: Bug Components: JMS client Affects Versions: 5.8.0 Environment: all Reporter: Axel Podehl Hi, I'm using the amqp_1_0 JMS API to publish a message to an embedded AMQP broker. But even though I think there's nothing wrong with this message, I get the following exception on producer.send(): java.lang.NumberFormatException: Value "2391065073150853120" lies outside the range [0-4294967296). Is that a bug or am I doing something wrong ? I'll write a JUnit Test case once I get some more time... Axel DEBUG: 2013-07-10 10:16:45,605 [Thread-11] [ChannelJNI]- creating Topic on org.apache.qpid.amqp_1_0.jms.impl.SessionImpl@a0e990 with destName=RE.TEST DEBUG: 2013-07-10 10:16:45,605 [Thread-11] [ChannelJNI]- created JMS Topic: org.apache.qpid.amqp_1_0.jms.impl.TopicImpl@6a2cd36d TRACE: 2013-07-10 10:16:45,605 [Thread-11] [ChannelJNI]- sending message to destination org.apache.qpid.amqp_1_0.jms.impl.TopicImpl@6a2cd36d with deliveryMode=2, priority=4, timeToLive=2391065073150853120 TRACE: 2013-07-10 10:16:45,606 [Thread-11] [ChannelJNI]- JMSDestination=org.apache.qpid.amqp_1_0.jms.impl.TopicImpl@273c92 JMSReplyTo=null JMSCorrelationID=null JMSDeliveryMode=2 JMSExpiration=0 JMSMessageID=null JMSPriority=4 JMSRedelivered=false JMSTimestamp=1373027655736 JMSType=null --- header --- (empty) msg.toString(): org.apache.qpid.amqp_1_0.jms.impl.TextMessageImpl@d510e8 ((TextMessage)msg).getText(): ERROR: 2013-07-10 10:16:45,638 [Thread-11] [ChannelJNI]- Could not send JMS Message: Value "2391065073150853120" lies outside the range [0-4294967296). java.lang.NumberFormatException: Value "2391065073150853120" lies outside the range [0-4294967296). at org.apache.qpid.amqp_1_0.type.UnsignedInteger.valueOf(UnsignedInteger.java:144) at org.apache.qpid.amqp_1_0.jms.impl.MessageProducerImpl.send(MessageProducerImpl.java:258) at org.apache.qpid.amqp_1_0.jms.impl.MessageProducerImpl.send(MessageProducerImpl.java:364) at ChannelJNI.producerSendDestination(ChannelJNI.java:702) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira