Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-7197

Console errors when importing Workspace XAR

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • 3.3-milestone-2
    • {Unused} Workspaces
    • None
    • workspace xar import exception
    • Low
    • Medium

    Description

      After setting-up MySQL, I get the following stack trace when importing the XEM XAR

      2011-11-28 16:39:30,977 [Lucene Index Updater] WARN  c.x.x.p.l.AttachmentData       - error getting content of attachment [applications.png] for document [name = [AdminSheet], type = [DOCUMENT], parent = [name = [XWiki], type = [SPACE], parent = [name = [xwiki], type = [WIKI], parent = [null]]]] 
      com.xpn.xwiki.XWikiException: Error number 3231 in 3: Exception while loading attachment applications.png of document XWiki.AdminSheet
      Wrapped Exception: No row with the given identifier exists: [com.xpn.xwiki.doc.XWikiAttachmentContent#-1889024297]
      	at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.loadAttachmentContent(XWikiHibernateAttachmentStore.java:225) ~[xwiki-platform-legacy-oldcore-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.doc.XWikiDocument.loadAttachmentContent(XWikiDocument.java:4298) ~[xwiki-platform-legacy-oldcore-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.doc.XWikiAttachment.getContentInputStream(XWikiAttachment.java:545) ~[xwiki-platform-legacy-oldcore-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.AttachmentData.getContentAsText(AttachmentData.java:191) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.AttachmentData.getFullText(AttachmentData.java:167) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.AbstractDocumentData.getFullText(AbstractDocumentData.java:242) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.AbstractDocumentData.addDocumentDataToLuceneDocument(AbstractDocumentData.java:203) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.AbstractDocumentData.addDataToLuceneDocument(AbstractDocumentData.java:144) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.AttachmentData.addDataToLuceneDocument(AttachmentData.java:92) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:283) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.IndexUpdater.updateIndex(IndexUpdater.java:227) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.IndexUpdater.runMainLoop(IndexUpdater.java:173) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.IndexUpdater.runInternal(IndexUpdater.java:158) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.util.AbstractXWikiRunnable.run(AbstractXWikiRunnable.java:110) [xwiki-platform-legacy-oldcore-3.3-milestone-2.jar:na]
      	at java.lang.Thread.run(Thread.java:636) [na:1.6.0_20]
      2011-11-28 16:39:31,147 [Lucene Index Updater] WARN  c.x.x.p.l.AttachmentData       - error getting content of attachment [registration.png] for document [name = [AdminSheet], type = [DOCUMENT], parent = [name = [XWiki], type = [SPACE], parent = [name = [xwiki], type = [WIKI], parent = [null]]]] 
      com.xpn.xwiki.XWikiException: Error number 3231 in 3: Exception while loading attachment registration.png of document XWiki.AdminSheet
      Wrapped Exception: No row with the given identifier exists: [com.xpn.xwiki.doc.XWikiAttachmentContent#-1812508819]
      	at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.loadAttachmentContent(XWikiHibernateAttachmentStore.java:225) ~[xwiki-platform-legacy-oldcore-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.doc.XWikiDocument.loadAttachmentContent(XWikiDocument.java:4298) ~[xwiki-platform-legacy-oldcore-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.doc.XWikiAttachment.getContentInputStream(XWikiAttachment.java:545) ~[xwiki-platform-legacy-oldcore-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.AttachmentData.getContentAsText(AttachmentData.java:191) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.AttachmentData.getFullText(AttachmentData.java:167) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.AbstractDocumentData.getFullText(AbstractDocumentData.java:242) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.AbstractDocumentData.addDocumentDataToLuceneDocument(AbstractDocumentData.java:203) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.AbstractDocumentData.addDataToLuceneDocument(AbstractDocumentData.java:144) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.AttachmentData.addDataToLuceneDocument(AttachmentData.java:92) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:283) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.IndexUpdater.updateIndex(IndexUpdater.java:227) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.IndexUpdater.runMainLoop(IndexUpdater.java:173) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.IndexUpdater.runInternal(IndexUpdater.java:158) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.util.AbstractXWikiRunnable.run(AbstractXWikiRunnable.java:110) [xwiki-platform-legacy-oldcore-3.3-milestone-2.jar:na]
      	at java.lang.Thread.run(Thread.java:636) [na:1.6.0_20]
      2011-11-28 16:39:31,252 [Lucene Index Updater] WARN  c.x.x.p.l.AttachmentData       - error getting content of attachment [users.png] for document [name = [AdminSheet], type = [DOCUMENT], parent = [name = [XWiki], type = [SPACE], parent = [name = [xwiki], type = [WIKI], parent = [null]]]] 
      com.xpn.xwiki.XWikiException: Error number 3231 in 3: Exception while loading attachment users.png of document XWiki.AdminSheet
      Wrapped Exception: No row with the given identifier exists: [com.xpn.xwiki.doc.XWikiAttachmentContent#-1488442518]
      	at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.loadAttachmentContent(XWikiHibernateAttachmentStore.java:225) ~[xwiki-platform-legacy-oldcore-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.doc.XWikiDocument.loadAttachmentContent(XWikiDocument.java:4298) ~[xwiki-platform-legacy-oldcore-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.doc.XWikiAttachment.getContentInputStream(XWikiAttachment.java:545) ~[xwiki-platform-legacy-oldcore-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.AttachmentData.getContentAsText(AttachmentData.java:191) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.AttachmentData.getFullText(AttachmentData.java:167) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.AbstractDocumentData.getFullText(AbstractDocumentData.java:242) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.AbstractDocumentData.addDocumentDataToLuceneDocument(AbstractDocumentData.java:203) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.AbstractDocumentData.addDataToLuceneDocument(AbstractDocumentData.java:144) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.AttachmentData.addDataToLuceneDocument(AttachmentData.java:92) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:283) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.IndexUpdater.updateIndex(IndexUpdater.java:227) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.IndexUpdater.runMainLoop(IndexUpdater.java:173) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.IndexUpdater.runInternal(IndexUpdater.java:158) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.util.AbstractXWikiRunnable.run(AbstractXWikiRunnable.java:110) [xwiki-platform-legacy-oldcore-3.3-milestone-2.jar:na]
      	at java.lang.Thread.run(Thread.java:636) [na:1.6.0_20]
      2011-11-28 16:39:31,363 [Lucene Index Updater] WARN  c.x.x.p.l.AttachmentData       - error getting content of attachment [export.png] for document [name = [AdminSheet], type = [DOCUMENT], parent = [name = [XWiki], type = [SPACE], parent = [name = [xwiki], type = [WIKI], parent = [null]]]] 
      com.xpn.xwiki.XWikiException: Error number 3231 in 3: Exception while loading attachment export.png of document XWiki.AdminSheet
      Wrapped Exception: No row with the given identifier exists: [com.xpn.xwiki.doc.XWikiAttachmentContent#-1132579928]
      	at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.loadAttachmentContent(XWikiHibernateAttachmentStore.java:225) ~[xwiki-platform-legacy-oldcore-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.doc.XWikiDocument.loadAttachmentContent(XWikiDocument.java:4298) ~[xwiki-platform-legacy-oldcore-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.doc.XWikiAttachment.getContentInputStream(XWikiAttachment.java:545) ~[xwiki-platform-legacy-oldcore-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.AttachmentData.getContentAsText(AttachmentData.java:191) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.AttachmentData.getFullText(AttachmentData.java:167) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.AbstractDocumentData.getFullText(AbstractDocumentData.java:242) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.AbstractDocumentData.addDocumentDataToLuceneDocument(AbstractDocumentData.java:203) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.AbstractDocumentData.addDataToLuceneDocument(AbstractDocumentData.java:144) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.AttachmentData.addDataToLuceneDocument(AttachmentData.java:92) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:283) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.IndexUpdater.updateIndex(IndexUpdater.java:227) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.IndexUpdater.runMainLoop(IndexUpdater.java:173) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.IndexUpdater.runInternal(IndexUpdater.java:158) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.util.AbstractXWikiRunnable.run(AbstractXWikiRunnable.java:110) [xwiki-platform-legacy-oldcore-3.3-milestone-2.jar:na]
      	at java.lang.Thread.run(Thread.java:636) [na:1.6.0_20]
      2011-11-28 16:39:31,492 [Lucene Index Updater] WARN  c.x.x.p.l.AttachmentData       - error getting content of attachment [editing.png] for document [name = [AdminSheet], type = [DOCUMENT], parent = [name = [XWiki], type = [SPACE], parent = [name = [xwiki], type = [WIKI], parent = [null]]]] 
      com.xpn.xwiki.XWikiException: Error number 3231 in 3: Exception while loading attachment editing.png of document XWiki.AdminSheet
      Wrapped Exception: No row with the given identifier exists: [com.xpn.xwiki.doc.XWikiAttachmentContent#-742236870]
      	at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.loadAttachmentContent(XWikiHibernateAttachmentStore.java:225) ~[xwiki-platform-legacy-oldcore-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.doc.XWikiDocument.loadAttachmentContent(XWikiDocument.java:4298) ~[xwiki-platform-legacy-oldcore-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.doc.XWikiAttachment.getContentInputStream(XWikiAttachment.java:545) ~[xwiki-platform-legacy-oldcore-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.AttachmentData.getContentAsText(AttachmentData.java:191) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.AttachmentData.getFullText(AttachmentData.java:167) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.AbstractDocumentData.getFullText(AbstractDocumentData.java:242) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.AbstractDocumentData.addDocumentDataToLuceneDocument(AbstractDocumentData.java:203) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.AbstractDocumentData.addDataToLuceneDocument(AbstractDocumentData.java:144) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.AttachmentData.addDataToLuceneDocument(AttachmentData.java:92) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:283) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.IndexUpdater.updateIndex(IndexUpdater.java:227) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.IndexUpdater.runMainLoop(IndexUpdater.java:173) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.plugin.lucene.IndexUpdater.runInternal(IndexUpdater.java:158) [xwiki-platform-search-lucene-3.3-milestone-2.jar:na]
      	at com.xpn.xwiki.util.AbstractXWikiRunnable.run(AbstractXWikiRunnable.java:110) [xwiki-platform-legacy-oldcore-3.3-milestone-2.jar:na]
      	at java.lang.Thread.run(Thread.java:636) [na:1.6.0_20]
      

      Attachments

        Issue Links

          Activity

            People

              enygma Eduard Moraru
              sorinello Sorin Burjan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: