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(AnalysisEngineImplBase.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(VinciAnalysisEngineServiceStub.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(VinciAnalysisEngineServiceStub.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 : Eddie Epstein [mailto:[email protected]] > Envoyé : mercredi 24 février 2010 19:42 > À : [email protected] > Objet : Re: CASTransportable without OutOfTypeSystemData in > VinciAnalysisEngineServiceStub > > Hi Olivier, > > 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. > > Is your exception on the client or service side? > > Eddie > > On Tue, Feb 23, 2010 at 10:14 AM, Olivier Terrier > <[email protected]> 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?? > > > > > > /** > > * The actual process call. > > */ > > private void doProcess(CAS aCAS) throws ResourceServiceException { > > try { > > aCAS = ((CASImpl) aCAS).getBaseCAS(); > > > > // create CASTransportable ... always send the base CAS > > final CASTransportable query = new CASTransportable(aCAS, null, > > mOwner.getUimaContext(), true); > > > > ... > > ... > > > > This is causing a XCASParsingException:" Error parsing XCAS from > source > > <unknown> at line <unknown>, column <unknown>: 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 > >
