Details
-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
1.12
-
None
Description
To reproduce:
- Go the admin page, click on Import
- Don't select a file to import but click on upload
- If you don't get the following in the logs, do it a few times more.
2010-01-13 12:35:53,402 [http://localhost:8080/xwiki/bin/upload/XWiki/Import] ERROR lucene.IndexUpdater - invalid parameters given to add: XWiki.Import, null, {grouplist={xwiki:xwiki:XWiki.Admin=[xwiki:XWiki.XWikiAdminGroup, xwiki:XWiki.XWikiAllGroup], xwiki:xwiki:XWiki.XWikiAllGroup=[]}, activitystream_requestid=1557027631-1263382553000-cRzUHOYp, msg=com.xpn.xwiki.web.XWikiMessageTool@7d391b1a, fileuploadlist=[name=null, StoreLocation=/var/folders/qZ/qZEoZikuEvy6RqwxPKwUBE+++TI/-Tmp-/upload__42d05435_12627779b31__8000_00000003.tmp, size=85bytes, isFormField=true, FieldName=xredirect, name=null, StoreLocation=/var/folders/qZ/qZEoZikuEvy6RqwxPKwUBE+++TI/-Tmp-/upload__42d05435_12627779b31__8000_00000004.tmp, size=0bytes, isFormField=true, FieldName=filename, name=, StoreLocation=/var/folders/qZ/qZEoZikuEvy6RqwxPKwUBE+++TI/-Tmp-/upload__42d05435_12627779b31__8000_00000005.tmp, size=0bytes, isFormField=false, FieldName=filepath], language=en, originalWiki=xwiki, tdoc=XWiki.Import, locale=en, ajax=false, doc=XWiki.Import, mainxwiki=xwiki, fileuploadplugin=com.xpn.xwiki.plugin.fileupload.FileUploadPlugin@30228830, vcontext=org.apache.velocity.VelocityContext@2b1b2000, wiki=xwiki} 2010-01-13 12:35:54,784 [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:146) at com.xpn.xwiki.plugin.lucene.AttachmentData.addDataToLuceneDocument(AttachmentData.java:80) at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:285) at com.xpn.xwiki.plugin.lucene.IndexUpdater.updateIndex(IndexUpdater.java:226) at com.xpn.xwiki.plugin.lucene.IndexUpdater.runMainLoop(IndexUpdater.java:162) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:141) at java.lang.Thread.run(Thread.java:637)
Attachments
Issue Links
- duplicates
-
XPLUCENE-70 Use new Attachment*Event events instead of action events to update attachment related indexes
- Closed
- is duplicated by
-
XWIKI-5828 Error in log when importing default XAR in an empty wiki
- Closed