From user-return-8076-archive-asf-public=cust-asf.ponee.io@uima.apache.org Sat Apr 13 08:58:45 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 1849F180668 for ; Sat, 13 Apr 2019 10:58:44 +0200 (CEST) Received: (qmail 49674 invoked by uid 500); 13 Apr 2019 08:58:44 -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 49660 invoked by uid 99); 13 Apr 2019 08:58:43 -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; Sat, 13 Apr 2019 08:58:43 +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 57460C6342 for ; Sat, 13 Apr 2019 08:58:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.543 X-Spam-Level: * X-Spam-Status: No, score=1.543 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.257, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id UYx3dhIagZn8 for ; Sat, 13 Apr 2019 08:58:41 +0000 (UTC) Received: from mail-oi1-f193.google.com (mail-oi1-f193.google.com [209.85.167.193]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 226685FDAE for ; Sat, 13 Apr 2019 08:58:41 +0000 (UTC) Received: by mail-oi1-f193.google.com with SMTP id w139so9938285oie.9 for ; Sat, 13 Apr 2019 01:58:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=LzWHaKjIwL20eqhPYWvrfx+hC4rwpmuEnNS4HtnRGgY=; b=GC5rDzD7I7tx+eFgewf9t9VHcTrU9c581ydiQmeKkZSbURq/3Sh283UVckxifoUg6U yJuRI9PHsGjwcLoIFhi95ZEAZFWE3CjDwjVC8cZo+1FJ5GOi7sibi3PPasCmZvIGj7m3 SAUMfKT8X9c/qpaOY4n1/7vTeFaa3nza+m8wD3bGmnKJ0tWF7RzLQ6eCVx/FHNjF5alK uwa0XQX0vV/dbvVEOp/6wE/jCJCHGD7IQtao3RVjXlCjUqgd5okPuVBPHFg9AkpT9CCG q0EQJkw3A7kgkoPN/YqW7oTIfJNk9fhFg4ENGvtwXYfQKQkx1IHq7o745nWOWRmuA20I WYHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=LzWHaKjIwL20eqhPYWvrfx+hC4rwpmuEnNS4HtnRGgY=; b=dSo+RHMDDayHXNUXua3FJ5xJWlgxuopiMSV4Z7ZCm9yf+aS7x/yCrjvw1GraTj1y4q ulSM8eAp6TLsAZ1BP+iaHX3LsujnDAmTvcfPUs59r+VDjRZlpmc5On0dXZnZzhIkZGCw w+gGjQVUJpEidUuQ3ThWvFGlQvTuR0OYpyTWm6a0UlxHVUna+jDbYueoBGpJ2xDhti+T 1/3pceO5c82kSSe5hs3NFrgyeOB9lKrDpqXmkHqLgt8oMdk3yoYLOIdBeWcGqugAW3zJ Lh9EDtsUpoYDRuj+WmewIEpTkLctLPe8rD+hUFXSOn+4c+fSHbNIrypGiunRJbpWTc99 UuHA== X-Gm-Message-State: APjAAAUT2morHq+4pnPWr49nEJrtw4Fo83Y5hW7M4sowS4PcXSA1Mmhs vT7uyTSVd+9uJ/FSRXjJ8lQXJnMvX7dD62T/B+4xe2jw X-Google-Smtp-Source: APXvYqxVkmxry4KcGciWwA/caPEUB8nAN3XOerTuQSACB2IyT0glpLzoWjszX5HtcrpdUqoTilDYurNPBNabnEAyaCc= X-Received: by 2002:aca:4a0a:: with SMTP id x10mr12352360oia.82.1555145920349; Sat, 13 Apr 2019 01:58:40 -0700 (PDT) MIME-Version: 1.0 References: <141914b7-6d86-e376-ca51-2d2acd7c2536@gmail.com> In-Reply-To: <141914b7-6d86-e376-ca51-2d2acd7c2536@gmail.com> From: Nikolai Krot Date: Sat, 13 Apr 2019 10:58:13 +0200 Message-ID: Subject: Re: Problem running UIMA Ruta ExampleProject To: user@uima.apache.org Content-Type: multipart/alternative; boundary="0000000000002809b3058665a091" --0000000000002809b3058665a091 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.ba= se > 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%2FExampleP= roject%2Finput, > outputFolder, > %2Fhome%2Fkrot%2Feclipse-other%2Fruta-2.7.0%2Fexample-projects%2FExampleP= roject%2Foutput, > mode, run, encoding, UTF-8, view, _InitialView, inputRecursive, false, > addsdi, false, serialFormat, XMI] > at > org.apache.uima.ruta.ide.launching.RutaLauncher.throwException(RutaLaunch= er.java:172) > at > org.apache.uima.ruta.ide.launching.RutaLauncher.parseCmdLineArgs(RutaLaun= cher.java:111) > at > org.apache.uima.ruta.ide.launching.RutaLauncher.main(RutaLauncher.java:17= 6) > 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=C3=BCgl 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 sa= me > > 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, th= e > > 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=C3=BCgl > > wrote: > > > >> Hi, > >> > >> > >> there are some known issue with the latest Eclipse version. Can you tr= y > >> 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 r= un > >>> 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: 24= 2 > >>>> 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=C3=BCgl > >> 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=C3=A9l Mark=C3= =B3 > >> > >> > --0000000000002809b3058665a091--