Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-29

Can't call process twice on CPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.1
    • Collection Processing
    • None

    Description

      (Issue reported on SourceForge)
      My problem occurs when I call process() twice on a
      CollectionProcessingEngine. The call bombs out with a
      next to useless thread exception.

      6/09/2006 11:28:39
      com.ibm.uima.reference_impl.collection.cpm.BaseCPMImpl
      run(515)
      SEVERE: java.lang.IllegalThreadStateException

      The docs appear to suggest its fine to call process
      more than once just not at the same time.

      Follow up:
      Sender: cwiklik

      This is a known limitiation and perhaps not well
      documented.

      Can you explain the use case for calling process on the
      same CPE more than once?

      Workaround for this limitation is to create a new instance
      of the CollectionProcessingEngine. Is this for now
      acceptable?

      Attachments

        Activity

          People

            Unassigned Unassigned
            alally Adam P. Lally
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: