We are trying to generate the PDF with the below markup:
Java code being used:
PD4ML pd4ml = new PD4ML();
Map map = new HashMap();
InputStreamReader fis = new FileReader(new File("MyPDF.html"));
File file = new File("Output.pdf");
OutputStream fos = new FileOutputStream(file);
System.out.println("Version:" + pd4ml.getVersion());
Jar being used: pd4ml-3112
But we are not able to generate the PDF. We are seeing the below java exceptions
java.lang.StringIndexOutOfBoundsException: String index out of range: 4
We are getting the exceptions only when we are using pd4ml.setDynamicParams(map) with the above markup
Please not that we are NOT able to generate the PDF itself due to exceptions and we cannot share the PDF for reference.
Can you please fix this issue as soon as possible?
Please let us know if you need more information.