From user-return-8084-archive-asf-public=cust-asf.ponee.io@uima.apache.org Tue Apr 16 12:30:26 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id E538F180630 for ; Tue, 16 Apr 2019 14:30:25 +0200 (CEST) Received: (qmail 26711 invoked by uid 500); 16 Apr 2019 12:30:25 -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 26699 invoked by uid 99); 16 Apr 2019 12:30:24 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Apr 2019 12:30:24 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 28ED6C6D23 for ; Tue, 16 Apr 2019 12:30:24 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.001 X-Spam-Level: * X-Spam-Status: No, score=1.001 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_NONE=-0.0001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id Mi6pdb-TkH_a for ; Tue, 16 Apr 2019 12:30:20 +0000 (UTC) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.134]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 7AB725F4EB for ; Tue, 16 Apr 2019 12:30:20 +0000 (UTC) Received: from [192.168.11.106] ([212.60.243.34]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1Mw9Dg-1gxTKT4Bue-00s7ik for ; Tue, 16 Apr 2019 14:30:14 +0200 Subject: Re: Problem running UIMA Ruta ExampleProject To: user@uima.apache.org References: <141914b7-6d86-e376-ca51-2d2acd7c2536@gmail.com> <5c336701-42bb-bc55-f851-b2b0ff0fc3cc@averbis.com> <1d33ea2d-a6bd-f035-7bd3-c61306fdac93@averbis.com> From: =?UTF-8?Q?Peter_Kl=c3=bcgl?= Openpgp: preference=signencrypt Message-ID: <4ddf67f1-0c7b-4bc7-fb0b-60ff1b43f4bd@averbis.com> Date: Tue, 16 Apr 2019 14:30:13 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:RXtRG42qliXSsWMyDl++HCGNWwbIVcWzaQhyIaEv0Rkqci/Ht7o BOb1fKiHvtFbk5PkSBPzsNuwZFYPYxf9t1CK84vdmSWRiOdpehCh3IqnvHYc0vzY3tMRIxq eby5E1xIjVf7VKZcldpctCG4q1J+iaA0e+lfpppo5kh192jwqZ/7asXqX5cA6zdwwC1VKWN u8FFkanWg+ws+xiUAXU+g== X-UI-Out-Filterresults: notjunk:1;V03:K0:U9K+VYXjhdI=:w9nzu1Cevokfoj4xnnrsS2 ibf75OSGNDiTBWZESrnx+DjuBkMIc5OVrEG4YaPY6yLVRvPxOYxtW/5xBnsf/7mSVLf5ESuWg 1Qx32V6KR00uy3BCmoFvH1EP65wuq8QP5/2OWu1REjwtfjKwHCkAOA+2gfgaGf+vilkFaEOye SWGDOPWz6slZtnbTYrxSjX2f2dABcSbpnP2IjQqmM+ilNGqwvE4JhTWVLSqEyqaOmdw5bKpIZ +cTGDja/J3ZH0/+xtu0YJ/PgC503SQFlH/cQtxjN1r+FknAURghb3DUbANjNCXKD6TiXVm/XH 5Oky32XjAHVrAzySneZW74fF9GPUj+cZq6LcPpaJi7ypsKDxDScB7Ubk0zlIoKfcF4kK24Iwj bjyed7YwR/GPnznW0qQBpBjvZD5gJ0GUms1b7xUmcg2b7jKVFrF+YM1ZZ2Xn14zdmNXi9Yygk +HITrjdKzkkyOBv5Kn8hvhCTgbG/FnJiFiAozklv48XwbZgEk69m9HkPzpz9fXbkibWSf6IJI eXUr3LltyA79PZZmo/E2Z7ZihARDFudJSSa8n/jVLB2t/qsRwvm6XOyJx7GkYRAfAhgBNvXsN 7ftpfGJzH1GUaJq2nF65EKE9CXmDucWTH80bBigw7LoRTrN4Nb/VtTfMJZEvqdUvFseAQX4wD A1ruFjFHIGg/TgAzdWbNrjqZ9S5esdgxieWDcbcbmvcDG+W5ruoFIvtpStgy1JWWLngCwNwE3 +H6eSmM3WTYprXtml2NgEAox8E5Sb+X674urjH+Wel52Tv9ToRlB8nHCrOqmUH7nPfc4mDMSy LtN5z/R Oh no. I actually have thought of this, but I would expected a completely different error as other users reported already. Sorry for the inconveniences. There is already a ticket for solving this problem for good. Best, Peter Am 16.04.2019 um 13:55 schrieb Nikolai Krot: > Hi Peter, > > An update: I have experimented with Eclipse and now I tend to believe that > what made the ExampleProject work is > * not compiling ruta-2.7.0 and setting UIMA_HOME variable to point to it; > * but rather running [UIMA Ruta/Update project] on the project. > > Please consider this issue solved. > > Best regards, > Nikolai > > On Tue, Apr 16, 2019 at 9:11 AM Peter Klügl > wrote: > >> Hi, >> >> >> hmm strange, that should not be necessary and I do not know why it has >> any influence at all. >> >> I'll try to reproduce your problem anyway. Maybe I find the source of >> the problem in Ruta. >> >> >> Best, >> >> >> Peter >> >> >> Am 15.04.2019 um 22:29 schrieb Nikolai Krot: >>> Hi Peter, >>> >>> Finally, things started to work. Though I can not tell why exactly. >>> Retrospectively, i would guess it happened once I compiled the stuff in >>> ruta-2.7.0 directory and set UIMA_HOME variable. Not sure nor willing to >>> investigate it. >>> >>> I think this page >>> >> https://uima.apache.org/d/ruta-current/tools.ruta.book.html#section.ugr.tools.ruta.workbench.install >>> does not mention it but I remember reading something somewhere else... >>> >>> Best regards, >>> Nikolai >>> >>> >>> >>> On Mon, Apr 15, 2019 at 1:54 PM Peter Klügl >>> wrote: >>> >>>> Hi, >>>> >>>> >>>> I tested it with Windows 10, Eclipse 4.8, Java 8. >>>> >>>> >>>> I'll take a closer look at it the next days. >>>> >>>> >>>> Best, >>>> >>>> >>>> Peter >>>> >>>> >>>> Am 13.04.2019 um 10:58 schrieb Nikolai Krot: >>>>> Hi Peter, >>>>> >>>>> Thanks for supporting me :) This is what I tried on Ubuntu 18.04, >>>>> unfortunately to no avail: >>>>> >>>>> 1) i have deleted the configuration and launched the Main.ruta script >>>>> directly. I have the following >>>>> >>>>> Error occurred during initialization of boot layer >>>>>> java.lang.LayerInstantiationException: Package >>>>>> jdk.internal.jimage.decompressor in both module jrt.fs and module >>>> java.base >>>>> 2) then i have edited the configuration that was created by running >> step >>>> 1, >>>>> changing the following >>>>> Tab JRE -> set Alternate JRE to point to java-8-openjdk-amd64 >>>>> >>>>> Exception in thread "main" java.lang.IllegalArgumentException: Value >> for >>>>>> descriptor is missing - Arguments: [descriptor, null, inputFolder, >>>>>> >> %2Fhome%2Fkrot%2Feclipse-other%2Fruta-2.7.0%2Fexample-projects%2FExampleProject%2Finput, >>>>>> outputFolder, >>>>>> >> %2Fhome%2Fkrot%2Feclipse-other%2Fruta-2.7.0%2Fexample-projects%2FExampleProject%2Foutput, >>>>>> mode, run, encoding, UTF-8, view, _InitialView, inputRecursive, false, >>>>>> addsdi, false, serialFormat, XMI] >>>>>> at >>>>>> >> org.apache.uima.ruta.ide.launching.RutaLauncher.throwException(RutaLauncher.java:172) >>>>>> at >>>>>> >> org.apache.uima.ruta.ide.launching.RutaLauncher.parseCmdLineArgs(RutaLauncher.java:111) >>>>>> at >>>>>> >> org.apache.uima.ruta.ide.launching.RutaLauncher.main(RutaLauncher.java:176) >>>>> this looks like something very basic related to environment >>>> configuration, >>>>> but as being non-java guy, i can not solve it. >>>>> >>>>> If ExampleProject works for you, could you share your setup: OS, >> eclipse >>>>> version, JDK, etc whatever is relevant? >>>>> >>>>> Best regards, >>>>> Nikolai >>>>> >>>>> On Tue, Apr 9, 2019 at 3:27 PM Peter Klügl wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> >>>>>> hmm, I think I have to try to reproduce it... >>>>>> >>>>>> >>>>>> Can you try it with Java 8? There is an option in the launch config. >>>>>> >>>>>> Can you delete the old launch config and try to launch the script >>>>>> directly: Open the script in the Editor and simply press the Run >> button >>>>>> without selecting anything? >>>>>> >>>>>> >>>>>> Best, >>>>>> >>>>>> >>>>>> Peter >>>>>> >>>>>> >>>>>> Am 09.04.2019 um 14:46 schrieb Nikolai Krot: >>>>>>> Hallo Peter, >>>>>>> >>>>>>> Thank you for your prompt reply. >>>>>>> >>>>>>> As recommended, I tried Photon (4.8.0), this time on Ubuntu 18.04 >>>>>>> (openjdk-11), everything from the official repository. I applied the >>>> same >>>>>>> steps as before, except >>>>>>> >>>>>>> 5) in Eclipse, go to ExampleProject/input/Example1.txt, right click, >>>>>> select >>>>>>> [Debug As]. There is no ready configuration, so i created one. Well, >>>> the >>>>>>> only thing I did was pointing Launch script to Main.ruta. >>>>>>> >>>>>>> The error now is different, "Cannot connect to VM, socket closed". >>>> When I >>>>>>> just [Run as], the error pops up >>>>>>> >>>>>>> Error occurred during initialization of boot layer >>>>>>>> java.lang.LayerInstantiationException: Package >>>>>>>> jdk.internal.jimage.decompressor in both module jrt.fs and module >>>>>> java.base >>>>>>> looks like something really wrong.. I know this is not related to >> UIMA >>>>>>> Ruta, but perhaps you could provide me with further advice on that? >>>>>>> >>>>>>> Best regards, >>>>>>> Nikolai >>>>>>> >>>>>>> On Mon, Apr 8, 2019 at 10:15 AM Peter Klügl < >> peter.kluegl@averbis.com> >>>>>>> wrote: >>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> >>>>>>>> there are some known issue with the latest Eclipse version. Can you >>>> try >>>>>>>> it with Eclipse Photon (4.8.0)? >>>>>>>> >>>>>>>> Is there more Stacktrace output? If yes, can you add it too? >>>>>>>> >>>>>>>> >>>>>>>> BEst, >>>>>>>> >>>>>>>> >>>>>>>> Peter >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Am 07.04.2019 um 15:36 schrieb Nikolai Krot: >>>>>>>>> Hi all, >>>>>>>>> >>>>>>>>> I am trying out UIMA Ruta and having hard times figuring out how to >>>> run >>>>>>>>> ExampleProject. I am not a Java guy and at this point feel already >>>>>>>>> frustrated with abundant documentation. >>>>>>>>> >>>>>>>>> My steps so far have been to: >>>>>>>>> >>>>>>>>> 1) install Eclipse Version: 2019-03 (4.11.0) on Debian Linux >>>>>>>>> 2) install UIMA Ruta plugin from >>>>>>>>> http://www.apache.org/dist/uima/eclipse-update-site (via elipse >> menu >>>>>>>>> [Install New Software]) >>>>>>>>> 3) download und unpack source distribution of UIMA Ruta 2.7.0 >> (found >>>> at >>>>>>>>> http://uima.apache.org/downloads.cgi#Latest%20Official%20Releases) >>>>>>>>> 4) start eclipse and import ExampleProject from the distribution >>>>>>>> downloaded >>>>>>>>> in step 3) >>>>>>>>> 5) in Eclipse, go to ExampleProject/input/Example1.txt, right >> click, >>>>>>>> select >>>>>>>>> [Debug As], then in Debug Configurations there is already >> Main.ruta, >>>> i >>>>>>>>> simply choose it and click Debug button. >>>>>>>>> >>>>>>>>> As a result, I get an error Source not found. This is the stack: >>>>>>>>> >>>>>>>>> org.apache.uima.ruta.ide.launching.RutaLauncher at localhost:43931 >>>>>>>>>> Thread [main] (Suspended (exception >>>>>>>>>> AnalysisEngineProcessException)) >>>>>>>>>> PrimitiveAnalysisEngine_impl.innerCall(CAS) line: 336 >>>>>>>>>> PrimitiveAnalysisEngine_impl.processAndOutputNewCASes(CAS) >>>>>> line: >>>>>>>>>> 321 >>>>>>>>>> >>>>>>>> PrimitiveAnalysisEngine_impl(AnalysisEngineImplBase).process(CAS) >>>>>>>>>> line: 269 >>>>>>>>>> RutaLauncher.processFile(File, AnalysisEngine, CAS) line: >>>> 242 >>>>>>>>>> RutaLauncher.main(String[]) line: 191 >>>>>>>>>> >>>>>>>>> Could you please help me understand what is wrong? What am I >> missing? >>>>>>>>> Please bare with a non-Java guy if I am asking a really >>>>>> basic/stupid/etc >>>>>>>>> question. >>>>>>>>> >>>>>>>>> Thank you in advance >>>>>>>>> Nikolai >>>>>>>>> >>>>>>>> -- >>>>>>>> Dr. Peter Klügl >>>>>>>> R&D Text Mining/Machine Learning >>>>>>>> >>>>>>>> Averbis GmbH >>>>>>>> Salzstr. 15 >>>>>>>> 79098 Freiburg >>>>>>>> Germany >>>>>>>> >>>>>>>> Fon: +49 761 708 394 0 >>>>>>>> Fax: +49 761 708 394 10 >>>>>>>> Email: peter.kluegl@averbis.com >>>>>>>> Web: https://averbis.com >>>>>>>> >>>>>>>> Headquarters: Freiburg im Breisgau >>>>>>>> Register Court: Amtsgericht Freiburg im Breisgau, HRB 701080 >>>>>>>> Managing Directors: Dr. med. Philipp Daumke, Dr. Kornél Markó >>>>>>>> >>>>>>>> >>>> -- >>>> Dr. Peter Klügl >>>> R&D Text Mining/Machine Learning >>>> >>>> Averbis GmbH >>>> Salzstr. 15 >>>> 79098 Freiburg >>>> Germany >>>> >>>> Fon: +49 761 708 394 0 >>>> Fax: +49 761 708 394 10 >>>> Email: peter.kluegl@averbis.com >>>> Web: https://averbis.com >>>> >>>> Headquarters: Freiburg im Breisgau >>>> Register Court: Amtsgericht Freiburg im Breisgau, HRB 701080 >>>> Managing Directors: Dr. med. Philipp Daumke, Dr. Kornél Markó >>>> >>>> >> -- >> Dr. Peter Klügl >> R&D Text Mining/Machine Learning >> >> Averbis GmbH >> Salzstr. 15 >> 79098 Freiburg >> Germany >> >> Fon: +49 761 708 394 0 >> Fax: +49 761 708 394 10 >> Email: peter.kluegl@averbis.com >> Web: https://averbis.com >> >> Headquarters: Freiburg im Breisgau >> Register Court: Amtsgericht Freiburg im Breisgau, HRB 701080 >> Managing Directors: Dr. med. Philipp Daumke, Dr. Kornél Markó >> >> -- Dr. Peter Klügl R&D Text Mining/Machine Learning Averbis GmbH Salzstr. 15 79098 Freiburg Germany Fon: +49 761 708 394 0 Fax: +49 761 708 394 10 Email: peter.kluegl@averbis.com Web: https://averbis.com Headquarters: Freiburg im Breisgau Register Court: Amtsgericht Freiburg im Breisgau, HRB 701080 Managing Directors: Dr. med. Philipp Daumke, Dr. Kornél Markó