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

Digy closed LUCENENET-198.
--------------------------

    Resolution: Fixed

This problem is fixed somewhere in current patches.
Thanks Roger.
DIGY

> CharReader throws NullReferenceException
> ----------------------------------------
>
>                 Key: LUCENENET-198
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-198
>             Project: Lucene.Net
>          Issue Type: Bug
>         Environment: 2.9.0
>            Reporter: Roger Chapman
>            Priority: Blocker
>         Attachments: CharReader.patch
>
>
> CharReader passes null into the base CharStream Class however CharStream 
> passes reader.BaseStream which causes the Exception.
> Problem is that CharStream inherits  from a StreamReader and the CharReader 
> (which inherits from CharStream)  excepts a TextReader in its constructor.
> My solution was to change CharStream to inherit from TextReader instead. This 
> means that the Methods "MarkSupported", "Mark" and "Reset"  are no longer 
> usable, however I could not find any use of these methods. 
> This effects CharFilter also.

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

Reply via email to