java.lang.NoSuchMethodError: org.w3c.tidy.Tidy.setInputEncoding(Ljava/lang/String;)V

Atlassian JIRA | Matthew Jensen [Atlassian] | 9 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    When attempting PDF export of a space you get this error: {noformat} Exception in thread "Export Space task" java.lang.NoSuchMethodError: org.w3c.tidy.Tidy.setInputEncoding(Ljava/lang/String;)V at com.atlassian.confluence.importexport.impl.WikiExporter.<init>(WikiExporter.java:63) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.createTemplateSupport(AbstractRendererExporterImpl.java:203) at com.atlassian.confluence.importexport.impl.PdfExporter.prepareExportTemplate(PdfExporter.java:75) at com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo(PdfExporter.java:173) at com.atlassian.confluence.importexport.impl.PdfExporter.doExportEntity(PdfExporter.java:97) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.exportSpace(AbstractRendererExporterImpl.java:106) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.doExport(AbstractRendererExporterImpl.java:89) at com.atlassian.confluence.importexport.impl.PdfExporter.doExport(PdfExporter.java:63) at com.atlassian.confluence.importexport.DefaultImportExportManager.exportAs(DefaultImportExportManager.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy60.exportAs(Unknown Source) at com.atlassian.confluence.importexport.actions.ExportSpaceLongRunningTask$1.doInTransactionWithoutResult(ExportSpaceLongRunningTask.java:87) at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:127) at com.atlassian.confluence.importexport.actions.ExportSpaceLongRunningTask.runInternal(ExportSpaceLongRunningTask.java:58) at com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask.run(ConfluenceAbstractLongRunningTask.java:21) at java.lang.Thread.run(Thread.java:619) {noformat}

    Atlassian JIRA | 9 years ago | Matthew Jensen [Atlassian]
    java.lang.NoSuchMethodError: org.w3c.tidy.Tidy.setInputEncoding(Ljava/lang/String;)V
  2. 0

    When attempting PDF export of a space you get this error: {noformat} Exception in thread "Export Space task" java.lang.NoSuchMethodError: org.w3c.tidy.Tidy.setInputEncoding(Ljava/lang/String;)V at com.atlassian.confluence.importexport.impl.WikiExporter.<init>(WikiExporter.java:63) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.createTemplateSupport(AbstractRendererExporterImpl.java:203) at com.atlassian.confluence.importexport.impl.PdfExporter.prepareExportTemplate(PdfExporter.java:75) at com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo(PdfExporter.java:173) at com.atlassian.confluence.importexport.impl.PdfExporter.doExportEntity(PdfExporter.java:97) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.exportSpace(AbstractRendererExporterImpl.java:106) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.doExport(AbstractRendererExporterImpl.java:89) at com.atlassian.confluence.importexport.impl.PdfExporter.doExport(PdfExporter.java:63) at com.atlassian.confluence.importexport.DefaultImportExportManager.exportAs(DefaultImportExportManager.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy60.exportAs(Unknown Source) at com.atlassian.confluence.importexport.actions.ExportSpaceLongRunningTask$1.doInTransactionWithoutResult(ExportSpaceLongRunningTask.java:87) at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:127) at com.atlassian.confluence.importexport.actions.ExportSpaceLongRunningTask.runInternal(ExportSpaceLongRunningTask.java:58) at com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask.run(ConfluenceAbstractLongRunningTask.java:21) at java.lang.Thread.run(Thread.java:619) {noformat}

    Atlassian JIRA | 9 years ago | Matthew Jensen [Atlassian]
    java.lang.NoSuchMethodError: org.w3c.tidy.Tidy.setInputEncoding(Ljava/lang/String;)V
  3. 0

    Grails 2.0.4 deploy on Tomcat6

    Stack Overflow | 5 years ago | Fabiano Taioli
    javax.servlet.ServletException: Filter execution threw an exception
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Grails 2.0.4 deploy on Tomcat6 Tags:[grails tomcat6]

    asquestion.com | 2 years ago
    javax.servlet.ServletException: Filter execution threw an exception
  6. 0

    Grails User (Old Archive) - rendering plugin not working when running war

    nabble.com | 9 months ago
    java.lang.NoSuchMethodError: com.lowagie.text.pdf.BaseFont.getCharBBox(C)[I

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.w3c.tidy.Tidy.setInputEncoding(Ljava/lang/String;)V

      at com.atlassian.confluence.importexport.impl.WikiExporter.<init>()
    2. com.atlassian.confluence
      DefaultImportExportManager.exportAs
      1. com.atlassian.confluence.importexport.impl.WikiExporter.<init>(WikiExporter.java:63)
      2. com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.createTemplateSupport(AbstractRendererExporterImpl.java:203)
      3. com.atlassian.confluence.importexport.impl.PdfExporter.prepareExportTemplate(PdfExporter.java:75)
      4. com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo(PdfExporter.java:173)
      5. com.atlassian.confluence.importexport.impl.PdfExporter.doExportEntity(PdfExporter.java:97)
      6. com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.exportSpace(AbstractRendererExporterImpl.java:106)
      7. com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.doExport(AbstractRendererExporterImpl.java:89)
      8. com.atlassian.confluence.importexport.impl.PdfExporter.doExport(PdfExporter.java:63)
      9. com.atlassian.confluence.importexport.DefaultImportExportManager.exportAs(DefaultImportExportManager.java:112)
      9 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      3 frames
    5. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
      1 frame
    6. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      2 frames
    7. Unknown
      $Proxy60.exportAs
      1. $Proxy60.exportAs(Unknown Source)
      1 frame
    8. com.atlassian.confluence
      ExportSpaceLongRunningTask$1.doInTransactionWithoutResult
      1. com.atlassian.confluence.importexport.actions.ExportSpaceLongRunningTask$1.doInTransactionWithoutResult(ExportSpaceLongRunningTask.java:87)
      1 frame
    9. Spring Tx
      TransactionTemplate.execute
      1. org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33)
      2. org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:127)
      2 frames
    10. com.atlassian.confluence
      ConfluenceAbstractLongRunningTask.run
      1. com.atlassian.confluence.importexport.actions.ExportSpaceLongRunningTask.runInternal(ExportSpaceLongRunningTask.java:58)
      2. com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask.run(ConfluenceAbstractLongRunningTask.java:21)
      2 frames
    11. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame