bucket.core.InfrastructureException: java.lang.NoSuchMethodError: org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Ljava/lang/String;Ljava/io/InputStream;)Lorg/w3c/dom/Document;

Atlassian JIRA | Jens Schumacher | 1 decade ago
  1. 0

    Trying to export a page to PDF when there is a RSS macro used on the page causes exception. copy the following to a page and try to export: ----- RSS {rss:url=http://blogomir.rave.ac.uk/blojsom/blog/aggregator/?flavor=rss2|max=5} ----- you will get the following exception: Cause: bucket.core.InfrastructureException: java.lang.NoSuchMethodError: org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Ljava/lang/String;Ljava/io/InputStream;)Lorg/w3c/dom/Document; Stack Trace: [hide] bucket.core.InfrastructureException: java.lang.NoSuchMethodError: org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Ljava/lang/String;Ljava/io/InputStream;)Lorg/w3c/dom/Document; at com.atlassian.confluence.util.XWorkTransactionInterceptor.intercept(XWorkTransactionInterceptor.java:151) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:115) at com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:229) at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:199) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) at com.atlassian.confluence.util.profiling.ProfilingPageFilter.parsePage(ProfilingPageFilter.java:150) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:168) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:181) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:96) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170) at bucket.custom.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:30) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:73) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:132) at com.atlassian.confluence.util.error.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:27) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.core.filters.gzip.GzipFilter.doFilter(GzipFilter.java:61) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:36) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.caucho.server.http.Invocation.service(Invocation.java:315) at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246) at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:164) at com.caucho.server.TcpConnection.run(TcpConnection.java:139) at java.lang.Thread.run(Thread.java:534) Caused by: java.lang.NoSuchMethodError: org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Ljava/lang/String;Ljava/io/InputStream;)Lorg/w3c/dom/Document; at org.apache.fop.image.analyser.SVGReader.loadImage(SVGReader.java:101) at org.apache.fop.image.analyser.SVGReader.verifySignature(SVGReader.java:85) at org.apache.fop.image.analyser.ImageReaderFactory.Make(ImageReaderFactory.java:129) at org.apache.fop.image.FopImageFactory.Make(FopImageFactory.java:181) at org.apache.fop.fo.flow.ExternalGraphic.layout(ExternalGraphic.java:188) at org.apache.fop.fo.flow.BasicLink.layout(BasicLink.java:178) at org.apache.fop.fo.flow.Block.layout(Block.java:257) at org.apache.fop.fo.flow.TableCell.layout(TableCell.java:326) at org.apache.fop.fo.flow.TableRow.layout(TableRow.java:360) at org.apache.fop.fo.flow.AbstractTableBody.layout(AbstractTableBody.java:236) at org.apache.fop.fo.flow.Table.layout(Table.java:302) at org.apache.fop.fo.flow.Block.layout(Block.java:257) at org.apache.fop.fo.flow.Block.layout(Block.java:257) at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:154) at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:110) at org.apache.fop.fo.pagination.PageSequence.makePage(PageSequence.java:400) at org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:338) at org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:262) at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:223) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.fop.apps.Driver.render(Driver.java:498) at org.apache.fop.apps.Driver.run(Driver.java:565) at com.atlassian.confluence.importexport.impl.PdfExporter.generatePDF(PdfExporter.java:193) at com.atlassian.confluence.importexport.impl.PdfExporter.doExportEntity(PdfExporter.java:153) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.exportPage(AbstractRendererExporterImpl.java:143) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.doExport(AbstractRendererExporterImpl.java:109) at com.atlassian.confluence.importexport.impl.PdfExporter.doExport(PdfExporter.java:83) at com.atlassian.confluence.importexport.DefaultImportExportManager.exportAs(DefaultImportExportManager.java:113) 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:324)

    Atlassian JIRA | 1 decade ago | Jens Schumacher
    bucket.core.InfrastructureException: java.lang.NoSuchMethodError: org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Ljava/lang/String;Ljava/io/InputStream;)Lorg/w3c/dom/Document;
  2. 0

    Trying to export a page to PDF when there is a RSS macro used on the page causes exception. copy the following to a page and try to export: ----- RSS {rss:url=http://blogomir.rave.ac.uk/blojsom/blog/aggregator/?flavor=rss2|max=5} ----- you will get the following exception: Cause: bucket.core.InfrastructureException: java.lang.NoSuchMethodError: org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Ljava/lang/String;Ljava/io/InputStream;)Lorg/w3c/dom/Document; Stack Trace: [hide] bucket.core.InfrastructureException: java.lang.NoSuchMethodError: org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Ljava/lang/String;Ljava/io/InputStream;)Lorg/w3c/dom/Document; at com.atlassian.confluence.util.XWorkTransactionInterceptor.intercept(XWorkTransactionInterceptor.java:151) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:115) at com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:229) at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:199) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) at com.atlassian.confluence.util.profiling.ProfilingPageFilter.parsePage(ProfilingPageFilter.java:150) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:168) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:181) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:96) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170) at bucket.custom.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:30) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:73) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:132) at com.atlassian.confluence.util.error.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:27) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.core.filters.gzip.GzipFilter.doFilter(GzipFilter.java:61) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:36) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.caucho.server.http.Invocation.service(Invocation.java:315) at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246) at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:164) at com.caucho.server.TcpConnection.run(TcpConnection.java:139) at java.lang.Thread.run(Thread.java:534) Caused by: java.lang.NoSuchMethodError: org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Ljava/lang/String;Ljava/io/InputStream;)Lorg/w3c/dom/Document; at org.apache.fop.image.analyser.SVGReader.loadImage(SVGReader.java:101) at org.apache.fop.image.analyser.SVGReader.verifySignature(SVGReader.java:85) at org.apache.fop.image.analyser.ImageReaderFactory.Make(ImageReaderFactory.java:129) at org.apache.fop.image.FopImageFactory.Make(FopImageFactory.java:181) at org.apache.fop.fo.flow.ExternalGraphic.layout(ExternalGraphic.java:188) at org.apache.fop.fo.flow.BasicLink.layout(BasicLink.java:178) at org.apache.fop.fo.flow.Block.layout(Block.java:257) at org.apache.fop.fo.flow.TableCell.layout(TableCell.java:326) at org.apache.fop.fo.flow.TableRow.layout(TableRow.java:360) at org.apache.fop.fo.flow.AbstractTableBody.layout(AbstractTableBody.java:236) at org.apache.fop.fo.flow.Table.layout(Table.java:302) at org.apache.fop.fo.flow.Block.layout(Block.java:257) at org.apache.fop.fo.flow.Block.layout(Block.java:257) at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:154) at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:110) at org.apache.fop.fo.pagination.PageSequence.makePage(PageSequence.java:400) at org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:338) at org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:262) at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:223) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.fop.apps.Driver.render(Driver.java:498) at org.apache.fop.apps.Driver.run(Driver.java:565) at com.atlassian.confluence.importexport.impl.PdfExporter.generatePDF(PdfExporter.java:193) at com.atlassian.confluence.importexport.impl.PdfExporter.doExportEntity(PdfExporter.java:153) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.exportPage(AbstractRendererExporterImpl.java:143) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.doExport(AbstractRendererExporterImpl.java:109) at com.atlassian.confluence.importexport.impl.PdfExporter.doExport(PdfExporter.java:83) at com.atlassian.confluence.importexport.DefaultImportExportManager.exportAs(DefaultImportExportManager.java:113) 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:324)

    Atlassian JIRA | 1 decade ago | Jens Schumacher
    bucket.core.InfrastructureException: java.lang.NoSuchMethodError: org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Ljava/lang/String;Ljava/io/InputStream;)Lorg/w3c/dom/Document;
  3. 0

    fo:external-graphic issue

    Stack Overflow | 3 years ago | mlorika
    java.lang.NoSuchMethodError: org.apache.batik.dom.svg.SAXSVGDocumentFactory.createSVGDocument(Ljava/lang/String;Ljava/io/InputStream;)Lorg/w3c/dom/svg/SVGDocument;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NoSuchMethodError/NullPointerException with Lotus Notes 6

    xmlgraphics-batik-users | 1 decade ago | Karl_Larsson@salvationarmy.org
    java.lang.NoSuchMethodError: org.w3c.dom.DOMImplementation: method createDocument(Ljava/lang/String;Ljava/lang/String;Lorg/w3c/dom/DocumentType;)Lorg/w3c/dom/Document; not found
  6. 0

    text.xml.batik.user - RE: NoSuchMethodError/NullPointerException with Lotus Notes 6 - msg#00019 - Recent Discussion OSDir.com

    osdir.com | 1 year ago
    java.lang.NoSuchMethodError: org.w3c.dom.DOMImplementation: method createDocument(Ljava/lang/String;Ljava/lang/String;Lorg/w3c/dom/DocumentType;)Lorg/w3c/dom/Document; not found

    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.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Ljava/lang/String;Ljava/io/InputStream;)Lorg/w3c/dom/Document;

      at org.apache.fop.image.analyser.SVGReader.loadImage()
    2. org.apache.batik.pdf_1.6.0.v201105071520.jar
      FopImageFactory.Make
      1. org.apache.fop.image.analyser.SVGReader.loadImage(SVGReader.java:101)
      2. org.apache.fop.image.analyser.SVGReader.verifySignature(SVGReader.java:85)
      3. org.apache.fop.image.analyser.ImageReaderFactory.Make(ImageReaderFactory.java:129)
      4. org.apache.fop.image.FopImageFactory.Make(FopImageFactory.java:181)
      4 frames
    3. Apache FOP
      FOTreeBuilder.endElement
      1. org.apache.fop.fo.flow.ExternalGraphic.layout(ExternalGraphic.java:188)
      2. org.apache.fop.fo.flow.BasicLink.layout(BasicLink.java:178)
      3. org.apache.fop.fo.flow.Block.layout(Block.java:257)
      4. org.apache.fop.fo.flow.TableCell.layout(TableCell.java:326)
      5. org.apache.fop.fo.flow.TableRow.layout(TableRow.java:360)
      6. org.apache.fop.fo.flow.AbstractTableBody.layout(AbstractTableBody.java:236)
      7. org.apache.fop.fo.flow.Table.layout(Table.java:302)
      8. org.apache.fop.fo.flow.Block.layout(Block.java:257)
      9. org.apache.fop.fo.flow.Block.layout(Block.java:257)
      10. org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:154)
      11. org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:110)
      12. org.apache.fop.fo.pagination.PageSequence.makePage(PageSequence.java:400)
      13. org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:338)
      14. org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:262)
      15. org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:223)
      15 frames
    4. Xerces2-j
      AbstractSAXParser.parse
      1. org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
      2. org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
      3. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      4. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      5. org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
      6. org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
      7. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      8. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      8 frames
    5. Apache FOP
      Driver.run
      1. org.apache.fop.apps.Driver.render(Driver.java:498)
      2. org.apache.fop.apps.Driver.run(Driver.java:565)
      2 frames
    6. com.atlassian.confluence
      DefaultImportExportManager.exportAs
      1. com.atlassian.confluence.importexport.impl.PdfExporter.generatePDF(PdfExporter.java:193)
      2. com.atlassian.confluence.importexport.impl.PdfExporter.doExportEntity(PdfExporter.java:153)
      3. com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.exportPage(AbstractRendererExporterImpl.java:143)
      4. com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.doExport(AbstractRendererExporterImpl.java:109)
      5. com.atlassian.confluence.importexport.impl.PdfExporter.doExport(PdfExporter.java:83)
      6. com.atlassian.confluence.importexport.DefaultImportExportManager.exportAs(DefaultImportExportManager.java:113)
      6 frames
    7. 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:324)
      4 frames