IDE Fatal Error while indexing
See original GitHub issueDescribe the bug (*)
IDE throws error while indexing.
To Reproduce (*)
While indexing is running, it throws error in Event Log
Can't find template Magento CLI Command
com.intellij.diagnostic.PluginException: Template not found: Magento CLI Command [Plugin: com.magento.idea.magento2plugin]
at com.intellij.ide.fileTemplates.impl.FileTemplateManagerImpl.getInternalTemplates(FileTemplateManagerImpl.java:222)
at com.intellij.ide.fileTemplates.impl.AllFileTemplatesConfigurable.<init>(AllFileTemplatesConfigurable.java:96)
at com.intellij.ide.fileTemplates.impl.AllFileTemplatesConfigurable$Provider.createConfigurable(AllFileTemplatesConfigurable.java:62)
at com.intellij.openapi.options.ConfigurableEP$ProviderProducer.createElement(ConfigurableEP.java:379)
at com.intellij.openapi.options.ConfigurableEP.createConfigurable(ConfigurableEP.java:309)
at com.intellij.openapi.options.ex.ConfigurableWrapper.createConfigurable(ConfigurableWrapper.java:47)
at com.intellij.openapi.options.ex.ConfigurableWrapper.getConfigurable(ConfigurableWrapper.java:109)
at com.intellij.openapi.options.ex.ConfigurableWrapper.cast(ConfigurableWrapper.java:84)
at com.intellij.openapi.options.ex.ConfigurableCardPanel.prepare(ConfigurableCardPanel.java:38)
at com.intellij.openapi.options.ex.ConfigurableCardPanel.prepare(ConfigurableCardPanel.java:29)
at com.intellij.ui.CardLayoutPanel.lambda$selectLater$1(CardLayoutPanel.java:114)
at com.intellij.util.RunnableCallable.call(RunnableCallable.java:20)
at com.intellij.util.RunnableCallable.call(RunnableCallable.java:11)
at com.intellij.openapi.application.impl.ApplicationImpl$1.call(ApplicationImpl.java:255)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.IllegalStateException: Template not found: Magento CLI Command
at com.intellij.ide.fileTemplates.impl.FileTemplateManagerImpl.getTemplateFromManager(FileTemplateManagerImpl.java:285)
at com.intellij.ide.fileTemplates.impl.FileTemplateManagerImpl.getJ2eeTemplate(FileTemplateManagerImpl.java:271)
at com.intellij.ide.fileTemplates.impl.FileTemplateManagerImpl.getInternalTemplate(FileTemplateManagerImpl.java:234)
at com.intellij.ide.fileTemplates.impl.FileTemplateManagerImpl.getInternalTemplates(FileTemplateManagerImpl.java:219)
... 17 more
Expected behavior (*)
No error.
Screenshots
If applicable, add screenshots to help explain your problem.
Please complete the following information: (*)
- OS: MacOS 10.13
- PhpStorm/Intellij version 2020.1.2
- Version 1.0.1
Additional context
Add any other context about the problem here.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
On startup: indexing error reported in Event Log (v14.1)
I resolved the indexing error associated with the hamcrest library by deleting it from my Maven repository and re-importing it. Thanks. 0.
Read more >Fatal error initializing 'com.intellij.util.indexing.FileBasedIndex
This works without the loss any settings or project. It will take you to your previous state at the time of editing an...
Read more >Encountering ide internal error when i open my application in ...
Error while indexing C:\Program Files\Java\jdk1.8.0_60\src.zip!\javax\management\NumericValueExp.java. To reindex this file IDEA has to be restarted: ...
Read more >“.h: No such file or directory" - 2 Easy fixes to Arduino error
Error messages can be such a pain. They do, however, serve a useful purpose by telling us something about what went wrong. At...
Read more >Fatal error (couldnt find cfg) - Index - PilotLogic
6.90 on Windows 10 Pro 64 bit First of all it was surprise to obtain small IDE as default. Than after trying to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m having this again and also @artmouse. This is happening very randomly, not sure what steps to reproduce.
Hello @coderimus ,
This one might be very hard to reproduce, even for me. I’ve tried to reindex number of projects and also cannot reproduce this issue. My PhpStorm is installed by Jetbrains Toolbox anyway.
I think it’s safe to close this issue and we can reopen it in the future if more people having this same issue.
Cheers.