You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Greg Holmberg (JIRA)" <ui...@incubator.apache.org> on 2010/03/22 05:02:27 UTC

[jira] Updated: (UIMA-1747) TikaAnnotator: null pointer exception in MarkupHandler.populateCAS

     [ https://issues.apache.org/jira/browse/UIMA-1747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Holmberg updated UIMA-1747:
--------------------------------

    Attachment: UIMA-1747-patch.txt

Suggested fix.  I'm not sure about the type of exception thrown.  The method doesn't declare that it throws any exceptions, so RuntimeException was all I could come up with.

> TikaAnnotator: null pointer exception in MarkupHandler.populateCAS
> ------------------------------------------------------------------
>
>                 Key: UIMA-1747
>                 URL: https://issues.apache.org/jira/browse/UIMA-1747
>             Project: UIMA
>          Issue Type: Bug
>          Components: Sandbox-TikaAnnotator
>    Affects Versions: 2.3
>            Reporter: Greg Holmberg
>            Priority: Blocker
>         Attachments: UIMA-1747-patch.txt
>
>
> 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)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.