question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PhpStorm 2020.3 exception - XML include processing is disabled during indexing, please fix callers who insists on enabling it

See original GitHub issue

Describe the bug (*)

PhpStorm Error Notification

java.lang.Throwable: XML include processing is disabled during indexing, please fix callers who insists on enabling it
	at com.intellij.openapi.diagnostic.Logger.error(Logger.java:159)
	at com.intellij.xml.util.InclusionProvider.getIncludedTags(InclusionProvider.java:35)
	at com.intellij.xml.util.XmlPsiUtil$XmlElementProcessor.processXmlElements(XmlPsiUtil.java:118)
	at com.intellij.xml.util.XmlPsiUtil.processXmlElements(XmlPsiUtil.java:52)
	at com.intellij.xml.util.XmlPsiUtil.processXmlElements(XmlPsiUtil.java:43)
	at com.intellij.xml.util.XmlPsiUtil.processXmlElements(XmlPsiUtil.java:35)
	at com.intellij.xml.util.XmlPsiUtil.processXmlElements(XmlPsiUtil.java:29)
	at com.intellij.psi.impl.source.xml.XmlElementImpl.processElements(XmlElementImpl.java:47)
	at com.intellij.psi.impl.source.xml.XmlTagValueImpl.createXmlTagValue(XmlTagValueImpl.java:167)
	at com.intellij.psi.impl.source.xml.XmlTagImpl.createXmlTagValue(XmlTagImpl.java:279)
	at com.intellij.psi.impl.source.xml.XmlTagImpl.getValue(XmlTagImpl.java:292)
	at com.magento.idea.magento2plugin.stubs.indexes.xml.PhpClassNameIndex.fillMap(PhpClassNameIndex.java:70)
	at com.magento.idea.magento2plugin.stubs.indexes.xml.PhpClassNameIndex.lambda$getIndexer$0(PhpClassNameIndex.java:52)
	at com.intellij.util.indexing.impl.MapReduceIndex.mapByIndexer(MapReduceIndex.java:291)
	at com.intellij.util.indexing.impl.MapReduceIndex.mapInput(MapReduceIndex.java:283)
	at com.intellij.util.indexing.impl.storage.VfsAwareMapReduceIndex.mapInput(VfsAwareMapReduceIndex.java:168)
	at com.intellij.util.indexing.impl.storage.VfsAwareMapReduceIndex.mapInput(VfsAwareMapReduceIndex.java:46)
	at com.intellij.util.indexing.impl.MapReduceIndex.mapInputAndPrepareUpdate(MapReduceIndex.java:226)
	at com.intellij.indexing.shared.platform.impl.MergedInvertedIndex.updateBaseIndex(MergedInvertedIndex.java:324)
	at com.intellij.indexing.shared.platform.impl.MergedInvertedIndex.mapInputAndPrepareUpdate(MergedInvertedIndex.java:112)
	at com.intellij.indexing.shared.platform.impl.MergedInvertedIndex.mapInputAndPrepareUpdate(MergedInvertedIndex.java:38)
	at com.intellij.util.indexing.FileBasedIndexImpl.updateSingleIndex(FileBasedIndexImpl.java:1474)
	at com.intellij.util.indexing.FileBasedIndexImpl.lambda$doIndexFileContent$23(FileBasedIndexImpl.java:1356)
	at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.freezeFileTypeTemporarilyIn(FileTypeManagerImpl.java:555)
	at com.intellij.util.indexing.FileBasedIndexImpl.doIndexFileContent(FileBasedIndexImpl.java:1326)
	at com.intellij.util.indexing.FileBasedIndexImpl.indexFileContent(FileBasedIndexImpl.java:1253)
	at com.intellij.util.indexing.contentQueue.IndexUpdateRunner.lambda$indexOneFileOfJob$2(IndexUpdateRunner.java:251)
	at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.insideReadAction(NonBlockingReadActionImpl.java:521)
	at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.lambda$attemptComputation$3(NonBlockingReadActionImpl.java:468)
	at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1137)
	at com.intellij.openapi.progress.util.ProgressIndicatorUtils.lambda$runInReadActionWithWriteActionPriority$0(ProgressIndicatorUtils.java:76)
	at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runActionAndCancelBeforeWrite(ProgressIndicatorUtils.java:152)
	at com.intellij.openapi.progress.util.ProgressIndicatorUtils.lambda$runWithWriteActionPriority$1(ProgressIndicatorUtils.java:113)
	at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:59)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:178)
	at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:658)
	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:610)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:65)
	at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:165)
	at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:59)
	at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runWithWriteActionPriority(ProgressIndicatorUtils.java:110)
	at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runInReadActionWithWriteActionPriority(ProgressIndicatorUtils.java:76)
	at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.attemptComputation(NonBlockingReadActionImpl.java:486)
	at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.executeSynchronously(NonBlockingReadActionImpl.java:422)
	at com.intellij.openapi.application.impl.NonBlockingReadActionImpl.executeSynchronously(NonBlockingReadActionImpl.java:186)
	at com.intellij.util.indexing.contentQueue.IndexUpdateRunner.indexOneFileOfJob(IndexUpdateRunner.java:254)
	at com.intellij.util.indexing.contentQueue.IndexUpdateRunner.lambda$indexJobsFairly$1(IndexUpdateRunner.java:196)
	at com.intellij.openapi.progress.impl.ProgressSuspender.executeNonSuspendableSection(ProgressSuspender.java:83)
	at com.intellij.util.indexing.contentQueue.IndexUpdateRunner.indexJobsFairly(IndexUpdateRunner.java:199)
	at com.intellij.util.indexing.contentQueue.IndexUpdateRunner.lambda$doIndexFiles$0(IndexUpdateRunner.java:133)
	at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:216)
	at com.intellij.util.concurrency.BoundedTaskExecutor.access$200(BoundedTaskExecutor.java:27)
	at com.intellij.util.concurrency.BoundedTaskExecutor$1.execute(BoundedTaskExecutor.java:195)
	at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:208)
	at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:184)
	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.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
	at java.base/java.lang.Thread.run(Thread.java:834)

To Reproduce (*)

  1. There is not specific conditions for reproduce this issue.

Expected behavior (*)

Works without any errors.

Screenshots

image

Please complete the following information: (*)

  • OS: MacOS 10.15.7
  • PhpStorm version: PhpStorm 2020.3 Build #PS-203.5981.175, built on December 2, 2020
  • Plugin Version: 2.0.2

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
VitaliyBoykocommented, Dec 10, 2020

Already fixed it. To be published soon.

2reactions
VitaliyBoykocommented, Dec 8, 2020

Caused by platform update to Java 11. Working on fixes. Keep you posted.

Read more comments on GitHub >

github_iconTop Results From Across the Web

stop Indexing please!!!!!!! – IDEs Support (IntelliJ Platform)
There is no way to cancel/disable indexing - it is a core feature, all WebStorm functionality (syntax/error highlighting, code completion, code ...
Read more >
Magicento, PhpStorm (PHP IDE) plugin for Magento
Magicento. Magicento is a PHPStorm plugin for Magento developers. Features include: Goto for factories and template paths, autocomplete for factories, xml files ...
Read more >
JetBrains/intellij-scala - Gitter
Hi. When I see a yellow squiggly line under a dependency in my build.sbt , I can see that there is a context...
Read more >
WhatsNew 1.6 | Ktor Framework
JMXReporter not included in ktor-metrics:1.6.8 ... IntelliJ IDEA Plugin ... Backport Client Certificate Authentication fix to Ktor v1.x.
Read more >
Search Results - CVE
Versions 0.7.2 and 0.8.2 contain a fix for the issue. ... Users who enable auth but do not override this setting in Flyte...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found