Uploaded image for project: 'cTAKES'
  1. cTAKES
  2. CTAKES-15

Runtime exception for certain documents with Assertion module

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • 3.0-incubating
    • 3.0-incubating
    • ctakes-assertion
    • None

    Description

      Sample text to recreate this:

      HISTORY:
      blah blah
      REPORT:
      blah blah
      IMPRESSION
      blah blah
      REPORT 2:
      61172
      Addendum:

      Caused by: java.lang.RuntimeException: First token in sentence not found!!
      at org.mitre.medfacts.i2b2.api.ctakes.CharacterOffsetToLineTokenConverterCtakesImpl.convertCharacterOffsetToLineToken(CharacterOffsetToLineTokenConverterCtakesImpl.java:183) ~[cTAKES-2.5.0.jar:na]
      at org.mitre.medfacts.i2b2.api.ctakes.CharacterOffsetToLineTokenConverterCtakesImpl.convert(CharacterOffsetToLineTokenConverterCtakesImpl.java:107) ~[cTAKES-2.5.0.jar:na]
      at org.mitre.medfacts.zoner.ZonerCli.findHeadings(ZonerCli.java:545) ~[med-facts-zoner-1.1.jar:na]
      at org.mitre.medfacts.i2b2.cli.MedFactsRunner.findZones(MedFactsRunner.java:212) ~[med-facts-i2b2-1.2-SNAPSHOT.jar:na]
      at org.mitre.medfacts.i2b2.api.SingleDocumentProcessor.processZones(SingleDocumentProcessor.java:449) ~[med-facts-i2b2-1.2-SNAPSHOT.jar:na]
      at org.mitre.medfacts.i2b2.api.SingleDocumentProcessor.generateAnnotations(SingleDocumentProcessor.java:173) ~[med-facts-i2b2-1.2-SNAPSHOT.jar:na]
      at org.mitre.medfacts.i2b2.api.SingleDocumentProcessor.processSingleDocument(SingleDocumentProcessor.java:97) ~[med-facts-i2b2-1.2-SNAPSHOT.jar:na]
      at org.mitre.medfacts.uima.assertion.AssertionAnalysisEngine.process(AssertionAnalysisEngine.java:213) ~[cTAKES-2.5.0.jar:na]
      at org.apache.uima.analysis_component.JCasAnnotator_ImplBase.process(JCasAnnotator_ImplBase.java:48) ~[uimaj-core-2.4.0.jar:2.4.0]
      at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:375) ~[uimaj-core-2.4.0.jar:2.4.0]
      ... 6 common frames omitted

      Attachments

        Activity

          People

            chenpei Pei Chen
            chenpei Pei Chen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: