org.xwiki.officeimporter.OfficeImporterException

Error while initializing office importer velocity bridge.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web6

  • via XWiki.org JIRA by Sorin Burjan, 10 months ago
    Error while initializing office importer velocity bridge.
  • via XWiki.org JIRA by intertesto, 10 months ago
    Error while converting document [test.odp] into html. at org.xwiki.officeimporter.internal.builder.DefaultPresentationBuilder.importPresentation(DefaultPresentationBuilder.java:145) ~[x wiki-platform-office-importer-3.2.jar:na] ....
  • via XWiki.org JIRA by Anca Luca, 10 months ago
    Error while converting document [annotations.odp] into html.
  • Stack trace

    • org.xwiki.officeimporter.OfficeImporterException: Error while initializing office importer velocity bridge. at org.xwiki.officeimporter.OfficeImporterVelocityBridge.<init>(OfficeImporterVelocityBridge.java:72)[xwiki-platform-legacy-office-importer-4.3-milestone-1.jar:na] at org.xwiki.officeimporter.internal.OfficeImporterVelocityContextInitializer.initialize(OfficeImporterVelocityContextInitializer.java:66)[xwiki-platform-legacy-office-importer-4.3-milestone-1.jar:na] at org.xwiki.velocity.internal.DefaultVelocityContextFactory.createContext(DefaultVelocityContextFactory.java:107)[xwiki-commons-velocity-4.3-milestone-1.jar:na] at org.xwiki.velocity.internal.VelocityExecutionContextInitializer.initialize(VelocityExecutionContextInitializer.java:63)[xwiki-commons-velocity-4.3-milestone-1.jar:na] at org.xwiki.context.internal.DefaultExecutionContextManager.initialize(DefaultExecutionContextManager.java:141)[xwiki-commons-context-4.3-milestone-1.jar:na] at org.xwiki.extension.distribution.internal.DefaultDistributionManager$1.run(DefaultDistributionManager.java:160)[xwiki-platform-extension-distribution-4.3-milestone-1.jar:na] at java.lang.Thread.run(Thread.java:722)[na:1.7.0_07] Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to lookup component [org.xwiki.officeimporter.internal.script.OfficeImporterScriptService] identifier by [role = [interface org.xwiki.script.service.ScriptService] hint = [officeimporter]] at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:348)[xwiki-commons-legacy-component-default-4.3-milestone-1.jar:na] at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:161)[xwiki-commons-legacy-component-default-4.3-milestone-1.jar:na] at org.xwiki.officeimporter.OfficeImporterVelocityBridge.<init>(OfficeImporterVelocityBridge.java:70)[xwiki-platform-legacy-office-importer-4.3-milestone-1.jar:na] ... 6 more Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to lookup component [org.xwiki.officeimporter.internal.builder.DefaultXHTMLOfficeDocumentBuilder] identifier by [role = [interface org.xwiki.officeimporter.builder.XHTMLOfficeDocumentBuilder] hint = [default]] at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:348)[xwiki-commons-legacy-component-default-4.3-milestone-1.jar:na] at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:161)[xwiki-commons-legacy-component-default-4.3-milestone-1.jar:na] at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:312)[xwiki-commons-legacy-component-default-4.3-milestone-1.jar:na] at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:378)[xwiki-commons-legacy-component-default-4.3-milestone-1.jar:na] at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:346)[xwiki-commons-legacy-component-default-4.3-milestone-1.jar:na] ... 8 more Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to lookup component [org.xwiki.officeimporter.internal.cleaner.OpenOfficeHTMLCleaner] identifier by [role = [interface org.xwiki.xml.html.HTMLCleaner] hint = [openoffice]] at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:348)[xwiki-commons-legacy-component-default-4.3-milestone-1.jar:na] at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:161)[xwiki-commons-legacy-component-default-4.3-milestone-1.jar:na] at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:312)[xwiki-commons-legacy-component-default-4.3-milestone-1.jar:na] at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:378)[xwiki-commons-legacy-component-default-4.3-milestone-1.jar:na] at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:346)[xwiki-commons-legacy-component-default-4.3-milestone-1.jar:na] ... 12 more Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to lookup component [org.xwiki.xml.internal.html.DefaultHTMLCleaner] identifier by [role = [interface org.xwiki.xml.html.HTMLCleaner] hint = [default]] at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:348)[xwiki-commons-legacy-component-default-4.3-milestone-1.jar:na] at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:161)[xwiki-commons-legacy-component-default-4.3-milestone-1.jar:na] at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:312)[xwiki-commons-legacy-component-default-4.3-milestone-1.jar:na] at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:378)[xwiki-commons-legacy-component-default-4.3-milestone-1.jar:na] at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:346)[xwiki-commons-legacy-component-default-4.3-milestone-1.jar:na] ... 16 more Caused by: java.lang.NoSuchMethodError: org.apache.xpath.XPathContext.<init>(Z)V at org.apache.xpath.jaxp.XPathImpl.eval(XPathImpl.java:207)[xalan-2.7.1.jar:na] at org.apache.xpath.jaxp.XPathImpl.evaluate(XPathImpl.java:281)[xalan-2.7.1.jar:na] at org.xwiki.xml.internal.html.filter.AttributeFilter.filter(AttributeFilter.java:91)[xwiki-commons-xml-4.3-milestone-1.jar:na] at org.xwiki.xml.internal.html.DefaultHTMLCleaner.clean(DefaultHTMLCleaner.java:173)[xwiki-commons-xml-4.3-milestone-1.jar:na] at org.xwiki.xml.internal.html.DefaultHTMLCleaner.clean(DefaultHTMLCleaner.java:120)[xwiki-commons-xml-4.3-milestone-1.jar:na] at org.xwiki.xml.internal.html.DefaultHTMLCleaner.initialize(DefaultHTMLCleaner.java:114)[xwiki-commons-xml-4.3-milestone-1.jar:na] at org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)[xwiki-commons-legacy-component-default-4.3-milestone-1.jar:na] at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:323)[xwiki-commons-legacy-component-default-4.3-milestone-1.jar:na] at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:378)[xwiki-commons-legacy-component-default-4.3-milestone-1.jar:na] at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:346)[xwiki-commons-legacy-component-default-4.3-milestone-1.jar:na] ... 20 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.