We have tested the scenario and managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSJAVA-2584. You will be notified via this forum thread once this issue is resolved.
Do you have a time frame for the fix? We want to update to the latest library version because it fixes a different issue which you’ve resolved but this new problem is blocking us from doing so.
Any ETA would be greatly appreciated so that we can factor this in to our own release schedule.
We try our best to deal with every customer request in a timely fashion, we unfortunately cannot guarantee a delivery date to every customer issue. We work on issues on a first come, first served basis. We feel this is the fairest and most appropriate way to satisfy the needs of the majority of our customers.
Currently, your issue is pending for analysis and is in the queue. Once we complete the analysis of your issue, we will then be able to provide you an estimate.
You reported this issue in free support forum and it will be treated with normal priority. To speed up the progress of issue’s resolution, we suggest you please check our paid support policies from following link. Paid Support Policies
+1 we’re also blocked from upgrading until there’s a fix for this (we’re using it in a Spring app rather than OSGI, but it’s the same fundamental issue).
@arronhardenels@chrisbeecham2@TR-K15t@thomask15t The issue is already resolved. The fix will be included into the next version of Aspose.Words for Java, which we are going to release in approximately a week.
unfortunately this is still not fixed for us. As my colleague @thomask15t pointed out earlier, the spring-boot scenario was just one example - the fastest way to provide you with a standalone application.
Our real use case is a Confluence server plugin. Confluence uses Apache Felix as OSGi container and we believe that the classloader for Confluence plugins handles nested JARs a little bit different from the way the spring-boot classloader does wrt. to the URL representing the resources in nested JARs.
With the latest version we’re running into this error:
java.lang.ExceptionInInitializerError
at com.aspose.words.zzXjl.zzWXs(Unknown Source)
at com.aspose.words.zzXjl.zzXHL(Unknown Source)
at com.aspose.words.zzWh8.zzpw(Unknown Source)
at com.aspose.words.Document.zzYl6(Unknown Source)
at com.aspose.words.Document.zzWXs(Unknown Source)
at com.aspose.words.Document.<init>(Unknown Source)
at com.aspose.words.Document.<init>(Unknown Source)
at com.aspose.words.Document.<init>(Unknown Source)
...
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalStateException: Invalid license signature. Please make sure the license file was not modified.
at com.aspose.words.zzWS3.<init>(Unknown Source)
at com.aspose.words.zzWS3.<clinit>(Unknown Source)
... 59 more
How can we move forward here?
We can use a debugger to provide you the resource URL causing the issue, so you could compare it with your logic.
We could also create a simple Confluence plugin demonstrating this, if it would be useful.
This issue prevents us from upgrading to future versions so we need a solution eventually.
Thanks for your response. We’'ll collect all necessary details and post them here.
One question though: Would a Confluence plugin demonstrating this be helpful here? I’m asking because it will be some effort for us to create this and it would be only useful if one of your developers would actually run a Confluence instance to install this plugin into. Let us know if you still want such a plugin.
I’m still running into an error with 21.7. Here’s the stacktrace and some details I retrieved by attaching a debugger from an IDE to the Confluence process.
Stacktrace:
java.lang.ExceptionInInitializerError
at com.aspose.words.zzWnD.zzXMZ(Unknown Source)
at com.aspose.words.zzWnD.zzZuc(Unknown Source)
at com.aspose.words.zzXCP.zzWcj(Unknown Source)
at com.aspose.words.Document.zzZTj(Unknown Source)
at com.aspose.words.Document.zzXMZ(Unknown Source)
at com.aspose.words.Document.<init>(Unknown Source)
at com.aspose.words.Document.<init>(Unknown Source)
at com.aspose.words.Document.<init>(Unknown Source)
... <snip>
Caused by: java.lang.IllegalStateException: Invalid license signature. Please make sure the license file was not modified.
at com.aspose.words.zzWh2.<init>(Unknown Source)
at com.aspose.words.zzWh2.<clinit>(Unknown Source)
... 59 more
The origin of the IllegalStateException is in com.aspose.words.zzWh2#zzWCe. Here are some details from its execution:
var1 = this.getClass(); --> class com.aspose.words.zzWh2
Please note how the codesource refers to our jar, not the aspose-words.jar which is bundled in META-INF/libs. Result of unzip -l scroll-word-server-5.2.6-SNAPSHOT.jar | grep aspose:
We have logged this issue as WORDSJAVA-2621 in our issue tracking system. If we need any further detail, we will let you know. We will inform you via this forum thread once this issue is resolved. We apologize for your inconvenience.
We have already answered your query [here](https://forum.aspose.com/t/invalid-license-signature-exception-is-thrown-after-upgrade/232505/4) in this post. Please follow that thread for further proceedings.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.