You are right, this was 0.24, with 0.26 the problem is solved. I am sorry for bothering you, Jan
> -----Original Message----- > From: Rob Godfrey [mailto:rob.j.godf...@gmail.com] > Sent: Monday, February 24, 2014 4:56 PM > To: users@qpid.apache.org > Subject: Re: NPE in Receiver$1.remoteDetached() with AMQP 1.0 and > Service Bus > > Hi Jan, > > are you sure you are using version 0.26 of the client? > > Looking at your stack trace I can see SessionEndpoint.detachLinks() calling > SessionEndpoint.detach() from line 192 of SessionEndpoint. > > This seems to be an instance of this defect: > https://issues.apache.org/jira/browse/QPID-5206 for which a fix was > released in 0.26 (looking at the line numbers in the files it's clear that > the exception you are seeing is from the codebase in trunk prior to 24th > October 2013 when this fix was applied)/ > > -- Rob > > > On 24 February 2014 16:41, Jan Bares <jan.ba...@wood.cz> wrote: > > > Hi, > > > > I am testing QPID Java JMS client 0.26 against Microsoft Service Bus. I > > run queue consumer in one process, consumes messages. In another > process I > > run publisher, publisher produces 10000 small messages. Approximately at > > the time producer finishes its work, I get NPE in consumer. The consumer > > later hangs in connection close method. The problem doesn't happen > when I > > first feed the messages to broker and then read them, both processes > must > > run concurrently. Also the problem doesn't happen for small number of > > messages like 1000 but 10000 seems to be enough. Same code tested with > AMQP > > 0-10 and MRG 2.3 without problem. > > > > Kind regards, Jan > > > > 00 53 17 c0 02 01 40 > > java.lang.NullPointerException > > at > > > org.apache.qpid.amqp_1_0.client.Receiver$1.remoteDetached(Receiver.jav > a:128) > > at > > > org.apache.qpid.amqp_1_0.transport.LinkEndpoint.remoteDetached(LinkEn > dpoint.java:171) > > at > > > org.apache.qpid.amqp_1_0.transport.SessionEndpoint.detach(SessionEndpo > int.java:290) > > at > > > org.apache.qpid.amqp_1_0.transport.SessionEndpoint.detachLinks(SessionE > ndpoint.java:192) > > at > > > org.apache.qpid.amqp_1_0.transport.SessionEndpoint.end(SessionEndpoint > .java:165) > > at > > > org.apache.qpid.amqp_1_0.transport.ConnectionEndpoint.receiveEnd(Conn > ectionEndpoint.java:511) > > at org.apache.qpid.amqp_1_0.type.transport.End.invoke(End.java:75) > > at > > > org.apache.qpid.amqp_1_0.transport.ConnectionEndpoint.receive(Connecti > onEndpoint.java:652) > > at > > > org.apache.qpid.amqp_1_0.framing.FrameHandler.parse(FrameHandler.java > :242) > > at > > > org.apache.qpid.amqp_1_0.framing.ConnectionHandler.parse(ConnectionHa > ndler.java:70) > > at > > > org.apache.qpid.amqp_1_0.client.Connection.doRead(Connection.java:381) > > at > > > org.apache.qpid.amqp_1_0.client.Connection.access$000(Connection.java:4 > 2) > > at > > org.apache.qpid.amqp_1_0.client.Connection$2.run(Connection.java:244) > > at java.lang.Thread.run(Thread.java:744) > > Exception in thread "Thread-2" java.lang.NullPointerException > > at > > > org.apache.qpid.amqp_1_0.client.Receiver$1.remoteDetached(Receiver.jav > a:128) > > at > > > org.apache.qpid.amqp_1_0.transport.LinkEndpoint.remoteDetached(LinkEn > dpoint.java:171) > > at > > > org.apache.qpid.amqp_1_0.transport.SessionEndpoint.detach(SessionEndpo > int.java:290) > > at > > > org.apache.qpid.amqp_1_0.transport.SessionEndpoint.detachLinks(SessionE > ndpoint.java:192) > > at > > > org.apache.qpid.amqp_1_0.transport.SessionEndpoint.end(SessionEndpoint > .java:165) > > at > > > org.apache.qpid.amqp_1_0.transport.ConnectionEndpoint.receiveEnd(Conn > ectionEndpoint.java:511) > > at org.apache.qpid.amqp_1_0.type.transport.End.invoke(End.java:75) > > at > > > org.apache.qpid.amqp_1_0.transport.ConnectionEndpoint.receive(Connecti > onEndpoint.java:652) > > at > > > org.apache.qpid.amqp_1_0.framing.FrameHandler.parse(FrameHandler.java > :242) > > at > > > org.apache.qpid.amqp_1_0.framing.ConnectionHandler.parse(ConnectionHa > ndler.java:70) > > at > > > org.apache.qpid.amqp_1_0.client.Connection.doRead(Connection.java:381) > > at > > > org.apache.qpid.amqp_1_0.client.Connection.access$000(Connection.java:4 > 2) > > at > > org.apache.qpid.amqp_1_0.client.Connection$2.run(Connection.java:244) > > at java.lang.Thread.run(Thread.java:744) > > > > > > Jan Bareš > > Calypso Lead Developer > > > > In association with > > WOOD & Company Financial Services, a.s. > > Palladium, Náměstí Republiky 1079/1a > > 110 00 Prague, Czech Republic > > Tel. +420 222 096 111 > > Direct +420 222 096 457 > > Fax. +420 222 096 222 > > > > > > > > > > > > DISCLAIMER > > ________________________________ > > WOOD & Company Financial Services, a.s. and its branches are > > authorized and regulated by the CNB as Home State regulator and in > Poland > > by the KNF, in Slovakia by the NBS and in the UK by the FCA as Host State > > regulators. For further information about WOOD & Co., its investment > > services, financial instruments and associated risks, safeguard client > > assets (incl. compensation schemes) and contractual relationship please > see > > our website at www.wood.com<http://www.wood.com/> under section > Corporate > > Governance. > > Unless otherwise stated, this transmission is neither an offer > > nor the solicitation of an offer to sell or purchase any investment. All > > estimates, opinions and other information contained herein are subject to > > change without notice and are provided in good faith but without legal > > responsibility or liability. Opinion may be personal to the author and may > > not reflect the opinions of WOOD & Co. Communications from sales > persons, > > sales traders or traders should not be regarded as investment research and > > may contain opinions or trading ideas which are different from WOOD & > Co. > > investment research opinions. > > This e-mail and any attachments are confidential and may be > > privileged or otherwise protected from disclosure. If you are not a named > > addressee you must not use, disclose, distribute, copy, print or rely on > > this e-mail and any of its attachments. Please notify the sender that you > > have received this email by mistake by replying to the email, and then > > delete the email and any copies of it. Although WOOD & Co. routinely > > screens e-mails for viruses, addressees should scan this e-mail and any > > attachments for viruses. WOOD & Co. makes no representation or > warranty as > > to the absence of viruses in this e-mail or any attachments. Please note > > that to ensure regulatory compliance and for the protection of our clients > > and business, we may monitor and read e-mails sent to and from our > > server(s). > > ________________________________ > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org > > For additional commands, e-mail: users-h...@qpid.apache.org > > > > DISCLAIMER ________________________________ WOOD & Company Financial Services, a.s. and its branches are authorized and regulated by the CNB as Home State regulator and in Poland by the KNF, in Slovakia by the NBS and in the UK by the FCA as Host State regulators. For further information about WOOD & Co., its investment services, financial instruments and associated risks, safeguard client assets (incl. compensation schemes) and contractual relationship please see our website at www.wood.com<http://www.wood.com/> under section Corporate Governance. Unless otherwise stated, this transmission is neither an offer nor the solicitation of an offer to sell or purchase any investment. All estimates, opinions and other information contained herein are subject to change without notice and are provided in good faith but without legal responsibility or liability. Opinion may be personal to the author and may not reflect the opinions of WOOD & Co. Communications from sales persons, sales traders or traders should not be regarded as investment research and may contain opinions or trading ideas which are different from WOOD & Co. investment research opinions. This e-mail and any attachments are confidential and may be privileged or otherwise protected from disclosure. If you are not a named addressee you must not use, disclose, distribute, copy, print or rely on this e-mail and any of its attachments. Please notify the sender that you have received this email by mistake by replying to the email, and then delete the email and any copies of it. Although WOOD & Co. routinely screens e-mails for viruses, addressees should scan this e-mail and any attachments for viruses. WOOD & Co. makes no representation or warranty as to the absence of viruses in this e-mail or any attachments. Please note that to ensure regulatory compliance and for the protection of our clients and business, we may monitor and read e-mails sent to and from our server(s). ________________________________ --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org