Crash Report: java.lang.IllegalArgumentException: Argument for @NotNull parameter 'schemaObject' of opwvhk/intellij/avro_idl/json_schema/AvroJsonSchemaPsiWalkerFactory.create must not be null #172
Plugin: Avro Schema Support 223.3.1 by Oscar Westra van Holthe - Kind (id: net.sf.opk.avro-schema-support)
IDE: IntelliJ IDEA 2024.2
JVM: OpenJDK 64-Bit Server VM (JetBrains s.r.o.) 17.0.8+7-nixos
OS: Linux (amd64) 6.9.12
Exception
java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: Argument for @NotNull parameter 'schemaObject' of opwvhk/intellij/avro_idl/json_schema/AvroJsonSchemaPsiWalkerFactory.create must not be null
at java.base/jdk.internal.reflect.GeneratedConstructorAccessor1322.newInstance(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
at java.base/java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:562)
at java.base/java.util.concurrent.ForkJoinTask.reportException(ForkJoinTask.java:591)
at java.base/java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:689)
at com.intellij.concurrency.JobLauncherImpl.procInOrderAsync(JobLauncherImpl.java:554)
at com.intellij.codeInsight.daemon.impl.InspectionRunner.lambda$inspect$12(InspectionRunner.java:202)
at com.intellij.codeInspection.InspectionEngine.withSession(InspectionEngine.java:205)
at com.intellij.codeInsight.daemon.impl.InspectionRunner.inspect(InspectionRunner.java:162)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.collectInformationWithProgress(LocalInspectionsPass.java:140)
at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
at com.intellij.codeInsight.daemon.impl.DaemonCodeAnalyzerImpl.lambda$runMainPasses$5(DaemonCodeAnalyzerImpl.java:435)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runReadAction(AnyThreadWriteThreadingSupport.kt:228)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runReadAction(AnyThreadWriteThreadingSupport.kt:221)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:857)
at com.intellij.openapi.application.ReadAction.compute(ReadAction.java:66)
at com.intellij.codeInsight.daemon.impl.DaemonCodeAnalyzerImpl.lambda$runMainPasses$6(DaemonCodeAnalyzerImpl.java:434)
at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:139)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.tryRunReadAction(AnyThreadWriteThreadingSupport.kt:279)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:965)
at com.intellij.concurrency.ApplierCompleter.lambda$wrapInReadActionAndIndicator$1(ApplierCompleter.java:96)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:660)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:735)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:691)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:659)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:79)
at com.intellij.concurrency.ApplierCompleter.wrapInReadActionAndIndicator(ApplierCompleter.java:108)
at com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:89)
at com.intellij.concurrency.JobLauncherImpl.invokeConcurrentlyUnderProgress(JobLauncherImpl.java:66)
at com.intellij.concurrency.JobLauncher.invokeConcurrentlyUnderProgress(JobLauncher.java:52)
at com.intellij.codeInsight.daemon.impl.DaemonCodeAnalyzerImpl.lambda$runMainPasses$7(DaemonCodeAnalyzerImpl.java:434)
at com.intellij.openapi.project.DumbService.runReadActionInSmartMode$lambda$0(DumbService.kt:83)
at com.intellij.openapi.project.DumbService.runReadActionInSmartMode$lambda$2(DumbService.kt:135)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runReadAction(AnyThreadWriteThreadingSupport.kt:264)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runReadAction(AnyThreadWriteThreadingSupport.kt:221)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:857)
at com.intellij.openapi.application.ReadAction.compute(ReadAction.java:66)
at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.kt:128)
at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.kt:83)
at com.intellij.codeInsight.daemon.impl.DaemonCodeAnalyzerImpl.runMainPasses(DaemonCodeAnalyzerImpl.java:430)
at com.intellij.codeInsight.daemon.impl.MainPassesRunner.lambda$runMainPasses$11(MainPassesRunner.java:203)
at com.intellij.codeInspection.ex.InspectionProfileWrapper.runWithCustomInspectionWrapper(InspectionProfileWrapper.java:90)
at com.intellij.codeInsight.daemon.impl.MainPassesRunner.runMainPasses(MainPassesRunner.java:202)
at com.intellij.codeInsight.daemon.impl.MainPassesRunner.lambda$runMainPasses$8(MainPassesRunner.java:179)
at com.intellij.codeInsight.daemon.impl.HighlightingSessionImpl.runInsideHighlightingSession(HighlightingSessionImpl.java:170)
at com.intellij.codeInsight.daemon.impl.MainPassesRunner.lambda$runMainPasses$9(MainPassesRunner.java:177)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:217)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:660)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:735)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:691)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:659)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:79)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:202)
at com.intellij.codeInsight.daemon.impl.MainPassesRunner.runMainPasses(MainPassesRunner.java:176)
at com.intellij.codeInsight.daemon.impl.MainPassesRunner.lambda$runMainPasses$3(MainPassesRunner.java:144)
at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:139)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:660)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:735)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:691)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:659)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:79)
at com.intellij.concurrency.ApplierCompleter.wrapInReadActionAndIndicator(ApplierCompleter.java:108)
at com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:89)
at java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:754)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Caused by: java.lang.IllegalArgumentException: Argument for @NotNull parameter 'schemaObject' of opwvhk/intellij/avro_idl/json_schema/AvroJsonSchemaPsiWalkerFactory.create must not be null
at opwvhk.intellij.avro_idl.json_schema.AvroJsonSchemaPsiWalkerFactory.$$$reportNull$$$0(AvroJsonSchemaPsiWalkerFactory.java)
at opwvhk.intellij.avro_idl.json_schema.AvroJsonSchemaPsiWalkerFactory.create(AvroJsonSchemaPsiWalkerFactory.java)
at com.jetbrains.jsonSchema.extension.JsonLikePsiWalker.lambda$getWalker$1(JsonLikePsiWalker.java:90)
at java.base/java.util.Optional.map(Optional.java:260)
at com.jetbrains.jsonSchema.extension.JsonLikePsiWalker.getWalker(JsonLikePsiWalker.java:90)
at com.jetbrains.jsonSchema.extension.JsonLikePsiWalker.getWalker(JsonLikePsiWalker.java:81)
at com.jetbrains.jsonSchema.impl.tree.IfThenElseBranchOperation.getContainingObjectAdapterOrSelf(IfThenElseBranchOperation.kt:71)
at com.jetbrains.jsonSchema.impl.tree.IfThenElseBranchOperation.computeEffectiveIfThenElseBranches(IfThenElseBranchOperation.kt:40)
at com.jetbrains.jsonSchema.impl.tree.IfThenElseBranchOperation.map(IfThenElseBranchOperation.kt:15)
at com.jetbrains.jsonSchema.impl.tree.Operation.doMap(Operation.java:40)
at com.jetbrains.jsonSchema.impl.tree.Operation.doMap(Operation.java:43)
at com.jetbrains.jsonSchema.impl.tree.Operation.doMap(Operation.java:43)
at com.jetbrains.jsonSchema.impl.tree.Operation.doMap(Operation.java:43)
at com.jetbrains.jsonSchema.impl.tree.Operation.doMap(Operation.java:43)
at com.jetbrains.jsonSchema.impl.tree.Operation.doMap(Operation.java:43)
at com.jetbrains.jsonSchema.impl.JsonSchemaVariantsTreeBuilder.getOperation(JsonSchemaVariantsTreeBuilder.java:105)
at com.jetbrains.jsonSchema.impl.JsonSchemaVariantsTreeBuilder.expandChildSchema(JsonSchemaVariantsTreeBuilder.java:94)
at com.jetbrains.jsonSchema.impl.JsonSchemaVariantsTreeBuilder.buildTree(JsonSchemaVariantsTreeBuilder.java:35)
at com.jetbrains.jsonSchema.impl.JsonSchemaResolver.detailedResolve(JsonSchemaResolver.java:70)
at com.jetbrains.jsonSchema.impl.JsonSchemaResolver.resolve(JsonSchemaResolver.java:75)
at com.intellij.json.JsonSchemaSpellcheckerClient.matchesNameFromSchema(JsonSchemaSpellcheckerClient.java:53)
at com.intellij.json.JsonSpellcheckerStrategy.getTokenizer(JsonSpellcheckerStrategy.java:48)
at com.intellij.spellchecker.tokenizer.SpellcheckingStrategy.getTokenizer(SpellcheckingStrategy.java:55)
at com.intellij.spellchecker.inspections.SpellCheckingInspection.tokenize(SpellCheckingInspection.java:136)
at com.intellij.spellchecker.inspections.SpellCheckingInspection.tokenize(SpellCheckingInspection.java:132)
at com.intellij.spellchecker.inspections.SpellCheckingInspection$1.visitElement(SpellCheckingInspection.java:102)
at com.intellij.psi.impl.PsiElementBase.accept(PsiElementBase.java:270)
at com.intellij.json.psi.impl.JsonLiteralImpl.accept(JsonLiteralImpl.java:26)
at com.intellij.json.psi.impl.JsonStringLiteralImpl.accept(JsonStringLiteralImpl.java:29)
at com.intellij.codeInsight.daemon.impl.InspectionRunner$InspectionProblemHolder.visitElement(InspectionRunner.java:598)
at com.intellij.codeInsight.daemon.impl.InspectionRunner.lambda$processContext$20(InspectionRunner.java:415)
at com.intellij.codeInsight.daemon.impl.InspectionVisitorOptimizer.acceptElements(InspectionVisitorOptimizer.java:197)
at com.intellij.codeInsight.daemon.impl.InspectionRunner.processContext(InspectionRunner.java:413)
at com.intellij.codeInsight.daemon.impl.InspectionRunner.lambda$inspect$7(InspectionRunner.java:192)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.tryRunReadAction(AnyThreadWriteThreadingSupport.kt:291)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:965)
at com.intellij.codeInsight.daemon.impl.InspectionRunner.lambda$executeInImpatientReadAction$17(InspectionRunner.java:394)
at com.intellij.util.AstLoadingFilter.forceAllowTreeLoading(AstLoadingFilter.java:158)
at com.intellij.util.AstLoadingFilter.forceAllowTreeLoading(AstLoadingFilter.java:150)
at com.intellij.codeInsight.daemon.impl.InspectionRunner.lambda$executeInImpatientReadAction$18(InspectionRunner.java:385)
at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:129)
at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:118)
at com.intellij.codeInsight.daemon.impl.InspectionRunner.executeInImpatientReadAction(InspectionRunner.java:385)
at com.intellij.codeInsight.daemon.impl.InspectionRunner.lambda$inspect$8(InspectionRunner.java:191)
at com.intellij.concurrency.JobLauncherImpl$2MyProcessQueueTask.lambda$call$0(JobLauncherImpl.java:494)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:660)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:735)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:691)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:659)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:79)
at com.intellij.concurrency.JobLauncherImpl$2MyProcessQueueTask.call(JobLauncherImpl.java:483)
at com.intellij.concurrency.JobLauncherImpl$2MyProcessQueueTask.call(JobLauncherImpl.java:471)
at java.base/java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1428)
... 5 more
Crash Report
What happened
(The user did not submit additional information)
Context information
223.3.1
by Oscar Westra van Holthe - Kind (id: net.sf.opk.avro-schema-support)2024.2
17.0.8+7-nixos
6.9.12
Exception