Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A9035200CF7 for ; Tue, 19 Sep 2017 18:07:33 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A777A1609DD; Tue, 19 Sep 2017 16:07:33 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id EDFC91609DB for ; Tue, 19 Sep 2017 18:07:32 +0200 (CEST) Received: (qmail 37087 invoked by uid 500); 19 Sep 2017 16:07: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 37070 invoked by uid 99); 19 Sep 2017 16:07:31 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Sep 2017 16:07:31 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 1CE59183DF8 for ; Tue, 19 Sep 2017 16:07:31 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.801 X-Spam-Level: X-Spam-Status: No, score=-0.801 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=abv.bg Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id HubUkHxrrhJ5 for ; Tue, 19 Sep 2017 16:07:29 +0000 (UTC) Received: from smtp-out.abv.bg (smtp-out.abv.bg [194.153.145.70]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id AAE015FBE5 for ; Tue, 19 Sep 2017 16:07:28 +0000 (UTC) Received: from nm72.abv.bg (nm72.ni.bg [192.168.151.29]) by smtp-out.abv.bg (Postfix) with ESMTP id 8FBE31833ED8 for ; Tue, 19 Sep 2017 19:07:27 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=abv.bg; s=smtp-out; t=1505837247; bh=d2gpPc/rwoO/vMHAgy9sohLRoVVJv+7v/r5NSbJyvoE=; h=Date:From:To:In-Reply-To:References:Subject:From; b=VzS4Kp0lwZcuUsSPdzpGv6YZS/uTpAX0ohz52GuqP1gxryUfI/XV6tyIM7EQlYLWH d1hB15XjKvCZ0McKvzf4ndv5Y4gBYfNsQ3q7/31hVTwMJuNgct5dhrtO5/6EdZdWmP qKAU+MDx5qEel43qxAf9mYmAza+VyBrEoZNeOXXI= Received: from nm72.abv.bg (localhost [127.0.0.1]) by nm72.abv.bg (Postfix) with ESMTP id 8955D1FC1A for ; Tue, 19 Sep 2017 19:07:27 +0300 (EEST) Date: Tue, 19 Sep 2017 19:07:27 +0300 (EEST) From: "r. r." To: user@uima.apache.org Message-ID: <263419060.331156.1505837247560.JavaMail.apache@nm72.abv.bg> In-Reply-To: References: <1825451757.329215.1505834596496.JavaMail.apache@nm72.abv.bg> Subject: Re: XMl generated by AnalysisEngineDescription.toXML not accepted by UIMA-as MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Mailer: AbvMail 3.0 X-Originating-IP: 46.252.142.235 archived-at: Tue, 19 Sep 2017 16:07:33 -0000 Hi I posted the xmls to pastebin.com, hope you're able to view them: the deployment xml: https://pastebin.com/ELwr7VyU the pipeline xml: https://pastebin.com/qjRQUhKL There are no other error messages. Basically the pipeline is one of DKPro's examples at dkpro-core-examples/stanfordcorecomponents-gpl. The classpath might be the problem, but not sure how I can verify that as it works from the commandline (hmm...although it's through maven, which might know more about the jars' paths) Thanks! -Robert >-------- Оригинално писмо -------- >От: Jaroslaw Cwiklik cwiklik@apache.org >Относно: Re: XMl generated by AnalysisEngineDescription.toXML not accepted by UIMA-as >До: user@uima.apache.org >Изпратено на: 19.09.2017 18:45 > Hi Robert, any chance u can paste the deployment descriptor for a review? > Were there any other errors/warnings before? The UIMA-AS deployment > descriptor undergoes a transformation under the covers producing Spring > Framework compatible file which is fed to Spring Factory for instantiating > java code. In this > last step it appears that there is an exception as you described. Wonder if > there is other relevant info before this error > > Jerry > > On Tue, Sep 19, 2017 at 11:23 AM, r. r. wrote: > > > Hello > > I wrote an AE pipeline with uimaFit (and DKPro), which works fine in the > > command line (mvn exec:java ...). > > I successfully exported the xml descriptor via AnalysisEngineDescription.toXML > > and want to use it with UIMA-as (apache-uima-as-2.9.0). > > My first attempt with deployAsyncService.sh failed with: > > > > "SEPM0004: When 'standalone' or 'doctype-system' is specified, the > > document must be > > well-formed; but this document contains a top-level text node" > > > > but then I realised I need to supply an analysisEngineDeploymentDescription > > to UIMA-as, so I amended this with a descriptor pointing to the one > > generated by toXML(). > > > > Now the error I'm getting is: > > > > "Exception encountered during context initialization - cancelling refresh > > attempt: org.springframework.beans.factory.BeanCreationException: Error > > creating bean with name 'primitive_ctlr_DKProStanfordQueue_1' defined in > > URL [file:/var/folders/dt/vmntv00526g5s84b85rqwmm5qbfkqb/T/ > > UIMAdd2springOutput2528967577403356774.xml]: Bean instantiation via > > constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: > > Failed to instantiate [org.apache.uima.aae.controller. > > PrimitiveAnalysisEngineController_impl]: Constructor threw exception; > > nested exception is java.lang.NullPointerException" > > > > Any idea what might be causing this? > > > > Thanks! > > > > Robert > > > >