Thanks Jerry, No, that file is gone after the command fails. Do I have to setup the jars in use in the class path or is UIMA-as getting all the info to locate jars from the descriptor xmls? Or maybe a way to see a yet more detailed error description by the deploy tool?
I'm running this with Java 8 on OSX Sierra: java version "1.8.0_45" Java(TM) SE Runtime Environment (build 1.8.0_45-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode) Best regards -Robert >-------- Оригинално писмо -------- >От: Jaroslaw Cwiklik cwik...@apache.org >Относно: Re: XMl generated by AnalysisEngineDescription.toXML not accepted by >UIMA-as >До: user@uima.apache.org >Изпратено на: 19.09.2017 19:28 > Robert, the DD looks ok to me. I actually stripped down one of my DD to > look just as yours and it deployed fine. Do you still have this file: > file:/var/folders/dt/vmntv00526g5s84b85rqwmm5qbfkqb/T/ > UIMAdd2springOutput2528967577403356774.xml > > This is the transformed file which is fed to Spring factory. Can you share > this via pastbin? > Also which version of java are you using? > > Jerry > > > On Tue, Sep 19, 2017 at 11:45 AM, Jaroslaw Cwiklik <cwik...@apache.org> > wrote: > > > 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. <rob...@abv.bg> 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/UIMAd > >> d2springOutput2528967577403356774.xml]: Bean instantiation via > >> constructor failed; nested exception is > >> org.springframework.beans.BeanInstantiationException: > >> Failed to instantiate [org.apache.uima.aae.controlle > >> r.PrimitiveAnalysisEngineController_impl]: Constructor threw exception; > >> nested exception is java.lang.NullPointerException" > >> > >> Any idea what might be causing this? > >> > >> Thanks! > >> > >> Robert > >> > >> > >