java.lang.IllegalStateException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • No completion and assertion error in log
    via by Unknown author,
  • Kotlin script files can't be edited in IDEA
    via by Unknown author,
    • java.lang.IllegalStateException: @NotNull method org/jetbrains/kotlin/descriptors/impl/ConstructorDescriptorImpl.substitute must not return null at org.jetbrains.kotlin.descriptors.impl.ConstructorDescriptorImpl.substitute(ConstructorDescriptorImpl.java:106) at org.jetbrains.kotlin.idea.completion.smart.TypeInstantiationItems.createTypeInstantiationItem(TypeInstantiationItems.kt:213) at org.jetbrains.kotlin.idea.completion.smart.TypeInstantiationItems.addTo(TypeInstantiationItems.kt:95) at org.jetbrains.kotlin.idea.completion.smart.TypeInstantiationItems.addTo(TypeInstantiationItems.kt:78) at org.jetbrains.kotlin.idea.completion.smart.SmartCompletion.additionalItemsNoPostProcess(SmartCompletion.kt:209) at org.jetbrains.kotlin.idea.completion.smart.SmartCompletion.additionalItems(SmartCompletion.kt:95) at org.jetbrains.kotlin.idea.completion.BasicCompletionSession$ALL$1$doComplete$1.invoke(BasicCompletionSession.kt:191) at org.jetbrains.kotlin.idea.completion.BasicCompletionSession$ALL$1$doComplete$contextVariableTypesForSmartCompletion$1.invoke(BasicCompletionSession.kt:204) at org.jetbrains.kotlin.idea.completion.BasicCompletionSession$ALL$1$doComplete$contextVariableTypesForSmartCompletion$1.invoke(BasicCompletionSession.kt:159) at org.jetbrains.kotlin.idea.completion.CompletionSession.withCollectRequiredContextVariableTypes(CompletionSession.kt:419) at org.jetbrains.kotlin.idea.completion.BasicCompletionSession$ALL$1.doComplete(BasicCompletionSession.kt:204) at org.jetbrains.kotlin.idea.completion.BasicCompletionSession.doComplete(BasicCompletionSession.kt:130) at org.jetbrains.kotlin.idea.completion.CompletionSession.complete(CompletionSession.kt:235) at org.jetbrains.kotlin.idea.completion.KotlinCompletionContributor.doComplete(KotlinCompletionContributor.kt:300) at org.jetbrains.kotlin.idea.completion.KotlinCompletionContributor.doComplete$default(KotlinCompletionContributor.kt:261) at org.jetbrains.kotlin.idea.completion.KotlinCompletionContributor.performCompletion(KotlinCompletionContributor.kt:254) at org.jetbrains.kotlin.idea.completion.KotlinCompletionContributor.access$performCompletion(KotlinCompletionContributor.kt:48) at org.jetbrains.kotlin.idea.completion.KotlinCompletionContributor$provider$1.addCompletions(KotlinCompletionContributor.kt:61) at com.intellij.codeInsight.completion.CompletionProvider.addCompletionVariants(CompletionProvider.java:36) at com.intellij.codeInsight.completion.CompletionContributor.fillCompletionVariants(CompletionContributor.java:155) at com.intellij.codeInsight.completion.CompletionService.getVariantsFromContributors(CompletionService.java:81) at com.intellij.codeInsight.completion.CompletionResultSet.runRemainingContributors(CompletionResultSet.java:132) at com.intellij.codeInsight.completion.CompletionResultSet.runRemainingContributors(CompletionResultSet.java:125) at com.intellij.codeInsight.template.impl.LiveTemplateCompletionContributor$2.addCompletions(LiveTemplateCompletionContributor.java:90) at com.intellij.codeInsight.completion.CompletionProvider.addCompletionVariants(CompletionProvider.java:36) at com.intellij.codeInsight.completion.CompletionContributor.fillCompletionVariants(CompletionContributor.java:155) at com.intellij.codeInsight.completion.CompletionService.getVariantsFromContributors(CompletionService.java:81) at com.intellij.codeInsight.completion.CompletionService.performCompletion(CompletionService.java:110) at com.intellij.codeInsight.completion.CompletionProgressIndicator.a(CompletionProgressIndicator.java:776) at com.intellij.codeInsight.completion.CompletionProgressIndicator.access$500(CompletionProgressIndicator.java:90) at com.intellij.codeInsight.completion.CompletionProgressIndicator$1CalculateItems.run(CompletionProgressIndicator.java:758) at com.intellij.codeInsight.completion.AsyncCompletion.b(CompletionThreading.java:87) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:856) at com.intellij.codeInsight.completion.AsyncCompletion.a(CompletionThreading.java:84) at com.intellij.openapi.progress.impl.CoreProgressManager$3.run(CoreProgressManager.java:170) at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:494) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:443) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:155) at com.intellij.codeInsight.completion.AsyncCompletion.a(CompletionThreading.java:82) at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:308) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)
    No Bugmate found.