From user-return-8377-archive-asf-public=cust-asf.ponee.io@uima.apache.org Wed Oct 14 16:55:34 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mxout1-ec2-va.apache.org (mxout1-ec2-va.apache.org [3.227.148.255]) by mx-eu-01.ponee.io (Postfix) with ESMTPS id 2AD6618063F for ; Wed, 14 Oct 2020 18:55:34 +0200 (CEST) Received: from mail.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mxout1-ec2-va.apache.org (ASF Mail Server at mxout1-ec2-va.apache.org) with SMTP id 6977043A5A for ; Wed, 14 Oct 2020 16:55:33 +0000 (UTC) Received: (qmail 97388 invoked by uid 500); 14 Oct 2020 16:55:32 -0000 Mailing-List: contact user-help@uima.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@uima.apache.org Delivered-To: mailing list user@uima.apache.org Received: (qmail 97372 invoked by uid 99); 14 Oct 2020 16:55:32 -0000 Received: from spamproc1-he-de.apache.org (HELO spamproc1-he-de.apache.org) (116.203.196.100) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2020 16:55:32 +0000 Received: from localhost (localhost [127.0.0.1]) by spamproc1-he-de.apache.org (ASF Mail Server at spamproc1-he-de.apache.org) with ESMTP id A8FC21FF39D for ; Wed, 14 Oct 2020 16:55:31 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamproc1-he-de.apache.org X-Spam-Flag: NO X-Spam-Score: 2.853 X-Spam-Level: ** X-Spam-Status: No, score=2.853 tagged_above=-999 required=6.31 tests=[KAM_DMARC_STATUS=0.01, KAM_LAZY_DOMAIN_SECURITY=1, MISSING_MIMEOLE=1.843, RCVD_IN_MSPIKE_H2=-0.001, SPF_NONE=0.001] autolearn=disabled Received: from mx1-he-de.apache.org ([116.203.227.195]) by localhost (spamproc1-he-de.apache.org [116.203.196.100]) (amavisd-new, port 10024) with ESMTP id hMMBbp1X7C1y for ; Wed, 14 Oct 2020 16:55:31 +0000 (UTC) Received-SPF: None (mailfrom) identity=mailfrom; client-ip=194.25.134.21; helo=mailout10.t-online.de; envelope-from=kranok@t-online.de; receiver= Received: from mailout10.t-online.de (mailout10.t-online.de [194.25.134.21]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with ESMTPS id 486C77F9CB for ; Wed, 14 Oct 2020 16:55:31 +0000 (UTC) Received: from fwd26.aul.t-online.de (fwd26.aul.t-online.de [172.20.26.131]) by mailout10.t-online.de (Postfix) with SMTP id 4AE9C41A2695 for ; Wed, 14 Oct 2020 18:55:25 +0200 (CEST) Received: from spica23.aul.t-online.de (VrqQW8ZErhPnIbWyPpyuMh3sOYtaXSzXo-sBHhsgHaCboZjUCiBylRMQxnhA73DQUl@[172.20.102.130]) by fwd26.aul.t-online.de with esmtp id 1kSk3X-1cbhPk0; Wed, 14 Oct 2020 18:55:15 +0200 Received: from 195.13.41.220:60252 by cmpweb27.aul.t-online.de with HTTP/1.1 (Lisa V6-2-2-1.0 on API V5-30-0-1); Wed, 14 Oct 20 18:55:15 +0200 Received: from 172.20.102.138:23212 by spica23.aul.t-online.de:8080; Wed, 14 Oct 2020 18:55:15 +0200 (CEST) Date: Wed, 14 Oct 2020 18:55:15 +0200 (CEST) From: "kranok@t-online.de" Sender: "kranok@t-online.de" Reply-To: "kranok@t-online.de" To: "user@uima.apache.org" Message-ID: <1602694515354.1543728.443188ae560655be15d54fcffc47c0baa8d94f33@spica.telekom.de> Subject: UIMA-AS with ActiveMQ VM Transport MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Importance: normal X-MSMail-Priority: normal X-Priority: 3 X-UMS: email X-ID: VrqQW8ZErhPnIbWyPpyuMh3sOYtaXSzXo-sBHhsgHaCboZjUCiBylRMQxnhA73DQUl@t-dialin.net X-TOI-EXPURGATEID: 150726::1602694515-0000FB7B-763861BB/0/0 CLEAN NORMAL X-TOI-MSGID: 9ca6ffa4-3ef8-4705-8b01-e6f4b54af223 Hi, I'm using UIMA-AS in a single JVM process, with having the activemq broker,= the uima-as client and the as deployment in the same java process. UimaAsynchronousEngine.sendAndReceiveCAS() is used to send and wait for the= processed CAS. This setups works with fine with brokerURL "tcp://localhost:61616". If I change the brokerURL to "vm://localhost?broker.persistent=3Dfalse" I g= et this NullPointerException on reply and after successful processing of th= e CAS. java.lang.NullPointerException: null at org.apache.uima.aae.controller.AggregateAnalysisEngineController= _impl.sendVMMessage(AggregateAnalysisEngineController_impl.java:2351) ~[uim= aj-as-core-2.10.3.jar!/:2.10.3] at org.apache.uima.aae.controller.AggregateAnalysisEngineController= _impl.sendReplyToCollocatedClient(AggregateAnalysisEngineController_impl.ja= va:2242) ~[uimaj-as-core-2.10.3.jar!/:2.10.3] If I use "vm://localhost?marshal=3Dfalse&broker.persistent=3Dfalse" as brok= erURL, there is a similar NPE before processing at java.lang.NullPointerException: null at org.apache.uima.aae.controller.BaseAnalysisEngineController.send= Metadata(BaseAnalysisEngineController.java:2952) ~[uimaj-as-core-2.10.3.jar= !/:2.10.3] at org.apache.uima.aae.controller.PrimitiveAnalysisEngineController= _impl.sendMetadata(PrimitiveAnalysisEngineController_impl.java:1337) ~[uima= j-as-core-2.10.3.jar!/:2.10.3] at org.apache.uima.aae.handler.input.MetadataRequestHandler_impl.ha= ndle(MetadataRequestHandler_impl.java:69) ~[uimaj-as-core-2.10.3.jar!/:2.10= .3] at org.apache.uima.adapter.jms.activemq.JmsInputChannel.onMessage(J= msInputChannel.java:745) ~[uimaj-as-activemq-2.10.3.jar!/:2.10.3] at org.apache.uima.adapter.jms.activemq.UimaDefaultMessageListenerC= ontainer.doInvokeListener(UimaDefaultMessageListenerContainer.java:1180) ~[= uimaj-as-activemq-2.10.3.jar!/:2.10.3] =09=09 Both are due to empty dispatchers in org.apache.uima.aae.spi.transport.vm.V= mTransport for the temp reply queue. Are these bugs and/or is there any way to avoid tcp/http brokerURL? Thank you very much, John =EF=BB=BF