java.lang.NullPointerException: getService(T::class.java) must not be null
Additional info
/
Stack trace
java.lang.NullPointerException: getService(T::class.java) must not be null
at dev.azn9.plugins.discord.settings.ProjectSettingsKt.getSettings(ProjectSettings.kt:54)
at dev.azn9.plugins.discord.settings.impl.ProjectSettingsImpl.(ProjectSettingsImpl.kt:35)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at com.intellij.serviceContainer.ConstructorInjectionKt.instantiateUsingPicoContainer(constructorInjection.kt:52)
at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClassWithConstructorInjection(ComponentManagerImpl.kt:876)
at com.intellij.serviceContainer.ServiceComponentAdapter.createAndInitialize(ServiceComponentAdapter.kt:47)
at com.intellij.serviceContainer.ServiceComponentAdapter.doCreateInstance(ServiceComponentAdapter.kt:37)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstanceUncached(BaseComponentAdapter.kt:113)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstance(BaseComponentAdapter.kt:67)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstance$default(BaseComponentAdapter.kt:60)
at com.intellij.serviceContainer.ComponentManagerImpl.doGetService(ComponentManagerImpl.kt:595)
at com.intellij.serviceContainer.ComponentManagerImpl.getService(ComponentManagerImpl.kt:569)
at com.intellij.openapi.client.ClientAwareComponentManager.getFromSelfOrCurrentSession(ClientAwareComponentManager.kt:37)
at com.intellij.openapi.client.ClientAwareComponentManager.getService(ClientAwareComponentManager.kt:22)
at dev.azn9.plugins.discord.settings.ProjectSettingsKt.getSettings(ProjectSettings.kt:54)
at dev.azn9.plugins.discord.postLoad.NotificationPostStartupActivity.checkAskShowProject(NotificationPostStartupActivity.kt:60)
at dev.azn9.plugins.discord.postLoad.NotificationPostStartupActivity.access$checkAskShowProject(NotificationPostStartupActivity.kt:34)
at dev.azn9.plugins.discord.postLoad.NotificationPostStartupActivity$runActivity$1.invokeSuspend(NotificationPostStartupActivity.kt:40)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
IDE version
PyCharm 2021.3.3 (PC-213.7172.26)
OS
Windows 10
Java version
11.0.14.1
Plugin version
2.1.0.212
Error message
java.lang.NullPointerException: getService(T::class.java) must not be null
Additional info
/
Stack trace
Issue hash:
77f1159cb7876883e3f06361072c6333