Hi Torsten, no I didn't do this, I'll give it a try, though.
Thanks for the advice, Alex -- Alexander G. Klenner Fraunhofer-Institute for Algorithms and Scientific Computing (SCAI) Schloss Birlinghoven, D-53754 Sankt Augustin Tel.: +49 - 2241 - 14 - 2736 E-mail: alexander.garvin.klen...@scai.fraunhofer.de Internet: http://www.scai.fraunhofer.de ----- Ursprüngliche Mail ----- Von: "Torsten Zesch" <ze...@tk.informatik.tu-darmstadt.de> An: user@uima.apache.org Gesendet: Mittwoch, 8. Februar 2012 09:49:50 Betreff: RE: CasMultiplier gets same CAS every time next() is called Hi, do you call processAndOutputNewCASes() instead of process()? -Torsten > -----Original Message----- > From: Alexander Klenner > [mailto:alexander.garvin.klen...@scai.fraunhofer.de] > Sent: Tuesday, February 07, 2012 2:30 PM > To: user@uima.apache.org > Subject: CasMultiplier gets same CAS every time next() is called > > Hi, > > I have a problem with a CasMultiplier, it calls it's public AbstractCAS > next() method as often as expected, but as long as my CASMultiplier is > running, there are no CASes given to any succeeding AEs. Only one CAS > is passed from the CasMultiplier after the last call of next(). > > I tried to debug this and just printed the CAS that is returned by the > framework by calling: > > JCas jcas = null; > jcas = getEmptyCAS().getJCas(); > System.out.println(jcas.toString()); > > ,inside the next() method. > > This jcas happens to have the exact same object-id (e.g > org.apache.uima.jcas.impl.JCasImpl@6708f8e0) for every call of next() > method in one run. My CasMultiplier is supposed to create 4 CASes and > next() is actually called 4 times but somehow no new CASes are given by > the framework, id seems to loop over the same object all the time and > the last call of next() releases this CAS to the processing > framework... > > Any ideas? > > Best, > > Alex > > > -- > Alexander G. Klenner > Fraunhofer-Institute for Algorithms and Scientific Computing (SCAI) > Schloss Birlinghoven, D-53754 Sankt Augustin > Tel.: +49 - 2241 - 14 - 2736 > E-mail: alexander.garvin.klen...@scai.fraunhofer.de > Internet: http://www.scai.fraunhofer.de >