eu.europa.ec.markt.dss.exception.DSSException: org.apache.pdfbox.exceptions.COSVisitorException: java.io.IOException: Can't write signature, not enough space

europa.eu | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    DSS 4.4 error in creating or extending PAdES | Joinup

    europa.eu | 7 months ago
    eu.europa.ec.markt.dss.exception.DSSException: org.apache.pdfbox.exceptions.COSVisitorException: java.io.IOException: Can't write signature, not enough space

    1 unregistered visitors

    Root Cause Analysis

    1. java.io.IOException

      Can't write signature, not enough space

      at org.apache.pdfbox.pdfwriter.COSWriter.doWriteSignature()
    2. Apache PDFBox
      PDDocument.saveIncremental
      1. org.apache.pdfbox.pdfwriter.COSWriter.doWriteSignature(COSWriter.java:773)[pdfbox-1.8.8.jar:na]
      2. org.apache.pdfbox.pdfwriter.COSWriter.visitFromDocument(COSWriter.java:1162)[pdfbox-1.8.8.jar:na]
      3. org.apache.pdfbox.cos.COSDocument.accept(COSDocument.java:578)[pdfbox-1.8.8.jar:na]
      4. org.apache.pdfbox.pdfwriter.COSWriter.write(COSWriter.java:1516)[pdfbox-1.8.8.jar:na]
      5. org.apache.pdfbox.pdmodel.PDDocument.saveIncremental(PDDocument.java:1397)[pdfbox-1.8.8.jar:na]
      5 frames
    3. eu.europa.ec
      SignatureServiceImpl.signDocument
      1. eu.europa.ec.markt.dss.signature.pdf.pdfbox.PdfBoxSignatureService.saveDocumentIncrementally(PdfBoxSignatureService.java:245)[dss-document-4.4.RC2.jar:na]
      2. eu.europa.ec.markt.dss.signature.pdf.pdfbox.PdfBoxSignatureService.signDocumentAndReturnDigest(PdfBoxSignatureService.java:172)[dss-document-4.4.RC2.jar:na]
      3. eu.europa.ec.markt.dss.signature.pdf.pdfbox.PdfBoxSignatureService.sign(PdfBoxSignatureService.java:128)[dss-document-4.4.RC2.jar:na]
      4. eu.europa.ec.markt.dss.signature.pades.PAdESService.signDocument(PAdESService.java:149)[dss-document-4.4.RC2.jar:na]
      5. eu.europa.ec.markt.dss.ws.impl.SignatureServiceImpl.signDocument(SignatureServiceImpl.java:385)[dss-webservices-4.4.RC2.jar:na]
      5 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_31]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_31]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_31]
      4. java.lang.reflect.Method.invoke(Method.java:483)[na:1.8.0_31]
      4 frames
    5. Apache CXF Core
      AbstractInvoker.invoke
      1. org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:188)[cxf-api-2.7.13.jar:2.7.13]
      2. org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:104)[cxf-api-2.7.13.jar:2.7.13]
      2 frames
    6. Apache CXF Runtime JAX-WS Frontend
      JAXWSMethodInvoker.invoke
      1. org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.invoke(AbstractJAXWSMethodInvoker.java:237)[cxf-rt-frontend-jaxws-2.7.13.jar:2.7.13]
      2. org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:69)[cxf-rt-frontend-jaxws-2.7.13.jar:2.7.13]
      2 frames
    7. Apache CXF Core
      ServiceInvokerInterceptor$1.run
      1. org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:75)[cxf-api-2.7.13.jar:2.7.13]
      2. org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)[cxf-api-2.7.13.jar:2.7.13]
      2 frames
    8. Java RT
      FutureTask.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[na:1.8.0_31]
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_31]
      2 frames
    9. Apache CXF Core
      ChainInitiationObserver.onMessage
      1. org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)[cxf-api-2.7.13.jar:2.7.13]
      2. org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:107)[cxf-api-2.7.13.jar:2.7.13]
      3. org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)[cxf-api-2.7.13.jar:2.7.13]
      4. org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)[cxf-api-2.7.13.jar:2.7.13]
      4 frames
    10. Apache CXF Runtime HTTP Transport
      AbstractHTTPServlet.doPost
      1. org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:241)[cxf-rt-transports-http-2.7.13.jar:2.7.13]
      2. org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:248)[cxf-rt-transports-http-2.7.13.jar:2.7.13]
      3. org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:222)[cxf-rt-transports-http-2.7.13.jar:2.7.13]
      4. org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:153)[cxf-rt-transports-http-2.7.13.jar:2.7.13]
      5. org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:171)[cxf-rt-transports-http-2.7.13.jar:2.7.13]
      6. org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:286)[cxf-rt-transports-http-2.7.13.jar:2.7.13]
      7. org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:206)[cxf-rt-transports-http-2.7.13.jar:2.7.13]
      7 frames
    11. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:643)[servlet-api.jar:na]
      1 frame
    12. Apache CXF Runtime HTTP Transport
      AbstractHTTPServlet.service
      1. org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:262)[cxf-rt-transports-http-2.7.13.jar:2.7.13]
      1 frame
    13. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)[catalina.jar:6.0.43]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:6.0.43]
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)[catalina.jar:6.0.43]
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)[catalina.jar:6.0.43]
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)[catalina.jar:6.0.43]
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)[catalina.jar:6.0.43]
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)[catalina.jar:6.0.43]
      8. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)[catalina.jar:6.0.43]
      9. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)[catalina.jar:6.0.43]
      9 frames
    14. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)[tomcat-coyote.jar:6.0.43]
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)[tomcat-coyote.jar:6.0.43]
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)[tomcat-coyote.jar:6.0.43]
      3 frames
    15. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_31]
      1 frame