jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From KÖLL Claus <C.KO...@TIROL.GV.AT>
Subject Problems with MSExcelFilter .. Repository is not start able anymore
Date Thu, 14 Sep 2006 11:46:40 GMT
Hi @ all ..
 
If i try to put a Excel File (some telephone mumbers ..) into my Repository i get a exception
like this ..
javax.jcr.RepositoryException: You cannot get a string value from a numeric cell: You cannot
get a string value from a numeric cell: You cannot get a string value from a numeric cell

So the problem is now the file is in the redo.log. If i try to start the repository again
i get this stacktrace and the Repository is not start able anymore ...

*******************************************************************************************************************************
14.09.2006 13:35:31 *INFO * LocalFileSystem: LocalFileSystem initialized at path C:\Repo\jackrabbit\repository\repository

14.09.2006 13:35:31 *INFO * RepositoryImpl: Starting repository... 
14.09.2006 13:35:32 *INFO * LocalFileSystem: LocalFileSystem initialized at path C:\Repo\jackrabbit\repository\version\blobs

14.09.2006 13:35:32 *INFO * RepositoryImpl: initializing workspace 'default'... 
14.09.2006 13:35:32 *INFO * LocalFileSystem: LocalFileSystem initialized at path C:\Repo\jackrabbit\repository\workspaces\default\blobs

14.09.2006 13:35:33 *INFO * RepositoryImpl: workspace 'default' initialized 
14.09.2006 13:35:33 *INFO * SearchIndex: Index initialized: C:\Repo\jackrabbit\repository/repository/index

14.09.2006 13:35:34 *INFO * Recovery: Found uncommitted redo log. Applying changes now...

[WARNING] Unknown Ptg 3c (60)
14.09.2006 13:35:35 *ERROR* RepositoryImpl: Failed to initialize workspace 'default' 
javax.jcr.RepositoryException: You cannot get a string value from a numeric cell: You cannot
get a string value from a numeric cell: You cannot get a string value from a numeric cell
 at org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(SearchManager.java:531)
 at org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java:273)
 at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager(RepositoryImpl.java:1434)
 at org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.java:540)
 at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:245)
 at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:484)
 at at.gv.tirol.common.jcr.repository.RepositoryStartupPlugin.createRepository(RepositoryStartupPlugin.java:136)
 at at.gv.tirol.common.jcr.repository.RepositoryStartupPlugin.initRepositoryOld(RepositoryStartupPlugin.java:112)
 at at.gv.tirol.common.jcr.repository.RepositoryStartupPlugin.startup(RepositoryStartupPlugin.java:323)
 at at.gv.tirol.common.global.Configuration.startupPlugin(Configuration.java:816)
 at at.gv.tirol.common.global.Configuration.newPlugin(Configuration.java:650)
 at at.gv.tirol.common.global.Configuration.getPlugin(Configuration.java:425)
 at at.gv.tirol.common.global.Configuration.getPlugin(Configuration.java:410)
 at at.gv.tirol.common.global.ApplicationContext.getPlugin(ApplicationContext.java:381)
 at at.gv.tirol.common.jcr.client.ClientConnector.getRepository(ClientConnector.java:562)
 at at.gv.tirol.common.jcr.client.ClientConnector.connect(ClientConnector.java:123)
 at at.gv.tirol.common.jcr.client.ClientConnector.main(ClientConnector.java:62)
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)
 at org.apache.lucene.analysis.standard.FastCharStream.refill(FastCharStream.java:68)
 at org.apache.lucene.analysis.standard.FastCharStream.readChar(FastCharStream.java:44)
 at org.apache.lucene.analysis.standard.FastCharStream.BeginToken(FastCharStream.java:78)
 at org.apache.lucene.analysis.standard.StandardTokenizerTokenManager.getNextToken(StandardTokenizerTokenManager.java:1105)
 at org.apache.lucene.analysis.standard.StandardTokenizer.jj_ntk(StandardTokenizer.java:150)
 at org.apache.lucene.analysis.standard.StandardTokenizer.next(StandardTokenizer.java:28)
 at org.apache.lucene.analysis.standard.StandardFilter.next(StandardFilter.java:40)
 at org.apache.lucene.analysis.LowerCaseFilter.next(LowerCaseFilter.java:32)
 at org.apache.lucene.analysis.StopFilter.next(StopFilter.java:98)
 at org.apache.lucene.index.DocumentWriter.invertDocument(DocumentWriter.java:143)
 at org.apache.lucene.index.DocumentWriter.addDocument(DocumentWriter.java:81)
 at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:307)
 at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:294)
 at org.apache.jackrabbit.core.query.lucene.AbstractIndex.addDocument(AbstractIndex.java:129)
 at org.apache.jackrabbit.core.query.lucene.VolatileIndex.commitPending(VolatileIndex.java:164)
 at org.apache.jackrabbit.core.query.lucene.VolatileIndex.commit(VolatileIndex.java:143)
 at org.apache.jackrabbit.core.query.lucene.PersistentIndex.copyIndex(PersistentIndex.java:161)
 at org.apache.jackrabbit.core.query.lucene.MultiIndex$VolatileCommit.execute(MultiIndex.java:1689)
 at org.apache.jackrabbit.core.query.lucene.MultiIndex.executeAndLog(MultiIndex.java:763)
 at org.apache.jackrabbit.core.query.lucene.MultiIndex.commitVolatileIndex(MultiIndex.java:807)
 at org.apache.jackrabbit.core.query.lucene.MultiIndex.flush(MultiIndex.java:683)
 at org.apache.jackrabbit.core.query.lucene.Recovery.run(Recovery.java:159)
 at org.apache.jackrabbit.core.query.lucene.Recovery.run(Recovery.java:84)
 at org.apache.jackrabbit.core.query.lucene.MultiIndex.<init>(MultiIndex.java:261)
 at org.apache.jackrabbit.core.query.lucene.SearchIndex.doInit(SearchIndex.java:218)
 at org.apache.jackrabbit.core.query.AbstractQueryHandler.init(AbstractQueryHandler.java:43)
 at org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(SearchManager.java:529)
 ... 16 more
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)
 at org.apache.lucene.analysis.standard.FastCharStream.refill(FastCharStream.java:68)
 at org.apache.lucene.analysis.standard.FastCharStream.readChar(FastCharStream.java:44)
 at org.apache.lucene.analysis.standard.FastCharStream.BeginToken(FastCharStream.java:78)
 at org.apache.lucene.analysis.standard.StandardTokenizerTokenManager.getNextToken(StandardTokenizerTokenManager.java:1105)
 at org.apache.lucene.analysis.standard.StandardTokenizer.jj_ntk(StandardTokenizer.java:150)
 at org.apache.lucene.analysis.standard.StandardTokenizer.next(StandardTokenizer.java:28)
 at org.apache.lucene.analysis.standard.StandardFilter.next(StandardFilter.java:40)
 at org.apache.lucene.analysis.LowerCaseFilter.next(LowerCaseFilter.java:32)
 at org.apache.lucene.analysis.StopFilter.next(StopFilter.java:98)
 at org.apache.lucene.index.DocumentWriter.invertDocument(DocumentWriter.java:143)
 at org.apache.lucene.index.DocumentWriter.addDocument(DocumentWriter.java:81)
 at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:307)
 at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:294)
 at org.apache.jackrabbit.core.query.lucene.AbstractIndex.addDocument(AbstractIndex.java:129)
 at org.apache.jackrabbit.core.query.lucene.VolatileIndex.commitPending(VolatileIndex.java:164)
 at org.apache.jackrabbit.core.query.lucene.VolatileIndex.commit(VolatileIndex.java:143)
 at org.apache.jackrabbit.core.query.lucene.PersistentIndex.copyIndex(PersistentIndex.java:161)
 at org.apache.jackrabbit.core.query.lucene.MultiIndex$VolatileCommit.execute(MultiIndex.java:1689)
 at org.apache.jackrabbit.core.query.lucene.MultiIndex.executeAndLog(MultiIndex.java:763)
 at org.apache.jackrabbit.core.query.lucene.MultiIndex.commitVolatileIndex(MultiIndex.java:807)
 at org.apache.jackrabbit.core.query.lucene.MultiIndex.flush(MultiIndex.java:683)
 at org.apache.jackrabbit.core.query.lucene.Recovery.run(Recovery.java:159)
 at org.apache.jackrabbit.core.query.lucene.Recovery.run(Recovery.java:84)
 at org.apache.jackrabbit.core.query.lucene.MultiIndex.<init>(MultiIndex.java:261)
 at org.apache.jackrabbit.core.query.lucene.SearchIndex.doInit(SearchIndex.java:218)
 at org.apache.jackrabbit.core.query.AbstractQueryHandler.init(AbstractQueryHandler.java:43)
 at org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(SearchManager.java:529)
 at org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java:273)
 at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager(RepositoryImpl.java:1434)
 at org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.java:540)
 at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:245)
 at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:484)
 at at.gv.tirol.common.jcr.repository.RepositoryStartupPlugin.createRepository(RepositoryStartupPlugin.java:136)
 at at.gv.tirol.common.jcr.repository.RepositoryStartupPlugin.initRepositoryOld(RepositoryStartupPlugin.java:112)
 at at.gv.tirol.common.jcr.repository.RepositoryStartupPlugin.startup(RepositoryStartupPlugin.java:323)
 at at.gv.tirol.common.global.Configuration.startupPlugin(Configuration.java:816)
 at at.gv.tirol.common.global.Configuration.newPlugin(Configuration.java:650)
 at at.gv.tirol.common.global.Configuration.getPlugin(Configuration.java:425)
 at at.gv.tirol.common.global.Configuration.getPlugin(Configuration.java:410)
 at at.gv.tirol.common.global.ApplicationContext.getPlugin(ApplicationContext.java:381)
 at at.gv.tirol.common.jcr.client.ClientConnector.getRepository(ClientConnector.java:562)
 at at.gv.tirol.common.jcr.client.ClientConnector.connect(ClientConnector.java:123)
 at at.gv.tirol.common.jcr.client.ClientConnector.main(ClientConnector.java:62)
14.09.2006 13:35:35 *ERROR* RepositoryImpl: Unable to start repository, forcing shutdown...

14.09.2006 13:35:35 *INFO * RepositoryImpl: Shutting down repository... 
14.09.2006 13:35:35 *INFO * RepositoryImpl: shutting down workspace 'default'... 
14.09.2006 13:35:35 *INFO * ObservationManagerFactory: Notification of EventListeners stopped.

14.09.2006 13:35:35 *INFO * RepositoryImpl: workspace 'default' has been shutdown 
14.09.2006 13:35:35 *INFO * IndexMerger: IndexMerger terminated 
14.09.2006 13:35:35 *INFO * SearchIndex: Index closed: C:\Repo\jackrabbit\repository/repository/index

14.09.2006 13:35:35 *INFO * RepositoryImpl: Repository has been shutdown 



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message