eu.europa.ec.markt.dss.exception.DSSException

org.apache.pdfbox.exceptions.COSVisitorException: java.io.IOException: Can't write signature, not enough space

Samebug tips0

There are no available Samebug tips.

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

Solutions on the web1

  • via by Unknown author,
  • Stack trace

    • eu.europa.ec.markt.dss.exception.DSSException: org.apache.pdfbox.exceptions.COSVisitorException: java.io.IOException: Can't write signature, not enough space at eu.europa.ec.markt.dss.signature.pdf.pdfbox.PdfBoxSignatureService.saveDocumentIncrementally(PdfBoxSignatureService.java:249)[dss-document-4.4.RC2.jar:na] at eu.europa.ec.markt.dss.signature.pdf.pdfbox.PdfBoxSignatureService.signDocumentAndReturnDigest(PdfBoxSignatureService.java:172)[dss-document-4.4.RC2.jar:na] at eu.europa.ec.markt.dss.signature.pdf.pdfbox.PdfBoxSignatureService.sign(PdfBoxSignatureService.java:128)[dss-document-4.4.RC2.jar:na] at eu.europa.ec.markt.dss.signature.pades.PAdESService.signDocument(PAdESService.java:149)[dss-document-4.4.RC2.jar:na] at eu.europa.ec.markt.dss.ws.impl.SignatureServiceImpl.signDocument(SignatureServiceImpl.java:385)[dss-webservices-4.4.RC2.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_31] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_31] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_31] at java.lang.reflect.Method.invoke(Method.java:483)[na:1.8.0_31] at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:188)[cxf-api-2.7.13.jar:2.7.13] at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:104)[cxf-api-2.7.13.jar:2.7.13] at org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.invoke(AbstractJAXWSMethodInvoker.java:237)[cxf-rt-frontend-jaxws-2.7.13.jar:2.7.13] at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:69)[cxf-rt-frontend-jaxws-2.7.13.jar:2.7.13] at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:75)[cxf-api-2.7.13.jar:2.7.13] at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)[cxf-api-2.7.13.jar:2.7.13] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[na:1.8.0_31] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_31] at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)[cxf-api-2.7.13.jar:2.7.13] at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:107)[cxf-api-2.7.13.jar:2.7.13] at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)[cxf-api-2.7.13.jar:2.7.13] at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)[cxf-api-2.7.13.jar:2.7.13] at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:241)[cxf-rt-transports-http-2.7.13.jar:2.7.13] at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:248)[cxf-rt-transports-http-2.7.13.jar:2.7.13] at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:222)[cxf-rt-transports-http-2.7.13.jar:2.7.13] at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:153)[cxf-rt-transports-http-2.7.13.jar:2.7.13] at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:171)[cxf-rt-transports-http-2.7.13.jar:2.7.13] at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:286)[cxf-rt-transports-http-2.7.13.jar:2.7.13] at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:206)[cxf-rt-transports-http-2.7.13.jar:2.7.13] at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)[servlet-api.jar:na] at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:262)[cxf-rt-transports-http-2.7.13.jar:2.7.13] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)[catalina.jar:6.0.43] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:6.0.43] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)[catalina.jar:6.0.43] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)[catalina.jar:6.0.43] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)[catalina.jar:6.0.43] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)[catalina.jar:6.0.43] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)[catalina.jar:6.0.43] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)[catalina.jar:6.0.43] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)[catalina.jar:6.0.43] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)[tomcat-coyote.jar:6.0.43] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)[tomcat-coyote.jar:6.0.43] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)[tomcat-coyote.jar:6.0.43] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_31] Caused by: org.apache.pdfbox.exceptions.COSVisitorException: java.io.IOException: Can't write signature, not enough space at org.apache.pdfbox.pdfwriter.COSWriter.visitFromDocument(COSWriter.java:1169)[pdfbox-1.8.8.jar:na] at org.apache.pdfbox.cos.COSDocument.accept(COSDocument.java:578)[pdfbox-1.8.8.jar:na] at org.apache.pdfbox.pdfwriter.COSWriter.write(COSWriter.java:1516)[pdfbox-1.8.8.jar:na] at org.apache.pdfbox.pdmodel.PDDocument.saveIncremental(PDDocument.java:1397)[pdfbox-1.8.8.jar:na] at eu.europa.ec.markt.dss.signature.pdf.pdfbox.PdfBoxSignatureService.saveDocumentIncrementally(PdfBoxSignatureService.java:245)[dss-document-4.4.RC2.jar:na] ... 42 more Caused by: java.io.IOException: Can't write signature, not enough space at org.apache.pdfbox.pdfwriter.COSWriter.doWriteSignature(COSWriter.java:773)[pdfbox-1.8.8.jar:na] at org.apache.pdfbox.pdfwriter.COSWriter.visitFromDocument(COSWriter.java:1162)[pdfbox-1.8.8.jar:na] ... 46 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.

    No Bugmate found.