lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roger Chapman (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENENET-198) CharReader throws NullReferenceException
Date Thu, 29 Oct 2009 10:28:59 GMT

     [ 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.


Mime
View raw message