opwvhk / avro-schema-support

Extend IntelliJ, PyCharm and other JetBrains IDEs to more easily work with Avro schemata and protocols in both IDL and JSON format.
https://plugins.jetbrains.com/plugin/15728-avro-schema-support
MIT License
19 stars 2 forks source link

Crash Report: Error while applying org.jetbrains.kotlin.idea.debugger.core.KotlinExceptionFilter@56488258 to ' at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) #182

Closed avro-support-error-reporter[bot] closed 2 months ago

avro-support-error-reporter[bot] commented 2 months ago

Crash Report

What happened

(The user did not submit additional information)

Context information

Exception

com.intellij.execution.filters.CompositeFilter$ApplyFilterException: Error while applying org.jetbrains.kotlin.idea.debugger.core.KotlinExceptionFilter@56488258 to '   at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
'
    at com.intellij.execution.filters.CompositeFilter.applyFilter(CompositeFilter.java:73)
    at com.intellij.execution.impl.AsyncFilterRunner$HighlighterJob.analyzeLine(AsyncFilterRunner.java:230)
    at com.intellij.execution.impl.AsyncFilterRunner$HighlighterJob.analyzeNextLine(AsyncFilterRunner.java:219)
    at com.intellij.execution.impl.AsyncFilterRunner.runTasks(AsyncFilterRunner.java:149)
    at com.intellij.util.RunnableCallable.call(RunnableCallable.java:20)
    at com.intellij.util.RunnableCallable.call(RunnableCallable.java:11)
    at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$OTelMonitor.callWrapped(NonBlockingReadActionImpl.java:858)
    at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$OTelMonitor$MonitoredComputation.call(NonBlockingReadActionImpl.java:890)
    at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.insideReadAction(NonBlockingReadActionImpl.java:619)
    at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.lambda$attemptComputation$4(NonBlockingReadActionImpl.java:582)
    at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.tryRunReadAction(AnyThreadWriteThreadingSupport.kt:322)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:953)
    at com.intellij.openapi.progress.util.ProgressIndicatorUtils.lambda$runInReadActionWithWriteActionPriority$0(ProgressIndicatorUtils.java:93)
    at com.intellij.openapi.progress.util.ProgressIndicatorUtilService.runActionAndCancelBeforeWrite(ProgressIndicatorUtilService.java:66)
    at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runActionAndCancelBeforeWrite(ProgressIndicatorUtils.java:155)
    at com.intellij.openapi.progress.util.ProgressIndicatorUtils.lambda$runWithWriteActionPriority$1(ProgressIndicatorUtils.java:138)
    at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:98)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:218)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$14(CoreProgressManager.java:661)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:736)
    at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:692)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:660)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:79)
    at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:203)
    at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:98)
    at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runWithWriteActionPriority(ProgressIndicatorUtils.java:135)
    at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runInReadActionWithWriteActionPriority(ProgressIndicatorUtils.java:93)
    at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.attemptComputation(NonBlockingReadActionImpl.java:582)
    at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.lambda$transferToBgThread$1(NonBlockingReadActionImpl.java:481)
    at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.lambda$transferToBgThread$2(NonBlockingReadActionImpl.java:496)
    at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:249)
    at com.intellij.util.concurrency.BoundedTaskExecutor.access$200(BoundedTaskExecutor.java:30)
    at com.intellij.util.concurrency.BoundedTaskExecutor$1.executeFirstTaskAndHelpQueue(BoundedTaskExecutor.java:227)
    at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:218)
    at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:212)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:735)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:732)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:732)
    at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: com.intellij.diagnostic.PluginException: Cannot load class opwvhk.intellij.avro_idl.syntax.AvroSchemaParserDefinition (
  error: com/intellij/json/JsonParserDefinition,
  classLoader=PluginClassLoader(plugin=PluginDescriptor(name=Avro Schema Support, id=net.sf.opk.avro-schema-support, descriptorPath=plugin.xml, path=~\AppData\Roaming\JetBrains\IntelliJIdea2024.3\plugins\avro-schema-support, version=223.3.2, package=null, isBundled=false), packagePrefix=null, state=active, parents=PluginDescriptor(name=IDEA CORE, id=com.intellij, moduleName=intellij.platform.vcs.impl, descriptorPath=intellij.platform.vcs.impl.xml, path=~\AppData\Local\Programs\IntelliJ IDEA Ultimate\lib, version=243.12818.47, package=null, isBundled=true), PluginDescriptor(name=IDEA CORE, id=com.intellij, moduleName=intellij.platform.vcs.log.impl, descriptorPath=intellij.platform.vcs.log.impl.xml, path=~\AppData\Local\Programs\IntelliJ IDEA Ultimate\lib, version=243.12818.47, package=null, isBundled=true), PluginDescriptor(name=IDEA CORE, id=com.intellij, moduleName=intellij.platform.vcs.dvcs.impl, descriptorPath=intellij.platform.vcs.dvcs.impl.xml, path=~\AppData\Local\Programs\IntelliJ IDEA Ultimate\lib, version=243.12818.47, package=null, isBundled=true), PluginDescriptor(name=IDEA CORE, id=com.intellij, moduleName=intellij.platform.collaborationTools, descriptorPath=intellij.platform.collaborationTools.xml, path=~\AppData\Local\Programs\IntelliJ IDEA Ultimate\lib, version=243.12818.47, package=null, isBundled=true), )
)
    at com.intellij.ide.plugins.cl.PluginClassLoader.loadClassInsideSelf(PluginClassLoader.kt:330)
    at com.intellij.ide.plugins.cl.PluginClassLoader.tryLoadingClass(PluginClassLoader.kt:179)
    at com.intellij.serviceContainer.ComponentManagerImplKt.doLoadClass(ComponentManagerImpl.kt:1459)
    at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClass(ComponentManagerImpl.kt:941)
    at com.intellij.serviceContainer.LazyExtensionInstance.createInstance(LazyExtensionInstance.java:57)
    at com.intellij.serviceContainer.LazyExtensionInstance.getInstance(LazyExtensionInstance.java:46)
    at com.intellij.serviceContainer.BaseKeyedLazyInstance.getInstance(BaseKeyedLazyInstance.java:38)
    at com.intellij.psi.stubs.SerializationManagerImpl.getExtensions(SerializationManagerImpl.java:315)
    at com.intellij.psi.stubs.SerializationManagerImpl.instantiateElementTypesFromFields(SerializationManagerImpl.java:307)
    at com.intellij.psi.stubs.SerializationManagerImpl.lambda$initSerializers$4(SerializationManagerImpl.java:242)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeNonCancelableSection$3(CoreProgressManager.java:270)
    at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:685)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$computeInNonCancelableSection$4(CoreProgressManager.java:278)
    at com.intellij.openapi.progress.Cancellation.computeInNonCancelableSection(Cancellation.java:94)
    at com.intellij.openapi.progress.impl.CoreProgressManager.computeInNonCancelableSection(CoreProgressManager.java:278)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeNonCancelableSection(CoreProgressManager.java:269)
    at com.intellij.psi.stubs.SerializationManagerImpl.initSerializers(SerializationManagerImpl.java:241)
    at com.intellij.psi.stubs.StubUpdatingIndex$2.getSubIndexerVersion(StubUpdatingIndex.java:168)
    at com.intellij.psi.stubs.StubUpdatingIndex$2.getSubIndexerVersion(StubUpdatingIndex.java:155)
    at com.intellij.util.indexing.impl.perFileVersion.PersistentSubIndexerRetriever.getVersion(PersistentSubIndexerRetriever.java:118)
    at com.intellij.util.indexing.impl.perFileVersion.PersistentSubIndexerRetriever.getFileIndexerId(PersistentSubIndexerRetriever.java:105)
    at com.intellij.util.indexing.impl.storage.VfsAwareMapReduceIndex.lambda$getFileIndexMetaData$2(VfsAwareMapReduceIndex.java:114)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:736)
    at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:692)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$computeInNonCancelableSection$4(CoreProgressManager.java:278)
    at com.intellij.openapi.progress.Cancellation.computeInNonCancelableSection(Cancellation.java:98)
    at com.intellij.openapi.progress.impl.CoreProgressManager.computeInNonCancelableSection(CoreProgressManager.java:278)
    at com.intellij.util.indexing.impl.storage.VfsAwareMapReduceIndex.getFileIndexMetaData(VfsAwareMapReduceIndex.java:114)
    at com.intellij.psi.stubs.StubUpdatingIndexStorage.getFileIndexMetaData(StubUpdatingIndexStorage.java:160)
    at com.intellij.psi.stubs.StubUpdatingIndexStorage.getFileIndexMetaData(StubUpdatingIndexStorage.java:21)
    at com.intellij.indexing.composite.CompositeInvertedIndexBase.getFileIndexMetaData(CompositeInvertedIndexBase.java:183)
    at com.intellij.util.indexing.FileBasedIndexImpl.createSingleIndexValueApplier(FileBasedIndexImpl.java:1627)
    at com.intellij.util.indexing.FileBasedIndexImpl.lambda$doIndexFileContent$24(FileBasedIndexImpl.java:1500)
    at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.lambda$freezeFileTypeTemporarilyWithProvidedValueIn$15(FileTypeManagerImpl.java:733)
    at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.cacheFileTypesInside(FileTypeManagerImpl.java:797)
    at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.freezeFileTypeTemporarilyWithProvidedValueIn(FileTypeManagerImpl.java:729)
    at com.intellij.util.indexing.FileBasedIndexImpl.doIndexFileContent(FileBasedIndexImpl.java:1453)
    at com.intellij.util.indexing.FileBasedIndexImpl.indexFileContent(FileBasedIndexImpl.java:1428)
    at com.intellij.util.indexing.FileBasedIndexImpl.processRefreshedFile(FileBasedIndexImpl.java:1368)
    at com.intellij.util.indexing.FileBasedIndexImpl$VirtualFileUpdateTask.doProcess(FileBasedIndexImpl.java:1741)
    at com.intellij.util.indexing.FileBasedIndexImpl$VirtualFileUpdateTask.doProcess(FileBasedIndexImpl.java:1735)
    at com.intellij.util.indexing.UpdateTask.process(UpdateTask.java:63)
    at com.intellij.util.indexing.UpdateTask.processAll(UpdateTask.java:32)
    at com.intellij.util.indexing.FileBasedIndexImpl.forceUpdate(FileBasedIndexImpl.java:1758)
    at com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:842)
    at com.intellij.psi.stubs.StubIndexEx.getContainingIds(StubIndexEx.java:367)
    at com.intellij.psi.stubs.StubIndexEx.processElements(StubIndexEx.java:177)
    at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:107)
    at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:95)
    at com.intellij.psi.impl.java.stubs.index.JavaFullClassNameIndex.getClasses(JavaFullClassNameIndex.java:37)
    at com.intellij.psi.impl.file.impl.JavaFileManagerImpl.doFindClasses(JavaFileManagerImpl.java:82)
    at com.intellij.psi.impl.file.impl.JavaFileManagerImpl.findClasses(JavaFileManagerImpl.java:70)
    at com.intellij.psi.impl.PsiElementFinderImpl.findClasses(PsiElementFinderImpl.java:54)
    at com.intellij.psi.impl.JavaPsiFacadeImpl.findClassesWithoutJvmFacade(JavaPsiFacadeImpl.java:172)
    at com.intellij.psi.impl.JavaPsiFacadeImpl.findClassesWithJvmFacade(JavaPsiFacadeImpl.java:144)
    at com.intellij.psi.impl.JavaPsiFacadeImpl.findClasses(JavaPsiFacadeImpl.java:137)
    at com.intellij.execution.filters.ExceptionInfoCache.findClassesPreferringMyScope(ExceptionInfoCache.java:37)
    at com.intellij.execution.filters.ExceptionInfoCache.resolveClass(ExceptionInfoCache.java:68)
    at com.intellij.execution.filters.ExceptionInfoCache.resolveClassOrFile(ExceptionInfoCache.java:43)
    at com.intellij.execution.filters.ExceptionLineParserImpl.execute(ExceptionLineParserImpl.java:84)
    at com.intellij.execution.filters.ExceptionFilter.applyFilter(ExceptionFilter.java:45)
    at org.jetbrains.kotlin.idea.debugger.core.KotlinExceptionFilter.access$applyFilter$s1178634375(KotlinExceptionFilter.kt:27)
    at org.jetbrains.kotlin.idea.debugger.core.KotlinExceptionFilter$applyFilter$1.invoke(KotlinExceptionFilter.kt:30)
    at org.jetbrains.kotlin.idea.debugger.core.KotlinExceptionFilter$applyFilter$1.invoke(KotlinExceptionFilter.kt:29)
    at com.intellij.openapi.application.ActionsKt.runReadAction$lambda$3(actions.kt:31)
    at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runReadAction$lambda$3(AnyThreadWriteThreadingSupport.kt:231)
    at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runReadAction(AnyThreadWriteThreadingSupport.kt:243)
    at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runReadAction(AnyThreadWriteThreadingSupport.kt:231)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:840)
    at com.intellij.openapi.application.ActionsKt.runReadAction(actions.kt:31)
    at org.jetbrains.kotlin.idea.debugger.core.KotlinExceptionFilter.applyFilter(KotlinExceptionFilter.kt:29)
    at com.intellij.execution.filters.CompositeFilter.applyFilter(CompositeFilter.java:67)
    ... 41 more
Caused by: java.lang.NoClassDefFoundError: com/intellij/json/JsonParserDefinition
    at java.base/java.lang.ClassLoader.defineClass2(Native Method)
    at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1118)
    at com.intellij.util.lang.UrlClassLoader.consumeClassData(UrlClassLoader.java:303)
    at com.intellij.util.lang.ZipResourceFile.findClass(ZipResourceFile.java:115)
    at com.intellij.util.lang.JarLoader.findClass(JarLoader.java:58)
    at com.intellij.util.lang.ClassPath.findClassInLoader(ClassPath.java:240)
    at com.intellij.util.lang.ClassPath.findClass(ClassPath.java:190)
    at com.intellij.ide.plugins.cl.PluginClassLoader.loadClassInsideSelf(PluginClassLoader.kt:325)
    ... 112 more
Caused by: java.lang.ClassNotFoundException: com.intellij.json.JsonParserDefinition PluginClassLoader(plugin=PluginDescriptor(name=Avro Schema Support, id=net.sf.opk.avro-schema-support, descriptorPath=plugin.xml, path=~\AppData\Roaming\JetBrains\IntelliJIdea2024.3\plugins\avro-schema-support, version=223.3.2, package=null, isBundled=false), packagePrefix=null, state=active, parents=PluginDescriptor(name=IDEA CORE, id=com.intellij, moduleName=intellij.platform.vcs.impl, descriptorPath=intellij.platform.vcs.impl.xml, path=~\AppData\Local\Programs\IntelliJ IDEA Ultimate\lib, version=243.12818.47, package=null, isBundled=true), PluginDescriptor(name=IDEA CORE, id=com.intellij, moduleName=intellij.platform.vcs.log.impl, descriptorPath=intellij.platform.vcs.log.impl.xml, path=~\AppData\Local\Programs\IntelliJ IDEA Ultimate\lib, version=243.12818.47, package=null, isBundled=true), PluginDescriptor(name=IDEA CORE, id=com.intellij, moduleName=intellij.platform.vcs.dvcs.impl, descriptorPath=intellij.platform.vcs.dvcs.impl.xml, path=~\AppData\Local\Programs\IntelliJ IDEA Ultimate\lib, version=243.12818.47, package=null, isBundled=true), PluginDescriptor(name=IDEA CORE, id=com.intellij, moduleName=intellij.platform.collaborationTools, descriptorPath=intellij.platform.collaborationTools.xml, path=~\AppData\Local\Programs\IntelliJ IDEA Ultimate\lib, version=243.12818.47, package=null, isBundled=true), )
    at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.kt:157)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
    ... 120 more
opwvhk commented 2 months ago

Same cause as #178 (duplicate with different stack trace)