PD4ML v4 Forums PD4ML v3 Archived Forums (Read Only) HTML/CSS rendering issues java.io.IOException: Stream Closed

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #27179

    Hi Team,

    We are using the pd4ml for creating a PDF from HTML code and below is the manifest information from the jar file

    Manifest-Version: 1.0
    Class-Path: ss_css2.jar
    Ant-Version: Apache Ant 1.6.5
    Created-By: yGuard Bytecode Obfuscator 2.0.1
    Main-Class: org.zefer.pd4ml.tools.PD4Browser
    Implementation-Title: PD4ML Std
    Implementation-Version: 323b2

    After implementing the code using the jar file we are getting an error saying Stream Closed. The same jar file was working earlier but after a few tests we are getting the below error regularly in every case.

    java.io.IOException: Stream Closed
    at java.io.FileOutputStream.writeBytes(Native Method)
    at java.io.FileOutputStream.write(FileOutputStream.java:326)
    at org.zefer.pd4ml.pdf.b.?00000(Unknown Source)
    at org.zefer.pd4ml.pdf.b.o00000(Unknown Source)
    at org.zefer.pd4ml.pdf.e.oO0000(Unknown Source)
    at org.zefer.pd4ml.pdf.e.?O0000(Unknown Source)
    at org.zefer.pd4ml.pdf.e.?O0000(Unknown Source)
    at org.zefer.pd4ml.pdf.e.null(Unknown Source)
    at org.zefer.pd4ml.pdf.e.?o0000(Unknown Source)
    at org.zefer.pd4ml.pdf.e.?00000(Unknown Source)
    at org.zefer.pd4ml.pdf.e.close(Unknown Source)
    at org.zefer.pd4ml.pdf.PD4Device.dispose(Unknown Source)
    at org.zefer.pd4ml.pdf.PD4Device.finalize(Unknown Source)
    at java.lang.System$2.invokeFinalize(System.java:1270)
    at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:98)
    at java.lang.ref.Finalizer.access$100(Finalizer.java:34)
    at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:210)

    Please let us know the further steps that we have to follow to get the successful pdf without any errors in future. Attached the code that we are using for generating the PDF from HTML code for your reference.

Viewing 1 post (of 1 total)

The forum ‘HTML/CSS rendering issues’ is closed to new topics and replies.