You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "Roger Chapman (JIRA)" <ji...@apache.org> on 2009/10/29 11:28:59 UTC
[jira] Updated: (LUCENENET-198) CharReader throws
NullReferenceException
[ https://issues.apache.org/jira/browse/LUCENENET-198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roger Chapman updated LUCENENET-198:
------------------------------------
Attachment: CharReader.patch
> 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.