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

TikaAnnotator: null pointer exception in MarkupHandler.populateCAS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.3
    • 2.3.1Addons
    • Sandbox-TikaAnnotator
    • None

    Description

      I get the following NPE.

      java.lang.NullPointerException
      at org.apache.uima.cas.impl.CASImpl.createFS(CASImpl.java:474)
      at org.apache.uima.tika.MarkupHandler.populateCAS(MarkupHandler.java:168)
      at org.apache.uima.tika.TIKAWrapper.populateCASfromURL(TIKAWrapper.java:105)
      at org.apache.uima.tika.FileSystemCollectionReader.getNext(FileSystemCollectionReader.java:99)
      at org.apache.uima.collection.impl.cpm.engine.ArtifactProducer.readNext(ArtifactProducer.java:494)
      at org.apache.uima.collection.impl.cpm.engine.ArtifactProducer.run(ArtifactProducer.java:711)

      Attachments

        1. UIMA-1747-patch.txt
          0.9 kB
          Adam Holmberg

        Activity

          People

            Unassigned Unassigned
            holmberg Adam Holmberg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: