Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Fri Feb 24, 2023 11:15 pm

Hi!
I've bought the license and downloaded the last version Spire.PDF for JAVA v. 9.2.1.
I'm trying a simple app with the follow java code (my IDE is using JDK jdk 1.8.0_211):

public static void main(String[] args) throws FileNotFoundException, IOException {

//Specify input file path
String inputFile = "C:\\Temp\\refertoletdim.pdf";

//Specify output file path
String outputPdfPath = "C:\\Temp\\ToPdfA3A.pdf";

//Create a PdfStandardsConverter instance, passing in the input file as a parameter
PdfStandardsConverter converter = new PdfStandardsConverter(inputFile);

//Convert to PdfA3A
converter.toPdfA3A(outputPdfPath);


}


The app fault on "PdfStandardsConverter converter = new PdfStandardsConverter(inputFile);" row with this exception:

Exception in thread "main" class com.spire.pdf.packages.sprxhe: Invalid date string, after time
com.spire.pdf.packages.sprmce.spr▊⇆(Unknown Source)
com.spire.pdf.packages.sprlge.<init>(Unknown Source)
com.spire.pdf.interchange.metadata.PdfXmpMetadata.setPropertyDate(Unknown Source)
com.spire.pdf.PdfDocumentInformation.spr┭▅(Unknown Source)
com.spire.pdf.PdfDocumentInformation.spr⅗▄(Unknown Source)
com.spire.pdf.PdfDocumentInformation.<init>(Unknown Source)
com.spire.pdf.PdfDocumentBase.spr┿∮(Unknown Source)
com.spire.pdf.PdfDocumentBase.getDocumentInformation(Unknown Source)
com.spire.pdf.PdfNewDocument.spr▩§(Unknown Source)
com.spire.pdf.PdfDocumentBase.save(Unknown Source)
com.spire.pdf.packages.sprppo.spr↮▀(Unknown Source)
com.spire.pdf.conversion.PdfStandardsConverter.toPdfA3A(Unknown Source)
tesipdfacreatorjava.TesiPdfACreatorJava.main(TesiPdfACreatorJava.java:68)
at com.spire.pdf.packages.sprmce.spr▊⇆(Unknown Source)
at com.spire.pdf.packages.sprlge.<init>(Unknown Source)
at com.spire.pdf.interchange.metadata.PdfXmpMetadata.setPropertyDate(Unknown Source)
at com.spire.pdf.PdfDocumentInformation.spr┭▅(Unknown Source)
at com.spire.pdf.PdfDocumentInformation.spr⅗▄(Unknown Source)
at com.spire.pdf.PdfDocumentInformation.<init>(Unknown Source)
at com.spire.pdf.PdfDocumentBase.spr┿∮(Unknown Source)
at com.spire.pdf.PdfDocumentBase.getDocumentInformation(Unknown Source)
at com.spire.pdf.PdfNewDocument.spr▩§(Unknown Source)
at com.spire.pdf.PdfDocumentBase.save(Unknown Source)
at com.spire.pdf.packages.sprppo.spr↮▀(Unknown Source)
at com.spire.pdf.conversion.PdfStandardsConverter.toPdfA3A(Unknown Source)
at tesipdfacreatorjava.TesiPdfACreatorJava.main(TesiPdfACreatorJava.java:68)


Have you got any idea?
I've attached the pdf that I'm tryng to convert.

Regards,
Filippo Gatto

filippo.gatto
 
Posts: 11
Joined: Fri Feb 24, 2023 3:08 pm

Mon Feb 27, 2023 3:40 am

Hi,

Thanks for your feedback.
I did not find the document you attached, could you please resend it to help us do a further investigation? You can send the document to us via email (support@e-iceblue.com) or attach it here. Thanks for your assistance.

Sincerely,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Tue Feb 28, 2023 2:14 pm

Hi,
thank you for you reply. I've attached the file.

filippo.gatto
 
Posts: 11
Joined: Fri Feb 24, 2023 3:08 pm

Wed Mar 01, 2023 2:59 am

Hi,

Thanks for your feedback.
I tested your document, using your version and the latest Spire.PDF_9.2.6, but I did not reproduce your issue, the conversion went well, and no exception was thrown. I have uploaded my jar file, please download it from this link (https://www.e-iceblue.com/downloads/attachment/Test(32549).zip) and run it. If the issue still exists after testing, please provide us with the following messages to help us do a further investigation. Thanks for your assistance.
1) your test environment, such as OS info (E.g., Windows 10 64bit) and region setting (E.g., China, Chinese).

Sincerely,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Wed Mar 01, 2023 2:43 pm

Hi,
thank you for the packet. I've tryed your Test.jar but it returns the same error "Exception in thread "main" class com.spire.pdf.packages.sprxhe: Invalid date string, after time".

Exception in thread "main" class com.spire.pdf.packages.sprxhe: Invalid date string, after time
com.spire.pdf.packages.sprmce.spr??(Unknown Source)
com.spire.pdf.packages.sprlge.<init>(Unknown Source)
com.spire.pdf.interchange.metadata.PdfXmpMetadata.setPropertyDate(Unknown Source)
com.spire.pdf.PdfDocumentInformation.spr??(Unknown Source)
com.spire.pdf.PdfDocumentInformation.spr?▄(Unknown Source)
com.spire.pdf.PdfDocumentInformation.<init>(Unknown Source)
com.spire.pdf.PdfDocumentBase.spr??(Unknown Source)
com.spire.pdf.PdfDocumentBase.getDocumentInformation(Unknown Source)
com.spire.pdf.PdfNewDocument.spr?§(Unknown Source)
com.spire.pdf.PdfDocumentBase.save(Unknown Source)
com.spire.pdf.packages.sprppo.spr?▀(Unknown Source)
com.spire.pdf.conversion.PdfStandardsConverter.toPdfA3A(Unknown Source)
com.spire.Issue32549.main(Issue32549.java:17)
at com.spire.pdf.packages.sprmce.spr??(Unknown Source)
at com.spire.pdf.packages.sprlge.<init>(Unknown Source)
at com.spire.pdf.interchange.metadata.PdfXmpMetadata.setPropertyDate(Unknown Source)
at com.spire.pdf.PdfDocumentInformation.spr??(Unknown Source)
at com.spire.pdf.PdfDocumentInformation.spr?▄(Unknown Source)
at com.spire.pdf.PdfDocumentInformation.<init>(Unknown Source)
at com.spire.pdf.PdfDocumentBase.spr??(Unknown Source)
at com.spire.pdf.PdfDocumentBase.getDocumentInformation(Unknown Source)
at com.spire.pdf.PdfNewDocument.spr?§(Unknown Source)
at com.spire.pdf.PdfDocumentBase.save(Unknown Source)
at com.spire.pdf.packages.sprppo.spr?▀(Unknown Source)
at com.spire.pdf.conversion.PdfStandardsConverter.toPdfA3A(Unknown Source)
at com.spire.Issue32549.main(Issue32549.java:17)


As my class, also your Test.jar creates the result file "refertoletdimA3A.pdf" in output folder but it is an empty file (0 KB).

About my environment, I'm using a Windows 10 x64, with South Europe (italy) region Setting (UTC +01:00)

best regards,
Filippo

filippo.gatto
 
Posts: 11
Joined: Fri Feb 24, 2023 3:08 pm

Thu Mar 02, 2023 6:17 am

Hi,

Thanks for your feedback.
After changing the language of the test environment to Italian, I reproduced your issue. I have logged this issue into our issue tracking system with the ticket number SPIREPDF-5834, our developers will investigate and fix it, sorry for the inconvenience caused. Once the issue is fixed, I will inform you asap.

Sincerely,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Thu Mar 02, 2023 7:39 am

Hi Triste,
thank you! So I'll be waiting for the fix... :)
Best regards.
Filippo

filippo.gatto
 
Posts: 11
Joined: Fri Feb 24, 2023 3:08 pm

Thu Mar 09, 2023 9:37 pm

Hi Triste,
have you got some notice about the release date of fix ?

Regards,
Filippo

filippo.gatto
 
Posts: 11
Joined: Fri Feb 24, 2023 3:08 pm

Fri Mar 10, 2023 1:30 am

Hi Filippo,

Thanks for your following-up.
we have made progress on the issue fix and it is now in the testing phase. We appreciate your patience and understanding, please spare us a little more time. Once the issue is fixed, I will inform you of the new version asap.

Sincerely,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Tue Mar 21, 2023 3:17 am

Hi Filippo,

Thank you for your patience.
We are pleased to inform you that new version with the fix for SPIREPDF-5834 has been released. Below is the download link for the new version, Spire.PDF for Java Version:9.3.6.
Our website link: https://www.e-iceblue.com/Download/pdf-for-java.html
Install from Maven Repository:
Code: Select all
<repositories>
    <repository>
        <id>com.e-iceblue</id>
        <name>e-iceblue</name>
        <url>https://repo.e-iceblue.com/nexus/content/groups/public/</url>
    </repository>
</repositories>
<dependencies>
    <dependency>
        <groupId>e-iceblue</groupId>
        <artifactId>spire.pdf</artifactId>
        <version>9.3.6</version>
    </dependency>
</dependencies>

Sincerely,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Tue Mar 21, 2023 5:00 pm

Hi Triste,
I've tryed the new realese of Spire.PDF for JAVA and it works!! Thanks a lot!!
I've just a question about license: we have buy a Spire.PDF Pro Edition License (license file MD5: 9E5C32224CBB76FA63D25CA0E652E372) ). Is it valid also for JAVA or only for .Net ?
If I create a PDF/A with JAVA pack, in result pdf file I see "Evaluation Warning : The document was created with Spire.PDF for java.".
The evaluation warning is not present when I use the .Net pack.

Regards,
Filippo

filippo.gatto
 
Posts: 11
Joined: Fri Feb 24, 2023 3:08 pm

Wed Mar 22, 2023 1:59 am

Hi Filippo,

Thanks for your feedback.
Glad to hear that the fix works for your issue! :D
Your license is only valid for use on the .NET platform and cannot be used on Java. However, we would be happy to offer you a complimentary one-month trial license for our Spire.PDF for Java so that you can evaluate it better. Please note that if you wish to continue using Spire.PDF for Java beyond the trial period, you will need to purchase a separate license or upgrade your product to Spire.PDF Platinum.
Please let us know if you are interested in the one-month trial license or have any doubts about our purchase policy

Best regards,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Thu Mar 23, 2023 8:25 am

Hi Triste,
yes, I'm interested in the one-month trial license.
About Platinum license I've just a question: if we upgrade our "Spire.PDF for .NET - Pro license" to Platinum license, can we mantain the same license key continuing to use the same license key for both "Spire.PDF for .NET" and "Spire.PDF for JAVA" ?

Regards,
Filippo

filippo.gatto
 
Posts: 11
Joined: Fri Feb 24, 2023 3:08 pm

Thu Mar 23, 2023 11:01 am

Hi Filippo,

Thanks for your feedback.
Our sales team will be reaching out to you shortly to discuss further details about our product and answer any questions you may have. They will also provide you with information on pricing, licensing options, and other relevant information.
Thank you once again for considering our product. :D

Sincerely,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Return to Spire.PDF

cron