java.lang.SecurityException: class "com.aspose.words.Glyph"

Good morning,
I recently updated to Aspose.Words Java version 26.6.
Getting this error apparently because of the Harfbuzz plugin classes not being signed.

java.lang.SecurityException: class “com.aspose.words.Glyph”'s signer information does not match signer information of other classes in the same package

This was not happening on version 25.6.

I think there is something wrong with the provided jars (I took from Aspose Repository Browser /java/repo/com/aspose/).
I’d ask for a feedback on how to solve the error (I did not change any special setup in the project), and if the issue does depend on some action point on your side, to do the needful as soon as possible.

Thanks for your attention
Kindest Regards

@fabrizio.vaglia
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): WORDSJAVA-3380

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.

@fabrizio.vaglia Thanks for the issue. We will try to fix it ASAP.

As a workaround you can load the main aspose-words jar before the harfbuzz plugin.
If you are using Maven, declare the aspose-words dependency before aspose-words-shaping-harfbuzz-plugin in <dependencies>.

@fabrizio.vaglia Here is the updated jar file:
shaping-harfbuzz-plugin.zip (5.1 MB)

Thank you very much for the prompt reaction.
Kindest Regards

1 Like