[xwiki-users] ERROR lucene.AttachmentData - NullPointerException
Hello, I tried XE 2.2-SNAPSHOT.27143 and have noticed one new error message in xwiki.log, that was not in XE 2.2 stable release. Deploy xwiki-enterprise-web-2.2-20100218.061341-347.war - OK The message appears on importing default .xar Archive (xwiki-enterprise-wiki-2.2-20100218.061341-348.xar). I tried also snapshot 2749 - with the same effect. 2010-02-19 11:43:54,328 [Lucene Index Updater] ERROR lucene.AttachmentData - error getting content of attachment java.lang.NullPointerException at com.xpn.xwiki.plugin.lucene.AttachmentData.getContentAsText(AttachmentData.java:162) at com.xpn.xwiki.plugin.lucene.AttachmentData.getFullText(AttachmentData.java:145) at com.xpn.xwiki.plugin.lucene.IndexData.addDataToLuceneDocument(IndexData.java:145) at com.xpn.xwiki.plugin.lucene.AttachmentData.addDataToLuceneDocument(AttachmentData.java:80) at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:296) at com.xpn.xwiki.plugin.lucene.IndexUpdater.updateIndex(IndexUpdater.java:237) at com.xpn.xwiki.plugin.lucene.IndexUpdater.runMainLoop(IndexUpdater.java:171) at com.xpn.xwiki.plugin.lucene.IndexUpdater.runInternal(IndexUpdater.java:153) at com.xpn.xwiki.util.AbstractXWikiRunnable.run(AbstractXWikiRunnable.java:99) at java.lang.Thread.run(Unknown Source) is it critical? It didn't occur before. === One more warning in log - it seems to be not very important... 2010-02-19 11:44:06,515 [http://localhost:8080/xwiki/bin/import/XWiki/XWikiPreferences] WARN interwiki.InterWiki - Unable to read conf/intermap.txt == We are working on XE 2.2 + jdk1.6.0_17 + Tomcat + Oracle 10g Best Regards, Alla http://n2.nabble.com/file/n4597247/xwiki.log xwiki.log -- View this message in context: http://n2.nabble.com/ERROR-lucene-AttachmentData-NullPointerException-tp4597... Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello, I don't think it's critical, I also have errors or warnings coming from lucene index updater, when it can't parse a doc or file. Of course it could be useful to know wich attachment it couldn't read, because it could be corrupted in some way. BR, Jeremie 2010/2/19 adoro <[email protected]>
Hello,
I tried XE 2.2-SNAPSHOT.27143 and have noticed one new error message in xwiki.log, that was not in XE 2.2 stable release.
Deploy xwiki-enterprise-web-2.2-20100218.061341-347.war - OK
The message appears on importing default .xar Archive (xwiki-enterprise-wiki-2.2-20100218.061341-348.xar). I tried also snapshot 2749 - with the same effect.
2010-02-19 11:43:54,328 [Lucene Index Updater] ERROR lucene.AttachmentData - error getting content of attachment java.lang.NullPointerException at
com.xpn.xwiki.plugin.lucene.AttachmentData.getContentAsText(AttachmentData.java:162) at
com.xpn.xwiki.plugin.lucene.AttachmentData.getFullText(AttachmentData.java:145) at
com.xpn.xwiki.plugin.lucene.IndexData.addDataToLuceneDocument(IndexData.java:145) at
com.xpn.xwiki.plugin.lucene.AttachmentData.addDataToLuceneDocument(AttachmentData.java:80) at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:296) at com.xpn.xwiki.plugin.lucene.IndexUpdater.updateIndex(IndexUpdater.java:237) at com.xpn.xwiki.plugin.lucene.IndexUpdater.runMainLoop(IndexUpdater.java:171) at com.xpn.xwiki.plugin.lucene.IndexUpdater.runInternal(IndexUpdater.java:153) at com.xpn.xwiki.util.AbstractXWikiRunnable.run(AbstractXWikiRunnable.java:99) at java.lang.Thread.run(Unknown Source)
is it critical? It didn't occur before.
=== One more warning in log - it seems to be not very important...
2010-02-19 11:44:06,515 [http://localhost:8080/xwiki/bin/import/XWiki/XWikiPreferences] WARN interwiki.InterWiki - Unable to read conf/intermap.txt
==
We are working on XE 2.2 + jdk1.6.0_17 + Tomcat + Oracle 10g
Best Regards, Alla
http://n2.nabble.com/file/n4597247/xwiki.log xwiki.log -- View this message in context: http://n2.nabble.com/ERROR-lucene-AttachmentData-NullPointerException-tp4597... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (2)
-
adoro -
Jeremie BOUSQUET