org.xwiki.officeimporter.OfficeImporterException

Error while initializing office importer velocity bridge.

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web6

  • via Unknown by Sorin Burjan,
  • via GitHub by keberhardt
    ,
  • 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.job.internal.DefaultJobManager.run(DefaultJobManager.java:140)[xwiki-commons-job-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

    We couldn't find other users who have seen this exception.