Could you please share the license file in a private message and also specify if you are using any other Aspose or GroupDocs API with the Metadata API?
This issue is not coming in Java 8. Its only coming in higher version of Java that is 17
GroupDocs.TotalforJava.pdf.
Please change extension from pdf to lic.
Thanks for the clarification. We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): METADATAJAVA-526
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
We successfully reproduced this issue on Java JDK versions 17.0.9 and 17.0.8. But after testing the license installation code for the Java JDK version 18.0.2.1, there was no such error. Could you please also check it with Java version 18?
Unfortunately we are still unable to reproduce this issue. We tried to double-check this on our GitHub samples and everything works fine with Java 18, you can also try this GitHub project.
If issue persists please share following details with us:
Share license file in a private message
Sample project
A screencast explaining steps to reproduce the issue