• This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #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 command

    E:\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
    Dante

    #34344

    Hi, Dante! Which PD4ML version do you use? v409fx4? We cannot reproduce the issue you faced with.

    #34345

    Hi,
    thank you for your fast replay!
    Yes, I downloaded the pd4ml-bin-4.0.9fx4.zip file yesterday.

    #34346

    Please download an updated pd4ml.lic from
    https://pd4ml.tech/view-my-licenses/

    #34347

    With the new license file it work fine.
    Thank you!!!!

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.