[ http://issues.apache.org/jira/browse/JCR-574?page=all ]

Marcel Reutegger reassigned JCR-574:
------------------------------------

    Assignee: Marcel Reutegger

> MsExcelTextFilter throws Exception. Repository is not startable
> ---------------------------------------------------------------
>
>                 Key: JCR-574
>                 URL: http://issues.apache.org/jira/browse/JCR-574
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: indexing
>    Affects Versions: 1.0.1
>            Reporter: Claus Köll
>         Assigned To: Marcel Reutegger
>            Priority: Critical
>         Attachments: TEL.xls
>
>
> If i try to add a Excel File (see attachment) i get this Exception
> Caused by: java.lang.NumberFormatException: You cannot get a string value 
> from a numeric cell
>       at 
> org.apache.poi.hssf.usermodel.HSSFCell.getStringCellValue(HSSFCell.java:800)
>       at 
> org.apache.jackrabbit.core.query.MsExcelTextFilter$1.initializeReader(MsExcelTextFilter.java:97)
>       at org.apache.jackrabbit.core.query.LazyReader.read(LazyReader.java:79)
> The bad news is that if you add this file the repository is not startabel 
> anymore because the file is in the redo.log and you
> get a blocker !
> The stack from the restart after NumberFormatException
> 19.09.2006 08:47:23 *ERROR* RepositoryImpl: Unable to start repository, 
> forcing shutdown... 
> 19.09.2006 08:47:23 *INFO * RepositoryImpl: Shutting down repository... 
> 19.09.2006 08:47:23 *INFO * RepositoryImpl: shutting down workspace 
> 'default'... 
> 19.09.2006 08:47:23 *INFO * ObservationManagerFactory: Notification of 
> EventListeners stopped. 
> 19.09.2006 08:47:23 *INFO * RepositoryImpl: workspace 'default' has been 
> shutdown 
> I think its very important that you can not block a whole repository if the 
> indexer throws a exception.
> thanks
> claus

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


Reply via email to