Repository navigation
Description
PMD version is 2.1.0
IDEA version is IntelliJ IDEA 2026.1
jdk version is openJdk 1.8.0.432
Incremental analysis can't fingerprint classpath contents
java.util.zip.ZipException: Invalid CEN header (invalid zip64 extra data field size)
at java.base/java.util.zip.ZipFile$Source.zerror(ZipFile.java:1963)
at java.base/java.util.zip.ZipFile$Source.checkZip64ExtraFieldValues(ZipFile.java:1457)
at java.base/java.util.zip.ZipFile$Source.checkExtraFields(ZipFile.java:1417)
at java.base/java.util.zip.ZipFile$Source.checkAndAddEntry(ZipFile.java:1336)
at java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1899)
at java.base/java.util.zip.ZipFile$Source.(ZipFile.java:1674)
at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1622)
at java.base/java.util.zip.ZipFile$CleanableResource.(ZipFile.java:734)
at java.base/java.util.zip.ZipFile.(ZipFile.java:234)
at java.base/java.util.zip.ZipFile.(ZipFile.java:180)
at java.base/java.util.zip.ZipFile.(ZipFile.java:194)
at net.sourceforge.pmd.cache.internal.ZipFileFingerprinter.fingerprint(ZipFileFingerprinter.java:64)
at net.sourceforge.pmd.cache.internal.ClasspathFingerprinter.fingerprint(ClasspathFingerprinter.java:36)
at net.sourceforge.pmd.cache.internal.AbstractAnalysisCache.checkValidity(AbstractAnalysisCache.java:131)
at net.sourceforge.pmd.cache.internal.FileAnalysisCache.checkValidity(FileAnalysisCache.java:50)
at net.sourceforge.pmd.cache.internal.AnalysisCacheListener.(AnalysisCacheListener.java:25)
at net.sourceforge.pmd.PmdAnalysis.performAnalysisImpl(PmdAnalysis.java:398)
at net.sourceforge.pmd.PmdAnalysis.performAnalysisImpl(PmdAnalysis.java:382)
at net.sourceforge.pmd.PmdAnalysis.performAnalysisAndCollectReport(PmdAnalysis.java:374)
at com.intellij.plugins.bodhi.pmd.core.PMDResultCollector.runPMDAndGetResultsInternal(PMDResultCollector.java:134)
at com.intellij.plugins.bodhi.pmd.core.PMDResultCollector.runPMDAndGetResultsForSingleFileNew(PMDResultCollector.java:69)
at com.intellij.plugins.bodhi.pmd.annotator.PMDExternalLanguageAnnotator.doAnnotate(PMDExternalLanguageAnnotator.java:70)
at com.intellij.plugins.bodhi.pmd.annotator.PMDExternalLanguageAnnotator.doAnnotate(PMDExternalLanguageAnnotator.java:36)
at com.intellij.codeInsight.daemon.impl.ExternalToolPass.lambda$doAnnotate$1(ExternalToolPass.java:248)
at com.intellij.codeInsight.daemon.impl.AnnotationSessionImpl.computeWithSession(AnnotationSessionImpl.java:91)
at com.intellij.codeInsight.daemon.impl.AnnotationSessionImpl.computeWithSession(AnnotationSessionImpl.java:83)
at com.intellij.codeInsight.daemon.impl.ExternalToolPass.doAnnotate(ExternalToolPass.java:246)
at com.intellij.codeInsight.daemon.impl.ExternalToolPass.doAnnotate(ExternalToolPass.java:240)
at com.intellij.codeInsight.daemon.impl.ExternalToolPass$1.lambda$run$3(ExternalToolPass.java:198)
at com.intellij.codeInsight.daemon.impl.ExternalToolPass.runChangeAware(ExternalToolPass.java:313)
at com.intellij.codeInsight.daemon.impl.ExternalToolPass$1.lambda$run$5(ExternalToolPass.java:198)
at com.intellij.openapi.progress.util.BackgroundTaskUtil.lambda$runUnderDisposeAwareIndicator$15(BackgroundTaskUtil.java:387)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:283)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$14(CoreProgressManager.java:744)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:819)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:775)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:743)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:87)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:267)
at com.intellij.openapi.progress.util.BackgroundTaskUtil.runUnderDisposeAwareIndicator(BackgroundTaskUtil.java:382)
at com.intellij.codeInsight.daemon.impl.ExternalToolPass$1.run(ExternalToolPass.java:196)
at com.intellij.util.ui.update.Update.execute$suspendImpl(Update.kt:61)
at com.intellij.util.ui.update.Update.execute(Update.kt)
at com.intellij.util.ui.update.MergingUpdateQueue.executeUpdates$suspendImpl(MergingUpdateQueue.kt:386)
at com.intellij.util.ui.update.MergingUpdateQueue.executeUpdates(MergingUpdateQueue.kt)
at com.intellij.util.ui.update.MergingUpdateQueue$restart$1.invokeSuspend(MergingUpdateQueue.kt:345)
at com.intellij.util.ui.update.MergingUpdateQueue$restart$1.invoke(MergingUpdateQueue.kt)
at com.intellij.util.ui.update.MergingUpdateQueue$restart$1.invoke(MergingUpdateQueue.kt)
at com.intellij.util.SingleAlarm$scheduleTask$1$1$1$2.invokeSuspend(SingleAlarm.kt:413)
at com.intellij.util.SingleAlarm$scheduleTask$1$1$1$2.invoke(SingleAlarm.kt)
at com.intellij.util.SingleAlarm$scheduleTask$1$1$1$2.invoke(SingleAlarm.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndspatched(Undispatched.kt:67)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:43)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:157)
at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
at com.intellij.util.SingleAlarm$scheduleTask$1$1.invokeSuspend(SingleAlarm.kt:411)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:610)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runDefaultDispatcherTask(CoroutineScheduler.kt:1194)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:906)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:775)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:762)
Failed to process
java.lang.RuntimeException: Exception while initializing analysis listeners
at net.sourceforge.pmd.PmdAnalysis.performAnalysisImpl(PmdAnalysis.java:413)
at net.sourceforge.pmd.PmdAnalysis.performAnalysisImpl(PmdAnalysis.java:382)
at net.sourceforge.pmd.PmdAnalysis.performAnalysisAndCollectReport(PmdAnalysis.java:374)
at com.intellij.plugins.bodhi.pmd.core.PMDResultCollector.runPMDAndGetResultsInternal(PMDResultCollector.java:134)
at com.intellij.plugins.bodhi.pmd.core.PMDResultCollector.runPMDAndGetResults(PMDResultCollector.java:85)
at com.intellij.plugins.bodhi.pmd.PMDInvoker$1.run(PMDInvoker.java:183)
at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:561)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:197)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsynchronously$7(CoreProgressManager.java:612)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:284)
at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:98)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$1(CoreProgressManager.java:287)
at com.intellij.platform.diagnostic.telemetry.helpers.TraceKt.use(trace.kt:44)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:286)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$14(CoreProgressManager.java:744)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:819)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:775)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:743)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:87)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:267)
at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:98)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$5(ProgressRunner.java:284)
at com.intellij.openapi.progress.impl.ProgressRunner$ProgressRunnable.run(ProgressRunner.java:556)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$17(ProgressRunner.java:511)
at com.intellij.concurrency.ThreadContext.installThreadContext(threadContext.kt:305)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$18(ProgressRunner.java:510)
at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:192)
at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:192)
at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:198)
at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:192)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$19(ProgressRunner.java:507)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:649)
at java.base/java.lang.Thread.run(Thread.java:1474)
Caused by: java.lang.RuntimeException: java.util.zip.ZipException: Invalid CEN header (invalid zip64 extra data field size)
at net.sourceforge.pmd.cache.internal.ClasspathFingerprinter.fingerprint(ClasspathFingerprinter.java:44)
at net.sourceforge.pmd.cache.internal.AbstractAnalysisCache.checkValidity(AbstractAnalysisCache.java:131)
at net.sourceforge.pmd.cache.internal.FileAnalysisCache.checkValidity(FileAnalysisCache.java:50)
at net.sourceforge.pmd.cache.internal.AnalysisCacheListener.(AnalysisCacheListener.java:25)
at net.sourceforge.pmd.PmdAnalysis.performAnalysisImpl(PmdAnalysis.java:398)
... 34 more
Caused by: java.util.zip.ZipException: Invalid CEN header (invalid zip64 extra data field size)
at java.base/java.util.zip.ZipFile$Source.zerror(ZipFile.java:1963)
at java.base/java.util.zip.ZipFile$Source.checkZip64ExtraFieldValues(ZipFile.java:1457)
at java.base/java.util.zip.ZipFile$Source.checkExtraFields(ZipFile.java:1417)
at java.base/java.util.zip.ZipFile$Source.checkAndAddEntry(ZipFile.java:1336)
at java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1899)
at java.base/java.util.zip.ZipFile$Source.(ZipFile.java:1674)
at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1622)
at java.base/java.util.zip.ZipFile$CleanableResource.(ZipFile.java:734)
at java.base/java.util.zip.ZipFile.(ZipFile.java:234)
at java.base/java.util.zip.ZipFile.(ZipFile.java:180)
at java.base/java.util.zip.ZipFile.(ZipFile.java:194)
at net.sourceforge.pmd.cache.internal.ZipFileFingerprinter.fingerprint(ZipFileFingerprinter.java:64)
at net.sourceforge.pmd.cache.internal.ClasspathFingerprinter.fingerprint(ClasspathFingerprinter.java:36)
... 38 more
Activity
adangel commentedon Apr 12, 2026
@DoubleW2w Thanks for reporting!
Are you able to share the project, where this error occurs? It seems, this project uses a dependency which uses a jar file with a bogus format. In order to properly analyze, reproduce and finally fix the problem, this information would be useful. If you can't share the entire project, maybe you can share which dependencies you have - as one dependency seems to be the culprit.
Once we identified the problematic dependency, we can report this bug upstream to https://github.com/pmd/pmd/issues as this is where the bug needs to be fixed.
DoubleW2w commentedon Apr 18, 2026
@adangel
Are you referring to the dependency JAR packages used in this project?
idea.log
pmd7.0-ruleset-base.xml
DoubleW2w commentedon Apr 18, 2026
@adangel
I have cleared IDEA's cache. but I don't know why JDK 25 appeared. My JAVA_HOME is jdk 8。
Some dependencies are internal to the company and may not be accessible externally.
DoubleW2w commentedon May 6, 2026
I suspect the issue lay within my own environment;
today I attempted the PMD analysis once more, and it succeeded.
This is truly perplexing. Nevertheless, I remain genuinely grateful for your response.
(我感觉是我自己这边环境的问题,我今天试了一下PMD分析,又成功了。这实在很诡异。不过还是很谢谢你的回答。)
Skip invalid jar files on the auxclasspath