Crash Report: java.lang.IllegalArgumentException: Argument for @NotNull parameter 'schemaObject' of opwvhk/intellij/avro_idl/json_schema/AvroJsonSchemaPsiWalkerFactory.create must not be null #174
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.0.2
JVM: OpenJDK 64-Bit Server VM (JetBrains s.r.o.) 17.0.11+1-b1312.2
OS: Mac OS X (aarch64) 14.6.1
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.GeneratedConstructorAccessor154.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.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:57)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:418)
at com.intellij.platform.diagnostic.telemetry.helpers.TraceKt.runWithSpanIgnoreThrows(trace.kt:118)
at com.intellij.platform.diagnostic.telemetry.helpers.TraceUtil.runWithSpanThrows(TraceUtil.java:36)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$3(PassExecutorService.java:413)
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.PassExecutorService$ScheduledPass.lambda$doRun$4(PassExecutorService.java:404)
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.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:403)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:379)
at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.cacheFileTypesInside(FileTypeManagerImpl.java:802)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$1(PassExecutorService.java:379)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.executeByImpatientReader(AnyThreadWriteThreadingSupport.kt:486)
at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:179)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:377)
at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:190)
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.inspections.JsonSchemaDeprecationInspection$1.annotate(JsonSchemaDeprecationInspection.java:45)
at com.jetbrains.jsonSchema.impl.inspections.JsonSchemaDeprecationInspection$1.visitProperty(JsonSchemaDeprecationInspection.java:37)
at com.intellij.json.psi.impl.JsonPropertyImpl.accept(JsonPropertyImpl.java:21)
at com.intellij.json.psi.impl.JsonPropertyImpl.accept(JsonPropertyImpl.java:26)
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:207)
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.0.2
17.0.11+1-b1312.2
14.6.1
Exception