You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "K. W. Holzweißig" <kw...@mail.uni-paderborn.de> on 2009/07/10 19:12:07 UTC
Lucene startup error
Hi folks.
I have written around 5000 pages to the WIKI_PAGE table using an
external application. After having deleted the search index and started
tomcat, JSPWiki is not able to start-up properly. I am receiving the
following error. I guess it is a capacity problem since the whole thing
worked with 2000 articles. Does anybody have an idea?
Thanks Kai
-------
10 19:02:57,921 [JSPWiki Lucene Indexer] INFO
com.ecyrd.jspwiki.search.LuceneSearchProvider - Files found in Lucene
directory, not reindexing.
2009-07-10 19:03:03,608 [JSPWiki Lucene Indexer] INFO
com.ecyrd.jspwiki.PageManager - Repository has been modified externally
while fetching page Konstruktionsstand B Gesamtprodukt vor Berechnung
Gesamtprodukt absichern (EI) > Dokumentation für Berechnung B erstellen (EV)
2009-07-10 19:03:03,608 [JSPWiki Lucene Indexer] ERROR
com.ecyrd.jspwiki.search.LuceneSearchProvider - Unable to start lucene
java.lang.NullPointerException
at com.ecyrd.jspwiki.WikiEngine.updateReferences(WikiEngine.java:1643)
at com.ecyrd.jspwiki.PageManager.getPageText(PageManager.java:258)
at
com.ecyrd.jspwiki.search.LuceneSearchProvider.doFullLuceneReindex(LuceneSearchProvider.java:231)
at
com.ecyrd.jspwiki.search.LuceneSearchProvider$LuceneUpdater.startupTask(LuceneSearchProvider.java:1051)
at
com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:127)
2009-07-10 19:03:04,374 [main] ERROR com.ecyrd.jspwiki.WikiEngine -
NULL pagedata to textToHTML()
Re: Lucene startup error
Posted by Janne Jalkanen <ja...@ecyrd.com>.
It sounds like your external application has written a NULL somewhere
in the page contents column. You could try running a suitable query?
/Janne
On 10 Jul 2009, at 20:12, K. W. Holzweißig wrote:
> Hi folks.
>
> I have written around 5000 pages to the WIKI_PAGE table using an
> external application. After having deleted the search index and
> started tomcat, JSPWiki is not able to start-up properly. I am
> receiving the following error. I guess it is a capacity problem
> since the whole thing worked with 2000 articles. Does anybody have
> an idea?
>
> Thanks Kai
>
> -------
>
> 10 19:02:57,921 [JSPWiki Lucene Indexer] INFO
> com.ecyrd.jspwiki.search.LuceneSearchProvider - Files found in
> Lucene directory, not reindexing.
> 2009-07-10 19:03:03,608 [JSPWiki Lucene Indexer] INFO
> com.ecyrd.jspwiki.PageManager - Repository has been modified
> externally while fetching page Konstruktionsstand B Gesamtprodukt
> vor Berechnung Gesamtprodukt absichern (EI) > Dokumentation für
> Berechnung B erstellen (EV)
> 2009-07-10 19:03:03,608 [JSPWiki Lucene Indexer] ERROR
> com.ecyrd.jspwiki.search.LuceneSearchProvider - Unable to start
> lucene
> java.lang.NullPointerException
> at com.ecyrd.jspwiki.WikiEngine.updateReferences(WikiEngine.java:
> 1643)
> at com.ecyrd.jspwiki.PageManager.getPageText(PageManager.java:258)
> at
> com
> .ecyrd
> .jspwiki
> .search
> .LuceneSearchProvider.doFullLuceneReindex(LuceneSearchProvider.java:
> 231)
> at com.ecyrd.jspwiki.search.LuceneSearchProvider
> $LuceneUpdater.startupTask(LuceneSearchProvider.java:1051)
> at
> com
> .ecyrd
> .jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:127)
> 2009-07-10 19:03:04,374 [main] ERROR com.ecyrd.jspwiki.WikiEngine -
> NULL pagedata to textToHTML()