Re: Many views in the cas to serialize cause java.lang.NullPointerException in service uima-as

2017-02-13 Thread nelson rivera
// all >> non-initial-views must have a sofa >>* return ((CASImpl)cas.getView(sofaNum)).getSofaRef();* >> } >> return 0; >> } >> >> Looks to me that getView(sofaNum) is returning null. Is it possible that >> two threads are operati

Re: Many views in the cas to serialize cause java.lang.NullPointerException in service uima-as

2017-02-10 Thread nelson rivera
null. >> >> I'm not sure what the best way is to debug this... >> >> -Marshall >> >> >> >> >> On 2/9/2017 12:42 PM, nelson rivera wrote: >>> I have a aggregate service uima-as, at the end of aggregate the cas to >>> return is c

Many views in the cas to serialize cause java.lang.NullPointerException in service uima-as

2017-02-09 Thread nelson rivera
I have a aggregate service uima-as, at the end of aggregate the cas to return is composed of as many views as the number of input files, each view with annotations of processing. With a number of input documents less than 15 the processing is successful always, but if the number of documents is

Re: Many views in the cas to serialize cause java.lang.NullPointerException in service uima-as

2017-02-16 Thread nelson rivera
iklik wrote: >>> > Not exactly sure how to debug this. >>> >>> a small-ish test case we could run would enable debugging... >>> >>> > The UIMA-AS does not touch contents of >>> > a CAS directly. Are there any other errors in the log besi

Re: Broken conections after ACTIVEMQ restart

2016-09-21 Thread nelson rivera
I'm using UIMA-AS 2.8.1, any idea that what happen? 2016-09-21 16:09 GMT-04:00, Jaroslaw Cwiklik <uim...@gmail.com>: > Which version of UIMA-AS are you using? > > -Jerry > > On Wed, Sep 21, 2016 at 3:42 PM, nelson rivera <nelsonriver...@gmail.com> > wrote: > &

Re: Broken conections after ACTIVEMQ restart

2016-09-22 Thread nelson rivera
xceptions in the service log? Perhaps the service is >> unable >> to send the child CAS due to missing broker. There should be something in >> the uima-as log about this. >> >> -jerry >> >> On Thu, Sep 22, 2016 at 10:19 AM, nelson rivera >> <nelso

Re: Broken conections after ACTIVEMQ restart

2016-09-27 Thread nelson rivera
s related to broker > issues. > > -jerry > > On Thu, Sep 22, 2016 at 11:29 AM, nelson rivera <nelsonriver...@gmail.com> > wrote: > >> just like that, the parent CAS comes back but the child CAS doesnt. >> >> And the child CAS if processed, because the

Re: Broken conections after ACTIVEMQ restart

2016-09-27 Thread nelson rivera
t;> wrote: >> >>> Here is the uima-as 2.9.0-SNAPSHOT to try: >>> https://repository.apache.org/content/repositories/snapshots >>> /org/apache/uima/uima-as/2.9.0-SNAPSHOT/uima-as-2.9.0-201609 >>> 23.195233-6.tar.gz >>> >>> Can you briefly

Re: Broken conections after ACTIVEMQ restart

2016-09-28 Thread nelson rivera
g in the UIMA-AS but I am > still investigating. Bug or not, what I described above is how UIMA-AS > works. You should not expect any replies from a service > working on a CAS that was sent through a broker that is bounced before a > reply. > > -jerry > > > On Tue, Sep 2

Re: Broken conections after ACTIVEMQ restart

2016-09-28 Thread nelson rivera
2016-09-28 9:27 GMT-04:00, Jaroslaw Cwiklik <uim...@gmail.com>: > Nelson, I will investigate your use case and let you know. > > -jerry > > On Wed, Sep 28, 2016 at 9:01 AM, nelson rivera <nelsonriver...@gmail.com> > wrote: > >> Thank you for describe how UI

Re: Broken conections after ACTIVEMQ restart

2016-09-27 Thread nelson rivera
My service is a aggregate analysis engine that receives input CAS with the direcction of a directory of documents, the first component is a MultiplerCas that for each document generate a child CAS, each child CAS continues the flow that are other primitive annotators (primitive annotators in c++

Free instance of agreggate with cas multiplier in MultiprocessingAnalysisEngine

2016-11-08 Thread nelson rivera
I have a aggregate analysis engine that contains a casmultiplier annotator. I instantiate this aggregate with the interface UIMAFramework.produceAnalysisEngine(specifier, 1, 0) for multithreaded processing. The casmultiplier generate more than one cas for each input CAS. The issue is that after

Re: Free instance of agreggate with cas multiplier in MultiprocessingAnalysisEngine

2016-11-09 Thread nelson rivera
Not, for only one instance, the behavior is correct, and generate all child cas required. 2016-11-09 9:40 GMT-05:00, Eddie Epstein <eaepst...@gmail.com>: > Is behavior the same for single-threaded AnalysisEngine instantiation? > > On Tue, Nov 8, 2016 at 10:00 AM, nelson rive

No service reply, after org.xml.sax.SAXParseException; Trying to serialize non-XML 1.0 character:

2016-11-21 Thread nelson rivera
I tried to process a input cas in service aggregate deployed in uima-as. The annotations produced for annotators contains apparently invalid character, after finalize the processing , when the framework tries to send the reply, shows a org.xml.sax.SAXParseException error serializing the cas and in

Possible cause of nullPointerException in casmultiplier?

2016-11-23 Thread nelson rivera
I have a aggregate service that contains in the flow in this order : 1 casmultiplier, then 2 primitive annotators and at the end other casmultiplier. The first casmultiplier receive a annotation with the path of a folder and creates a new child cas for each file in the folder, the child cas

What should happen with the original input cas and child cas when a excption occurs

2016-11-22 Thread nelson rivera
I have a service aggregate deployed in uima-as, the first annotator in the aggregate is a casmultipler y then more primitive annotator in the flow. When in the middle of processing (Have been generated various child cas from the casmultipler and are being processed in other anotators in the flow)

Re: Possible cause of nullPointerException in casmultiplier?

2016-11-24 Thread nelson rivera
) at cu.datys.xinetica.uima.core.FileSystemMultiplerCas.next(FileSystemMultiplerCas.java:337) 2016-11-23 16:14 GMT-05:00, nelson rivera <nelsonriver...@gmail.com>: > I have a aggregate service that contains in the flow in this order : 1 > casmultiplier, then 2 primitive annotators and at the end other >

Re: Possible cause of nullPointerException in casmultiplier?

2016-11-24 Thread nelson rivera
oolean noIndexOrOnlySetindexes = true; for (IndexIteratorCachePair iicp : indexes) {} //here apparently loop on a null value, any idea of why can happen this exception? 2016-11-24 16:27 GMT-05:00, nelson rivera <nelsonriver...@gmail.com>: > the error continue ocurring , this is the log, m

Re: Possible cause of nullPointerException in casmultiplier?

2016-11-28 Thread nelson rivera
n chime > in. Can you confirm which > deployment you chose for this aggregate (synch or asynch) > Jerry > > On Fri, Nov 25, 2016 at 11:14 AM, nelson rivera <nelsonriver...@gmail.com> > wrote: > >> The errores related are very random. I found a patron of error ( don't >&g

Re: What should happen with the original input cas and child cas when a excption occurs

2016-11-22 Thread nelson rivera
t; Jerry > > On Tue, Nov 22, 2016 at 4:15 PM, nelson rivera <nelsonriver...@gmail.com> > wrote: > >> I have a service aggregate deployed in uima-as, the first annotator in >> the aggregate is a casmultipler y then more primitive annotator in the >> flow. When in the

Re: Free instance of agreggate with cas multiplier in MultiprocessingAnalysisEngine

2016-11-18 Thread nelson rivera
? > > On Wed, Nov 9, 2016 at 1:24 PM, nelson rivera <nelsonriver...@gmail.com> > wrote: > >> Not, for only one instance, the behavior is correct, and generate all >> child cas required. >> >> 2016-11-09 9:40 GMT-05:00, Eddie Epstein <eaepst...@

TERMINATE Action with org.xml.sax.SAXParseException in deserializeCasFromXmi function

2016-11-18 Thread nelson rivera
I have a service aggregate deploys in uima-as. When i send a input cas with a text that contains apparently invalid character, occurs an error deserializing the cas and the framework stops the aggregate service this is the complete stacktrace: 09:54:38.24 - 1:

Re: Broken conections after ACTIVEMQ restart

2016-11-01 Thread nelson rivera
ced, both the client and a > service will detect a new broker instance, kill its old temp queue > listeners and create new ones so that subsequent processing can take place. > > Jerry > > On Thu, Oct 27, 2016 at 1:19 PM, nelson rivera <nelsonriver...@gmail.com> > wrote

Re: java.lang.ClassCastException with binary SerializationStrategy

2016-11-03 Thread nelson rivera
in <eaepst...@gmail.com>: > Hi, > > Binary serialization for a service call only works if the client and > service have identical type system definitions. Have you confirmed > everything works with the default XmiCas serialization? > > Eddie > > On Thu, Nov 3, 2016 at 3:51

Re: Broken conections after ACTIVEMQ restart

2016-10-27 Thread nelson rivera
I will work on fixing this today and let you know when this is ready. I > will also create a new > snapshot for you to try. > > Thanks for finding these problems. > > - jerry > > > On Wed, Sep 28, 2016 at 10:12 AM, nelson rivera <nelsonriver...@gmail.com> > wro

Re: Possible cause of nullPointerException in casmultiplier?

2016-11-29 Thread nelson rivera
t; > Jerry > > > On Mon, Nov 28, 2016 at 12:40 PM, nelson rivera <nelsonriver...@gmail.com> > wrote: > >> I have deployed the aggregate of asynchronous way. >> And i configure this aggregate to processing one request at the same >> time(numberOfCASes=1,defau

Proccesing Bamun characters

2016-12-08 Thread nelson rivera
i tried to proccess the following text in a service deploy in uima-as, because is input of my application. This is the text : 榀 榐 � �. These characters correspond to the bamun language, and apparently are not invalid xml characters because tools such as browsers interpret it and show it. After

Re: Proccesing Bamun characters

2016-12-09 Thread nelson rivera
Hi i was read your explication and saw the link, but in my case, i don't read any xml file. Just i copy the text, get a new input cas from UimaAsynchronousEngine with getCAS(), set the text in the cas and send the request whit sendCAS(). I use uima-as API 2.9.0 in the client side. Apparently the

Re: Proccesing Bamun characters

2016-12-14 Thread nelson rivera
We also did that test with uima framework and RunAE tool and thecharacters in a file as you, and effectively not exist problem. The problem is use uima-as, sendCAS() with UimaAsynchronousEngine and when trying to deserialize the cas deserializeCasFromXmi() in remote uima-as service, that i get

Re: Proccesing Bamun characters

2016-12-16 Thread nelson rivera
ld >> say what >> the stack trace was, beyond the first bit which you stated in your >> original >> note. There should be more stack trace information, further down, >> starting with >> "caused by ..." which may provide more helpful information. >> >&

Re: Proccesing Bamun characters

2016-12-12 Thread nelson rivera
verting it to a UTF-8 string > using > something like: > byte[] theBytes = myTestString.getBytes("UTF-8"); > > and then print out theBytes in hex; they should look like the above. If > not, > please let us know what the values is instead. > > >

Re: Proccesing Bamun characters

2016-12-19 Thread nelson rivera
I understand, and yes, these characters should not appear in the serialized cas, but they appear using XmiCasSerializer.serialize(cas.getCas(), outStream): .. In my application not use FileSystemCollectionReader. The user introduces the text, the text is stored in string java (utf-16) and it

Re: Proccesing Bamun characters

2016-12-27 Thread nelson rivera
e entities of the two surrogates code units that represents it, and of this way not occurs any problem of deserialize in uima-as service. At the end it seem be a bug of the XML transform engine that is used. 2016-12-19 10:03 GMT-05:00, nelson rivera <nelsonriver...@gmail.com>: > I

Using optional argument -Duima.as.enable.jmx=false

2016-12-22 Thread nelson rivera
I am testing recent uima-as 2.9.0 release. I try deploy a service uima-as, with the new argument uima.as.enable.jmx with value "false", i expected that the UIMA-AS will start with no JMX support and no port will not be opened, but a port continue opening and Providing JMX statistics of processing.

Re: Proccesing Bamun characters

2016-12-16 Thread nelson rivera
SystemCollectionReader as runAE does ... did you use a different > collection reader? If a custom one perhaps you could serialize the cas to > a file as XMI and verify that the XMI is legal. > > On Fri, Dec 16, 2016 at 8:37 AM, nelson rivera <nelsonriver...@gmail.com> > w

Re: TypePriorities configured in the descriptor of an aggregate engine are not added in uima-as

2017-08-14 Thread nelson rivera
Jerry > > On Fri, Aug 11, 2017 at 12:12 PM, nelson rivera <nelsonriver...@gmail.com> > wrote: > >> i have configured a priorityList in the descriptor of my aggregate >> engine, with the objetive of use correctly subiterator() function in >> my client code over

TypePriorities configured in the descriptor of an aggregate engine are not added in uima-as

2017-08-11 Thread nelson rivera
i have configured a priorityList in the descriptor of my aggregate engine, with the objetive of use correctly subiterator() function in my client code over the result CAS. After deploy the aggregate in uima-as, in my client code that consumes de uima-as service aggregate to check the priorityList

Re: How know when "Session is closed" after establish connections between uima-as client and ActiveMQ?

2017-07-07 Thread nelson rivera
>> https://uima.apache.org/building-uima.html >> >> It's a bit involved process so I will try to post a snapshot of uima-as >> to >> Apache snapshot repository and will provide you with a link later today. >> >> Jerry >> >> On Wed, Jul 5, 2017 a

Re: How know when "Session is closed" after establish connections between uima-as client and ActiveMQ?

2017-07-17 Thread nelson rivera
d5 > uima-as-2.9.1-20170714.131915-4.zip.sha1 > > > > On Tue, Jul 11, 2017 at 10:17 AM, nelson rivera <nelsonriver...@gmail.com> > wrote: > >> Thanks very much, actually i have my application in production but >> with this bug as reported. i wait >> >&g

Re: How know when "Session is closed" after establish connections between uima-as client and ActiveMQ?

2017-07-11 Thread nelson rivera
is closed. Seems like a race condition. How many UIMA-AS >> clients >> do you have running in this process? >> >> Jerry >> >> On Mon, Jul 10, 2017 at 3:51 PM, nelson rivera <nelsonriver...@gmail.com> >> wrote: >> >>> i just tested th

Re: How know when "Session is closed" after establish connections between uima-as client and ActiveMQ?

2017-07-11 Thread nelson rivera
nd. > > Jerry > > On Tue, Jul 11, 2017 at 9:02 AM, nelson rivera <nelsonriver...@gmail.com> > wrote: > >> analyzing more deep the issue, I have observed that after restart the >> broker, the first uima-as client that is consumed (no matter which),

Re: How know when "Session is closed" after establish connections between uima-as client and ActiveMQ?

2017-07-10 Thread nelson rivera
This time it is a > Connection is closed. Seems like a race condition. How many UIMA-AS clients > do you have running in this process? > > Jerry > > On Mon, Jul 10, 2017 at 3:51 PM, nelson rivera <nelsonriver...@gmail.com> > wrote: > >> i just tested the snapshot b

Re: How know when "Session is closed" after establish connections between uima-as client and ActiveMQ?

2017-07-18 Thread nelson rivera
reProcessCAS() metod of uima-as client's UimaAsBaseCallbackListener y throws timeout exception. 2017-07-17 13:37 GMT-04:00, Jaroslaw Cwiklik <cwik...@apache.org>: > Yes. the changes are in the svn so you prefer building from source just do > svn update to pickup the latest code. > > Jerry >

Re: How know when "Session is closed" after establish connections between uima-as client and ActiveMQ?

2017-07-19 Thread nelson rivera
clients recovered and included correct temp queue for replies and the > others did not. Can yo confirm that you keep sending messages from your > clients and only one of them succeeds with send and receive. > > Jerry > > On Tue, Jul 18, 2017 at 4:09 PM, nelson rivera <nelsonriver...@gmail.

Re: How know when "Session is closed" after establish connections between uima-as client and ActiveMQ?

2017-07-20 Thread nelson rivera
emp > queue for every uima-as client instance when a connection is recovered. > Need to do more testing to see if there is a bug in the code that deals > with recovery. > > Jerry > > On Wed, Jul 19, 2017 at 1:52 PM, nelson rivera <nelsonriver...@gmail.com> > wrote: >

Broken conections after ACTIVEMQ restart with service uima-as CasMultiplier and delegate remote

2017-07-05 Thread nelson rivera
i have a aggregate service uima-as that it contains a CasMultiplier, after this casmultiplier in the flow one of the delegates is remote. The delegate remote is a primitive annotator implented in c++,but is deployed with de deployAsyncService.sh de uima-as directly. With these step i get the

Re: Broken conections after ACTIVEMQ restart with service uima-as CasMultiplier and delegate remote

2017-07-05 Thread nelson rivera
sent after broker restart) will > have a valid temp queue and replies will succeed. > > Jerry > > On Wed, Jul 5, 2017 at 9:55 AM, nelson rivera <nelsonriver...@gmail.com> > wrote: > >> i have a aggregate service uima-as that it contains a CasMultiplier, >

Re: TypePriorities configured in the descriptor of an aggregate engine are not added in uima-as

2017-08-16 Thread nelson rivera
ne with current work load, > > Jerry > > On Mon, Aug 14, 2017 at 4:36 PM, Jaroslaw Cwiklik <cwik...@apache.org> > wrote: > >> Thanks, I will try to test this scenario and get back to ya. >> >> Jerry >> >> On Mon, Aug 14, 2017 at 4:27 PM, nelson rive

Re: TypePriorities configured in the descriptor of an aggregate engine are not added in uima-as

2017-08-30 Thread nelson rivera
h a simple type > priority configuration. > > https://repository.apache.org/content/repositories/snapshots/org/apache/uima/uima-as/2.9.1-SNAPSHOT/uima-as-2.9.1-20170825.204106-5.tar.gz > > Jerry > > > On Fri, Aug 25, 2017 at 8:25 AM, nelson rivera <nelsonriver...@gmail.co

Re: TypePriorities configured in the descriptor of an aggregate engine are not added in uima-as

2017-08-25 Thread nelson rivera
Thanks for your attention Jerry, i wait the solution to integrate it in production 2017-08-24 14:27 GMT-04:00, Jaroslaw Cwiklik <cwik...@apache.org>: > Nelson, I was able to recreate this problem and am working on a fix now. > Jerry > > On Wed, Aug 16, 2017 at 3:39 PM, nelson r