Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled exception: com.intellij.diagnostic.PluginException: Unable to find template resource: /liveTemplates/zio.xml #448

Open
vasiliy-bout opened this issue Jun 23, 2023 · 0 comments

Comments

@vasiliy-bout
Copy link

The following exceptions(s) occurred in the ZIO for IntelliJ plugin:

com.intellij.diagnostic.PluginException: Unable to find template resource: /liveTemplates/zio.xml; classLoader: PluginClassLoader(plugin=PluginDescriptor(name=ZIO for IntelliJ, id=zio.intellij.zio-intellij, descriptorPath=plugin.xml, path=~/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/223.8836.41/IntelliJ IDEA.app.plugins/zio-intellij, version=2022.3.20.0.vertis1, package=null, isBundled=false), packagePrefix=null, instanceId=371, state=active); plugin: PluginInfo(type=LISTED, id=zio.intellij.zio-intellij, version=2022.3.20.0.vertis1)
	at com.intellij.codeInsight.template.impl.TemplateSettings.readDefTemplate(TemplateSettings.java:561)
	at com.intellij.codeInsight.template.impl.TemplateSettings.lambda$loadDefaultLiveTemplates$1(TemplateSettings.java:511)
	at com.intellij.openapi.extensions.impl.ExtensionPointImpl.processWithPluginDescriptor(ExtensionPointImpl.java:299)
	at com.intellij.openapi.extensions.ExtensionPointName.processWithPluginDescriptor(ExtensionPointName.java:153)
	at com.intellij.codeInsight.template.impl.TemplateSettings.loadDefaultLiveTemplates(TemplateSettings.java:503)
	at com.intellij.codeInsight.template.impl.TemplateSettings.doLoadTemplates(TemplateSettings.java:303)
	at com.intellij.codeInsight.template.impl.TemplateSettings.<init>(TemplateSettings.java:283)
	at com.intellij.codeInsight.template.impl.TemplateSettings.<init>(TemplateSettings.java:193)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
	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 com.intellij.serviceContainer.ConstructorInjectionKt.instantiateUsingPicoContainer(constructorInjection.kt:49)
	at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClassWithConstructorInjection(ComponentManagerImpl.kt:996)
	at com.intellij.serviceContainer.ServiceComponentAdapter.createAndInitialize(ServiceComponentAdapter.kt:43)
	at com.intellij.serviceContainer.ServiceComponentAdapter.doCreateInstance(ServiceComponentAdapter.kt:39)
	at com.intellij.serviceContainer.BaseComponentAdapter.doCreateInstance(BaseComponentAdapter.kt:154)
	at com.intellij.serviceContainer.BaseComponentAdapter.createInstance$lambda$1(BaseComponentAdapter.kt:133)
	at com.intellij.openapi.progress.Cancellation.computeInNonCancelableSection(Cancellation.java:99)
	at com.intellij.serviceContainer.BaseComponentAdapter.createInstance(BaseComponentAdapter.kt:132)
	at com.intellij.serviceContainer.BaseComponentAdapter.getInstance(BaseComponentAdapter.kt:92)
	at com.intellij.serviceContainer.ComponentManagerImpl.doGetService(ComponentManagerImpl.kt:673)
	at com.intellij.serviceContainer.ComponentManagerImpl.getService(ComponentManagerImpl.kt:629)
	at com.intellij.codeInsight.template.impl.TemplateSettings.getInstance(TemplateSettings.java:307)
	at com.intellij.codeInsight.template.impl.LiveTemplatesOptionsTopHitProvider.getOptions(LiveTemplatesOptionsTopHitProvider.java:24)
	at com.intellij.ide.ui.TopHitCache$getCachedOptions$1.invoke(TopHitCache.kt:56)
	at com.intellij.ide.ui.TopHitCache$getCachedOptions$1.invoke(TopHitCache.kt:52)
	at com.intellij.ide.ui.TopHitCache.getCachedOptions$lambda$1(TopHitCache.kt:52)
	at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)
	at com.intellij.ide.ui.TopHitCache.getCachedOptions(TopHitCache.kt:52)
	at com.intellij.ide.ui.OptionsTopHitProviderKt.getCachedOptions(OptionsTopHitProvider.kt:175)
	at com.intellij.ide.ui.OptionsTopHitProviderKt.cacheAll(OptionsTopHitProvider.kt:138)
	at com.intellij.ide.ui.OptionsTopHitProviderKt.access$cacheAll(OptionsTopHitProvider.kt:1)
	at com.intellij.ide.ui.OptionsTopHitProvider$Activity$1.invokeSuspend(OptionsTopHitProvider.kt:118)
	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:570)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)

Additional information:

ZIO plugin version: 2022.3.20.0.vertis1
Scala plugin version: 2022.3.20
ZIO version(s): 2.0.6
Scala version(s): 2.13.9_1798c1ef
sbt version: 1.8.0
IntelliJ version: IntelliJ IDEA 2022.3.3
Build #IU-223.8836.41
Java version: 17.0.6+1-b653.34
Operating System: aarch64 Mac OS X (12.6.5, aarch64)
JVM version: OpenJDK 64-Bit Server VM JetBrains s.r.o.

@vasiliy-bout vasiliy-bout changed the title Unhandled exception: com.intellij.diagnostic.PluginException: Unable to find template resource: /liveTemplates/zio.xml; classLoader: PluginClassLoader(plugin=PluginDescriptor(name=ZIO for IntelliJ, id=zio.intellij.zio-intellij, descriptorPath=plugin.xml, path=~/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/223.8836.41/IntelliJ IDEA.app.plugins/zio-intellij, version=2022.3.20.0.vertis1, package=null, isBundled=false), packagePrefix=null, instanceId=371, state=active); plugin: PluginInfo(type=LISTED, id=zio.intellij.zio-intellij, version=2022.3.20.0.vertis1) Unhandled exception: com.intellij.diagnostic.PluginException: Unable to find template resource: /liveTemplates/zio.xml Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant