Groupdocs comparison jar SignatureFileSize issue

Trying to integrate groupdocs comparison jar in our project, after adding jar and building the project, getting below error while running the app. Kindly guide us to resolve this.

Cause3: Unsupported size: 25415654 for JarEntry META-INF/MANIFEST.MF. Allowed max size: 16000000 bytes. You can use the jdk.jar.maxSignatureFileSize system property to increase the default value.


We could not reproduce this issue at our end. Which IDE you’re using? It would be great if you share the sample application (and steps to reproduce the issue) with us to reproduce the issue. Please compress the application in a ZIP format (exclude license file) and upload here.

Hi @atir.tahir , thanks for checking this.

We are using intellij IDE and bazel project. Trying to integrated it with salesforce core application as we are in the process of procuring the license. It would not be possible to share the application. Kindly let us know if you have any suggestions that could potentially fix this.


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.


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 are already working on this issue. As soon as the fix is available, we’ll notify you. However, a workaround could be found here on GitHub.

Thanks Atir for updates.

The workaround you suggested isn’t feasible in our case as updating env variables can possibly impact other services running inside core app.

Request you to share the ETA for the above fix your team is working on. It would really be helpful.


1 Like


We are further investigating this ticket. You’ll be notified as soon as we have an ETA of fix/release.

Hi @atir.tahir,

Is there any further updates on this?

I am providing below complete stack trace of the issue we are facing which includes multiple cause of failure. Please have a look if they are related.

Cause1: java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.base/java.lang.reflect.Method.invoke(
        at system.init.tasks.AppStartupTaskWithJavaClassesWithInitMethod$
        at java.base/
        at java.base/java.util.concurrent.Executors$
        ... 4 shared with parent
 Cause2: java.util.ServiceConfigurationError: javax.imageio.spi.ImageWriterSpi: Error accessing configuration file
        at java.base/
        at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.parse(
        at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.nextProviderClass(
        at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNextService(
        at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNext(
        at java.base/java.util.ServiceLoader$2.hasNext(
        at java.base/java.util.ServiceLoader$3.hasNext(
        at java.desktop/javax.imageio.spi.IIORegistry.registerApplicationClasspathSpis(
        at java.desktop/javax.imageio.spi.IIORegistry.<init>(
        at java.desktop/javax.imageio.spi.IIORegistry.getDefaultInstance(
        at java.desktop/javax.imageio.ImageIO.<clinit>(
        at common.util.DynamicImageData.getRaster(
        at common.util.DynamicImageData.init(
        ... 11 shared with parent
 Cause3: Unsupported size: 34543685 for JarEntry META-INF/MANIFEST.MF. Allowed max size: 16000000 bytes. You can use the jdk.jar.maxSignatureFileSize system property to increase the default value.
        at java.base/java.util.jar.JarFile.getBytes(
        at java.base/java.util.jar.JarFile.getManifestFromReference(
        at java.base/java.util.jar.JarFile.getManifest(
        at java.base/
        at java.base/
        at java.base/java.util.jar.JarFile.maybeInstantiateVerifier(
        at java.base/java.util.jar.JarFile.getInputStream(
        at java.base/
        at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.parse(
1 Like


We are already investigating this issue with priority. You’ll be notified as there’s any update.

Hi @atir.tahir,

It would be really appreciable if you can share updates on the progress of above fix or any ETA on the same.


This ticket is still under investigation.

Thanks @atir.tahir for updates.

Please note, as per shared stack trace above we have a limit of 16MB on maxSignatureFileSize, could you please help create a new jar with file less than. 16MB and share that with us ?


We are further investigating this scenario. You’ll be notified in case of any update.

hi Atir, This bug has been open from last 15 days. We have been in discussion with your sales team and got to understand that this was on priority queue, since we have already obtained licenses for paid support. Looking at the issue, it doesn’t seem to be so complicated that it would take 15 days or more to resolve. Can you please give an update by the end of day today as this is a very high priority feature for us and we are currently at risk of not being able to deliver this feature in the current release. This is making us doubt on the ETA of fixes to be delivered, I would take it up separately with your management but currently would appreciate any inputs apart from we are currently working on it. Thanks!!


We are going to release the fix soon. You’ll be notified as the release is available to download.


This issue is now fixed in API version 24.7.

Thanks for the updates @atir.tahir .


You’re welcome.

A post was split to a new topic: Document merger API Unsupported size issue in Java