jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anthony Ogier (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-662) RecordFormatException in MsExcelTextFilter.initializeReader breaks lucene indexing
Date Mon, 04 Dec 2006 15:51:21 GMT
RecordFormatException in MsExcelTextFilter.initializeReader breaks lucene indexing

                 Key: JCR-662
                 URL: http://issues.apache.org/jira/browse/JCR-662
             Project: Jackrabbit
          Issue Type: Bug
          Components: indexing
    Affects Versions: 1.0.1
            Reporter: Anthony Ogier

There is a problem in POI that makes the Lucene indexer (which calls the jackrabbit MsExcelTextFilter
while defined in the correct xml) crashes.
Actually, in line 85 of MsExcelTextFilter.java :
HSSFWorkbook workbook = new HSSFWorkbook(fs);

Could sometime throws a RecordFormatException which extends *RuntimeException* !!
So, I think it would be good to try / catch that exception surrounding this line, and then,
throwing a IOException instead (so the calling classes could correctly reacts).

See the POI bug : http://issues.apache.org/bugzilla/show_bug.cgi?id=29982

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message