Return-Path: Delivered-To: apmail-incubator-uima-user-archive@minotaur.apache.org Received: (qmail 51450 invoked from network); 5 Mar 2010 14:05:00 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Mar 2010 14:05:00 -0000 Received: (qmail 6076 invoked by uid 500); 5 Mar 2010 14:04:46 -0000 Delivered-To: apmail-incubator-uima-user-archive@incubator.apache.org Received: (qmail 6057 invoked by uid 500); 5 Mar 2010 14:04:46 -0000 Mailing-List: contact uima-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: uima-user@incubator.apache.org Delivered-To: mailing list uima-user@incubator.apache.org Received: (qmail 6049 invoked by uid 99); 5 Mar 2010 14:04:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Mar 2010 14:04:46 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [193.168.50.254] (HELO SMT02002.global-sp.net) (193.168.50.254) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Mar 2010 14:04:39 +0000 Received: from EXV01001.GlobalSP.local (unknown [172.20.30.2]) by SMT02002.global-sp.net (Postfix) with ESMTP id 75941210D33 for ; Fri, 5 Mar 2010 15:04:18 +0100 (CET) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: CASTransportable without OutOfTypeSystemData in VinciAnalysisEngineServiceStub Date: Fri, 5 Mar 2010 15:04:24 +0100 Message-ID: <3D75841CCAED41408E7F85CAA9E9D293016F81FE@EXV01001.GlobalSP.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: CASTransportable without OutOfTypeSystemData in VinciAnalysisEngineServiceStub Thread-Index: Acq1gTPrAhdEK/z6RjKB3sIoiel2qQG61+Pw References: <4B74F53B.1000503@uni-jena.de> <3D75841CCAED41408E7F85CAA9E9D29301659A06@EXV01001.GlobalSP.local> From: "Olivier Terrier" To: X-global-asp-net-MailScanner-ID: 75941210D33.A93AE X-global-asp-net-MailScanner: Found to be clean X-global-asp-net-MailScanner-SpamCheck: X-MailScanner-From: olivier.terrier@temis.com X-Virus-Checked: Checked by ClamAV on apache.org Hi Eddie Yes the exception is on the client side INFO | jvm 1 | 2010/02/17 11:47:59 | Caused by: = org.apache.uima.analysis_engine.AnalysisEngineProcessException INFO | jvm 1 | 2010/02/17 11:47:59 | at = org.apache.uima.analysis_engine.service.impl.AnalysisEngineServiceAdapter= .processAndOutputNewCASes(AnalysisEngineServiceAdapter.java:142) INFO | jvm 1 | 2010/02/17 11:47:59 | at = org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(Analy= sisEngineImplBase.java:218) INFO | jvm 1 | 2010/02/17 11:47:59 | ... 7 more INFO | jvm 1 | 2010/02/17 11:47:59 | Caused by: = org.apache.uima.resource.ResourceServiceException INFO | jvm 1 | 2010/02/17 11:47:59 | at = org.apache.uima.adapter.vinci.VinciAnalysisEngineServiceStub.doProcess(Vi= nciAnalysisEngineServiceStub.java:241) INFO | jvm 1 | 2010/02/17 11:47:59 | at = org.apache.uima.adapter.vinci.VinciAnalysisEngineServiceStub.callProcess(= VinciAnalysisEngineServiceStub.java:204) INFO | jvm 1 | 2010/02/17 11:47:59 | at = org.apache.uima.analysis_engine.service.impl.AnalysisEngineServiceAdapter= .processAndOutputNewCASes(AnalysisEngineServiceAdapter.java:129) INFO | jvm 1 | 2010/02/17 11:47:59 | ... 8 more INFO | jvm 1 | 2010/02/17 11:47:59 | Caused by: = org.apache.vinci.transport.ServiceException: Error Processing Request INFO | jvm 1 | 2010/02/17 11:47:59 | at = org.apache.vinci.transport.BaseClient.sendAndReceiveWork(BaseClient.java:= 652) INFO | jvm 1 | 2010/02/17 11:47:59 | at = org.apache.vinci.transport.BaseClient.sendAndReceiveWork(BaseClient.java:= 666) INFO | jvm 1 | 2010/02/17 11:47:59 | at = org.apache.vinci.transport.BaseClient.sendAndReceive(BaseClient.java:383)= INFO | jvm 1 | 2010/02/17 11:47:59 | at = org.apache.uima.adapter.vinci.VinciAnalysisEngineServiceStub.doProcess(Vi= nciAnalysisEngineServiceStub.java:225) INFO | jvm 1 | 2010/02/17 11:47:59 | ... 10 more The service-side adds objects to the CAS that are in a typesystem that = is not know on the client-side O. > -----Message d'origine----- > De=A0: Eddie Epstein [mailto:eaepstein@gmail.com] > Envoy=E9=A0: mercredi 24 f=E9vrier 2010 19:42 > =C0=A0: uima-user@incubator.apache.org > Objet=A0: Re: CASTransportable without OutOfTypeSystemData in > VinciAnalysisEngineServiceStub >=20 > Hi Olivier, >=20 > I may not be the guru you are looking for, but here goes anyway. > VinciAnalysisEngineServiceStub runs on the client side. There is no > out-of-typesystem data on the client side, all CAS content is sent. > On the service side the CAS may contain OOTS data which is then > held on the side and returned with the service reply. >=20 > Is your exception on the client or service side? >=20 > Eddie >=20 > On Tue, Feb 23, 2010 at 10:14 AM, Olivier Terrier > wrote: > > Hi everybody > > > > A question for the Vinci gurus: > > is there any reason for the method doProcess of the > > org.apache.uima.adapter.vinci.VinciAnalysisEngineServiceStub to > > construct a CASTransportable with a null OutOfTypeSystemData?? > > > > > > =A0/** > > =A0 * The actual process call. > > =A0 */ > > =A0private void doProcess(CAS aCAS) throws ResourceServiceException = { > > =A0 =A0try { > > =A0 =A0 =A0aCAS =3D ((CASImpl) aCAS).getBaseCAS(); > > > > =A0 =A0 =A0// create CASTransportable ... always send the base CAS > > =A0 =A0 =A0final CASTransportable query =3D new = CASTransportable(aCAS, null, > > mOwner.getUimaContext(), true); > > > > ... > > ... > > > > This is causing a =A0XCASParsingException:" Error parsing XCAS from > source > > at line , column : unknown type: XXX" > when I > > use a Vinci analysis engine that add "out of typesystem" objects in > my > > CAS. > > > > Everywhere else in the code it seems that CASTransportable is always > > provided with a OutOfTypeSystemData to prevent that kind of > exception. > > > > Do you consider it as a bug? Should I post an issue in jira (and a > > patch?) > > > > Thanks a lot > > > > Olivier Terrier > > TEMIS > >