HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML Forums › Licensing / Purchasing of PD4ML › Error when loading pd4ml.lic file
- This topic is empty.
-
AuthorPosts
-
April 22, 2021 at 09:45#34343
Hi,
we have brought a licence for “PD4ML Java Single PRO License” and we downloaded the pd4ml.lic file from the web site.
We put the pd4ml.lic file in the same folder of the pd4ml.jar file.
When we exec the commandE:\WORK>E:\JAVA\jre\bin\java -Djava.awt.headless=true -Xmx512m -jar pd4ml.jar “http://pd4ml.com” 1200 LETTER -bookmarks HEADINGS -pdfforms -debug 9999 -out pd4ml.pdf
we got the following error
DEBUG PD4ML given license bytes are not a valid license; trying to interpret them as a .lic file location…
DEBUG CACHED ITEM try resource provider: com.pd4ml.cache.EmbeddedResourceProvider
DEBUG CACHED ITEM try resource provider: com.pd4ml.cache.WebResourceProvider
DEBUG CACHED ITEM try resource provider: com.pd4ml.cache.ClassResourceProvider
DEBUG CACHED ITEM try resource provider: com.pd4ml.cache.ServletResourceProvider
DEBUG CACHED ITEM try resource provider: com.pd4ml.cache.SslResourceProvider14
DEBUG CACHED ITEM try resource provider: com.pd4ml.cache.FileResourceProvider
TRACE FileResourcePro file:pd4ml.lic [15ms]
Exception in thread “main” java.lang.NumberFormatException: For input string: “”at java.lang.NumberFormatException.forInputString(NumberFormatException.
java:65)
at java.lang.Integer.parseInt(Integer.java:504)
at java.lang.Integer.parseInt(Integer.java:527)
at com.pd4ml.util.s$_b.<init>(y:1071)
at com.pd4ml.PD4ML.applyLicense(y:2238)
at com.pd4ml.PD4ML.<init>(y:518)
at com.pd4ml.PD4ML.<init>(y:3173)
at com.pd4ml.tools.Pd4Cmd.super(y:2518)
at com.pd4ml.tools.Pd4Cmd.main(y:734)Error when loading pd4ml.lic file
Exception in thread “main” java.lang.NumberFormatException: For input string: “”what can we do to solve the problem?
Thank you
DanteApril 22, 2021 at 10:02#34344Hi, Dante! Which PD4ML version do you use? v409fx4? We cannot reproduce the issue you faced with.
April 22, 2021 at 10:38#34345Hi,
thank you for your fast replay!
Yes, I downloaded the pd4ml-bin-4.0.9fx4.zip file yesterday.April 22, 2021 at 11:03#34346Please download an updated pd4ml.lic from
https://pd4ml.tech/view-my-licenses/April 22, 2021 at 11:29#34347With the new license file it work fine.
Thank you!!!! -
AuthorPosts
You must be logged in to reply to this topic.