Skip to content

Bug Report 2025/12/10 #2612

@MFS-AliaksandrZ

Description

@MFS-AliaksandrZ

Describe the bug (*)

Magento PhpStorm plugin breaks in latest PhpStorm version.

java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.nio.file.InvalidPathException: Illegal char <|> at index 72: //wsl.localhost/Ubuntu-22.04/home/src/generated/metadata/primary|global|plugin-list.php
	at com.intellij.util.ExceptionUtil.rethrow(ExceptionUtil.java:147)
	at com.intellij.openapi.progress.util.ProgressIndicatorUtils.awaitWithCheckCanceled(ProgressIndicatorUtils.java:402)
	at com.intellij.openapi.progress.util.ProgressIndicatorUtils.awaitWithCheckCanceled(ProgressIndicatorUtils.java:363)
	at com.intellij.openapi.vfs.DiskQueryRelay.accessDiskWithCheckCanceled(DiskQueryRelay.java:83)
	at com.intellij.openapi.vfs.impl.local.LocalFileSystemImpl.contentsToByteArray(LocalFileSystemImpl.java:298)
	at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.contentsToByteArray(PersistentFSImpl.java:907)
	at com.intellij.openapi.vfs.newvfs.impl.VirtualFileImpl.contentsToByteArray(VirtualFileImpl.java:131)
	at com.intellij.util.indexing.contentQueue.CachedFileContent.getBytes(CachedFileContent.java:30)
	at com.intellij.util.indexing.contentQueue.CachedFileContent.getBytesOrEmpty(CachedFileContent.java:42)
	at com.intellij.util.indexing.FileBasedIndexImpl.lambda$doIndexFileContent$20(FileBasedIndexImpl.java:1509)
	at com.intellij.util.indexing.FileContentImpl.computeOriginalContent(FileContentImpl.java:191)
	at com.intellij.util.indexing.FileContentImpl.getContentAsText(FileContentImpl.java:185)
	at com.intellij.util.indexing.FileContentImpl.getContent(FileContentImpl.java:168)
	at com.intellij.util.indexing.IndexedHashesSupport.getOrInitIndexedHash(IndexedHashesSupport.java:35)
	at com.intellij.indexing.shared.platform.hash.SharedIndexMainContentHashProvider.computeHash(SharedIndexMainHash.kt:82)
	at com.intellij.indexing.shared.platform.hash.SharedIndexMainContentHashProvider.computeHash(SharedIndexMainHash.kt:79)
	at com.intellij.indexing.shared.platform.impl.SharedIndexChunk.tryEnumerate(ChunkManager.kt:118)
	at com.intellij.indexing.shared.platform.impl.ChunkManager.tryEnumerateContentHash(ChunkManager.kt:30)
	at com.intellij.indexing.shared.platform.impl.SharedIndexChunkConfigurationImpl.tryEnumerateContentHash(SharedIndexChunkConfigurationImpl.java:286)
	at com.intellij.indexing.shared.platform.impl.FileContentHashIndexExtension$1.map(FileContentHashIndexExtension.java:59)
	at com.intellij.indexing.shared.platform.impl.FileContentHashIndexExtension$1.map(FileContentHashIndexExtension.java:53)
	at com.intellij.util.indexing.impl.MapReduceIndex.mapByIndexer(MapReduceIndex.java:363)
	at com.intellij.util.indexing.impl.MapReduceIndex.mapInput(MapReduceIndex.java:354)
	at com.intellij.util.indexing.impl.MapReduceIndex.mapInputAndPrepareUpdate(MapReduceIndex.java:279)
	at com.intellij.indexing.shared.platform.impl.CompositeInvertedIndex.tryToMapWithSecondaryIndex(CompositeInvertedIndex.java:107)
	at com.intellij.indexing.composite.CompositeInvertedIndexBase.mapInputAndPrepareUpdate(CompositeInvertedIndexBase.java:47)
	at com.intellij.indexing.composite.CompositeInvertedIndexBase.mapInputAndPrepareUpdate(CompositeInvertedIndexBase.java:25)
	at com.intellij.util.indexing.FileBasedIndexImpl.createSingleIndexValueApplier(FileBasedIndexImpl.java:1674)
	at com.intellij.util.indexing.FileBasedIndexImpl.lambda$doIndexFileContent$21(FileBasedIndexImpl.java:1544)
	at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.lambda$freezeFileTypeTemporarilyWithProvidedValueIn$15(FileTypeManagerImpl.java:775)
	at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.cacheFileTypesInside(FileTypeManagerImpl.java:846)
	at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.freezeFileTypeTemporarilyWithProvidedValueIn(FileTypeManagerImpl.java:771)
	at com.intellij.util.indexing.FileBasedIndexImpl.doIndexFileContent(FileBasedIndexImpl.java:1497)
	at com.intellij.util.indexing.FileBasedIndexImpl.indexFileContent(FileBasedIndexImpl.java:1472)
	at com.intellij.util.indexing.FileBasedIndexImpl.processRefreshedFile(FileBasedIndexImpl.java:1412)
	at com.intellij.util.indexing.FileBasedIndexImpl$VirtualFileUpdateTask.doProcess(FileBasedIndexImpl.java:1798)
	at com.intellij.util.indexing.FileBasedIndexImpl$VirtualFileUpdateTask.doProcess(FileBasedIndexImpl.java:1792)
	at com.intellij.util.indexing.UpdateTask.process(UpdateTask.java:65)
	at com.intellij.util.indexing.UpdateTask.processAll(UpdateTask.java:34)
	at com.intellij.util.indexing.FileBasedIndexImpl.forceUpdate(FileBasedIndexImpl.java:1818)
	at com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:878)
	at com.intellij.psi.stubs.StubIndexEx.getContainingIds(StubIndexEx.java:371)
	at com.intellij.psi.stubs.StubIndexEx.processElements(StubIndexEx.java:187)
	at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:101)
	at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:90)
	at com.jetbrains.php.PhpIndexImpl.getElements(PhpIndexImpl.java:756)
	at com.jetbrains.php.PhpIndexImpl.lambda$getByName$38(PhpIndexImpl.java:1170)
	at com.jetbrains.php.caches.CostAdaptiveCache.getOrCompute(CostAdaptiveCache.kt:20)
	at com.jetbrains.php.PhpIndexImpl.getByName(PhpIndexImpl.java:1169)
	at com.jetbrains.php.PhpIndexImpl.lambda$getByFQN$37(PhpIndexImpl.java:1156)
	at com.jetbrains.php.caches.CostAdaptiveCache.getOrCompute(CostAdaptiveCache.kt:20)
	at com.jetbrains.php.PhpIndexImpl.getByFQN(PhpIndexImpl.java:1154)
	at com.jetbrains.php.PhpIndexImpl.getByFqnCacheAware(PhpIndexImpl.java:1227)
	at com.jetbrains.php.PhpIndexImpl.getClassesByFQNInternal(PhpIndexImpl.java:1222)
	at com.jetbrains.php.PhpIndexImpl.getAnyByFQN(PhpIndexImpl.java:1261)
	at com.magento.idea.magento2plugin.reference.provider.PhpClassReferenceProvider.getReferencesByElement(PhpClassReferenceProvider.java:80)
	at com.magento.idea.magento2plugin.reference.provider.CompositeReferenceProvider.getReferencesByElement(CompositeReferenceProvider.java:30)
	at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.getReferences(ReferenceProvidersRegistryImpl.java:162)
	at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.mapNotEmptyReferencesFromProviders(ReferenceProvidersRegistryImpl.java:143)
	at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegist

To Reproduce (*)

Steps to reproduce the behavior:

  1. Open Magento project in latest version of PhpStorm (2025.3)
  2. See error
  • OS: Windows 11.0
  • PhpStorm/Intellij version: 2025.3
  • Plugin Version: 2025.2.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions