#29677

Hello,

we suffer from the same issue in PD4ML 3.9.5. We try to merge two or more PDF files both/all created with PD4ML. It seems that this issue was introduced in PD4ML 3.9.4 or 3.9.5. With PD4ML 3.9.3 it works. I didn’t try 3.9.4 because in the release notes you mentioned changes in PDF merge logic. So I suppose version 3.9.4 is also corrupted.

Kind regards,
Norman Seidel

This is what PD4ML logs in debug mode:
2015-05-28 15:53:33,425 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 0 0 conversion begin<br /> 2015-05-28 15:53:33,434 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 9 4 html parsed<br /> 2015-05-28 15:53:33,443 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 18 16 document tree structure built<br /> 2015-05-28 15:53:33,446 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 20 16 layouting...<br /> 2015-05-28 15:53:33,447 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 22 17 layouting...<br /> 2015-05-28 15:53:33,447 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 22 18 layouting...<br /> 2015-05-28 15:53:33,448 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 23 19 layouting...<br /> 2015-05-28 15:53:33,448 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 23 20 layouting...<br /> 2015-05-28 15:53:33,449 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 24 21 layouting...<br /> 2015-05-28 15:53:33,449 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 24 22 layouting...<br /> 2015-05-28 15:53:33,449 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 24 23 layouting...<br /> 2015-05-28 15:53:33,450 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 25 24 layouting...<br /> 2015-05-28 15:53:33,450 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 25 25 layouting...<br /> 2015-05-28 15:53:33,451 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 26 26 layouting...<br /> 2015-05-28 15:53:33,451 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 26 27 layouting...<br /> 2015-05-28 15:53:33,451 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 26 28 layouting...<br /> 2015-05-28 15:53:33,452 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 27 29 layouting...<br /> 2015-05-28 15:53:33,452 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 27 30 layouting...<br /> 2015-05-28 15:53:33,453 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 28 31 layouting...<br /> 2015-05-28 15:53:33,453 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 28 32 layouting...<br /> 2015-05-28 15:53:33,454 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 29 33 layouting...<br /> 2015-05-28 15:53:33,454 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 29 34 layouting...<br /> 2015-05-28 15:53:33,454 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 29 35 layouting...<br /> 2015-05-28 15:53:33,455 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 30 36 layouting...<br /> 2015-05-28 15:53:33,455 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 30 37 layouting...<br /> 2015-05-28 15:53:33,455 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 30 38 layouting...<br /> 2015-05-28 15:53:33,456 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 31 39 layouting...<br /> 2015-05-28 15:53:33,456 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 31 40 layouting...<br /> 2015-05-28 15:53:33,456 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 31 41 layouting...<br /> 2015-05-28 15:53:33,457 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 32 42 layouting...<br /> 2015-05-28 15:53:33,457 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 32 43 layouting...<br /> 2015-05-28 15:53:33,458 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 32 44 layouting...<br /> 2015-05-28 15:53:33,458 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 33 45 layouting...<br /> 2015-05-28 15:53:33,458 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 33 46 layouting...<br /> 2015-05-28 15:53:33,459 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 34 47 layouting...<br /> 2015-05-28 15:53:33,460 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 35 48 layouting...<br /> 2015-05-28 15:53:33,460 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 35 49 layouting...<br /> 2015-05-28 15:53:33,460 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 35 50 layouting...<br /> 2015-05-28 15:53:33,461 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 36 51 layouting...<br /> 2015-05-28 15:53:33,461 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 36 52 layouting...<br /> 2015-05-28 15:53:33,461 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 36 53 layouting...<br /> 2015-05-28 15:53:33,462 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 37 54 layouting...<br /> 2015-05-28 15:53:33,462 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 37 55 layouting...<br /> 2015-05-28 15:53:33,462 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 37 56 layouting...<br /> 2015-05-28 15:53:33,463 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 38 57 layouting...<br /> 2015-05-28 15:53:33,463 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 38 58 layouting...<br /> 2015-05-28 15:53:33,463 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 38 59 layouting...<br /> 2015-05-28 15:53:33,463 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 38 60 layouting...<br /> 2015-05-28 15:53:33,464 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 39 61 layouting...<br /> 2015-05-28 15:53:33,464 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 39 62 layouting...<br /> 2015-05-28 15:53:33,464 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 39 63 layouting...<br /> 2015-05-28 15:53:33,465 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 40 64 layouting...<br /> 2015-05-28 15:53:33,465 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 40 65 layouting...<br /> 2015-05-28 15:53:33,465 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 40 66 layouting...<br /> 2015-05-28 15:53:33,466 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 41 67 layouting...<br /> 2015-05-28 15:53:33,466 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 41 68 layouting...<br /> 2015-05-28 15:53:33,466 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 41 69 layouting...<br /> 2015-05-28 15:53:33,467 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 42 70 layouting...<br /> 2015-05-28 15:53:33,467 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 42 71 layouting...<br /> 2015-05-28 15:53:33,467 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 42 72 layouting...<br /> 2015-05-28 15:53:33,467 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 42 73 layouting...<br /> 2015-05-28 15:53:33,468 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 43 74 layouting...<br /> 2015-05-28 15:53:33,468 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 43 75 layouting...<br /> 2015-05-28 15:53:33,468 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 43 76 layouting...<br /> 2015-05-28 15:53:33,468 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 43 77 layouting...<br /> 2015-05-28 15:53:33,469 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 44 78 layouting...<br /> 2015-05-28 15:53:33,469 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 44 79 layouting...<br /> 2015-05-28 15:53:33,469 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 44 80 layouting...<br /> 2015-05-28 15:53:33,469 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 44 81 layouting...<br /> 2015-05-28 15:53:33,470 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 45 82 layouting...<br /> 2015-05-28 15:53:33,470 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 45 83 layouting...<br /> 2015-05-28 15:53:33,470 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 45 84 layouting...<br /> 2015-05-28 15:53:33,471 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 46 85 layouting...<br /> 2015-05-28 15:53:33,471 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 46 86 layouting...<br /> 2015-05-28 15:53:33,471 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 46 87 layouting...<br /> 2015-05-28 15:53:33,471 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 46 88 layouting...<br /> 2015-05-28 15:53:33,472 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 47 89 layouting...<br /> 2015-05-28 15:53:33,472 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 47 90 layouting...<br /> 2015-05-28 15:53:33,472 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 47 91 layouting...<br /> 2015-05-28 15:53:33,472 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 47 92 layouting...<br /> 2015-05-28 15:53:33,474 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 49 92 layout done<br /> 2015-05-28 15:53:33,475 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 50 92 layouting...<br /> 2015-05-28 15:53:33,482 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 57 92 generating PDF... 1<br /> 2015-05-28 15:53:33,483 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 58 92 layouting...<br /> 2015-05-28 15:53:33,743 ERROR [http-0.0.0.0-8080-1] com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor PDFCreateException: java.io.IOException: PDF Merge: Parsing of PDF failed: null CallStack:<br /> de.mms_dresden.zvs.unterstuetzung.bl.impl.dokument.PdfTemplateServiceImpl.createPDF<br /> <br /> java.io.IOException: PDF Merge: Parsing of PDF failed: null<br /> at org.zefer.pd4ml.PD4ML.o00000(Unknown Source) ~[pd4ml.jar:396]<br /> at org.zefer.pd4ml.PD4ML.render(Unknown Source) ~[pd4ml.jar:396]<br /> at PDFServiceImpl.mergeToPDFFromHTML(PDFServiceImpl.java:89)