Skip to content

253: The lib/modules should be lib directory Exception #2070

@PrzemyslawSwiderski

Description

@PrzemyslawSwiderski

What happened?

Hi,
I have updated my plugin to support 2025.3 platform.
I tested manually in IDE and everything is working fine.
However, the following test is failing now:
https://github.com/PrzemyslawSwiderski/sdk-import-plugin/blob/main/src/test/kotlin/com/pswidersk/sdkimportplugin/SdkImportServiceTest.kt#L62

The error:

Caused by: java.lang.IllegalStateException: /home/pswidersk/REPOS/sdk-import-plugin/build/idea-sandbox/IU-2025.3/plugins-test/python-ce/lib/modules should be lib directory

It seems like something was changed in testing framework.

Relevant log output or stack trace

2025-12-12 02:03:31,185 [    358]   INFO - #c.i.o.u.LowMemoryWatcherManager - Use ExponentiallySmoothingTracker(90000 ms)
2025-12-12 02:03:31,192 [    365]   INFO - #c.i.o.u.LowMemoryWatcherManager - Subscribing to MemoryPool[G1 Old Gen]{max: 2147483648, threshold: 2040109440 (0.95 * max)}
2025-12-12 02:03:31,192 [    365]   INFO - #c.i.o.u.LowMemoryWatcherManager - Schedule GC-time updating: each 15000ms
2025-12-12 02:03:31,244 [    417]   INFO - #c.i.i.p.PluginManager - Using broken plugins file from IDE distribution
2025-12-12 02:03:31,245 [    418]   INFO - #c.i.i.p.PluginManager - PluginMainDescriptor(name=Python Community Edition, id=PythonCore, version=253.28294.334, isBundled=false, path=~/REPOS/sdk-import-plugin/build/idea-sandbox/IU-2025.3/plugins-test/python-ce) overrides PluginMainDescriptor(name=Python Community Edition, id=PythonCore, version=253.28294.334, isBundled=true, path=~/REPOS/sdk-import-plugin/build/idea-sandbox/IU-2025.3/plugins-test/python-ce)
2025-12-12 02:03:31,245 [    418]   INFO - #c.i.i.p.PluginManager - PluginMainDescriptor(name=SDK-Import, id=com.pswidersk.sdkimportplugin, version=1.7.0, isBundled=false, path=~/REPOS/sdk-import-plugin/build/idea-sandbox/IU-2025.3/plugins-test/sdk-import-plugin) overrides PluginMainDescriptor(name=SDK-Import, id=com.pswidersk.sdkimportplugin, version=1.7.0, isBundled=true, path=~/REPOS/sdk-import-plugin/build/idea-sandbox/IU-2025.3/plugins-test/sdk-import-plugin)
2025-12-12 02:03:31,269 [    442]   INFO - #c.i.i.p.PluginManager - Plugin set resolution:
Module intellij.xml.langInjection.xpath is not enabled because dependency XPathView is not available
Module intellij.settingsSync.core is not enabled because dependency Git4Idea is not available
Module intellij.platform.identifiers.highlighting.backend is not enabled because dependency com.jetbrains.codeWithMe is not available
Module intellij.toml.grazie is not enabled because dependency tanvd.grazi is not available
Module intellij.toml.frontend.split is not enabled because dependency intellij.platform.frontend.split is not available
Module intellij.python.terminal is not enabled because dependency org.jetbrains.plugins.terminal is not available
Module intellij.python.ml.features is not enabled because dependency intellij.platform.ml.logs is not available
Module intellij.python.markdown is not enabled because dependency org.intellij.plugins.markdown is not available
Module intellij.python.grazie is not enabled because dependency tanvd.grazi is not available
Module intellij.python.featuresTrainer is not enabled because dependency training is not available
Module intellij.python.copyright is not enabled because dependency com.intellij.copyright is not available
Module intellij.python.community.plugin.minorRider is not enabled because dependency com.intellij.modules.python-in-mini-ide-capable is not available
Module intellij.python.community.plugin.minor is not enabled because dependency com.intellij.modules.python-in-mini-ide-capable is not available
Module intellij.jvm.dfa.analysis.ui is not enabled because dependency com.intellij.modules.ultimate is not available
Module intellij.profiler.ultimate is not enabled because dependency com.intellij.modules.ultimate is not available
Module intellij.java.duplicatesDetection is not enabled because dependency com.intellij.modules.ultimate is not available
Module intellij.java.duplicates.analysis is not enabled because dependency com.intellij.modules.ultimate is not available
Module intellij.java.terminal is not enabled because dependency org.jetbrains.plugins.terminal is not available
Module intellij.java.performancePlugin is not enabled because dependency intellij.performanceTesting.vcs is not available
Module intellij.java.featuresTrainer is not enabled because dependency training is not available
Module intellij.json.frontend.split is not enabled because dependency intellij.platform.frontend.split is not available
2025-12-12 02:03:31,273 [    446]   INFO - #c.i.i.p.PluginManager - Loaded bundled plugins: IDEA CORE (253.28294.334), Toml (253.28294.334), Java (253.28294.334), JSON (253.28294.334)
2025-12-12 02:03:31,273 [    446]   INFO - #c.i.i.p.PluginManager - Loaded custom plugins: Python Community Edition (253.28294.334), SDK-Import (1.7.0)
2025-12-12 02:03:31,414 [    587]   INFO - #c.i.p.e.i.f.EelMultiRoutingFileSystemBackendInitializationService - Eel MultiRoutingFileSystem backend is initialized
2025-12-12 02:03:31,417 [    590]   INFO - #c.i.a.o.PathMacrosImpl - Loaded path macros: {}
2025-12-12 02:03:31,420 [    593]   INFO - #c.i.i.p.ExpiredPluginsState - Plugins to skip: []
2025-12-12 02:03:31,428 [    601]   INFO - #c.i.p.k.b.BackendKernelServiceKt - Backend started Kernel
2025-12-12 02:03:31,437 [    610]   INFO - #c.i.p.trialPromotion - IDE is not managed
2025-12-12 02:03:31,440 [    613]   INFO - #c.i.l.LocalizationStateServiceImpl - [i18n] Localization property from registry is null
2025-12-12 02:03:31,440 [    613]   INFO - #c.i.o.v.n.i.VfsData - Use SoftReference in VFS cache: true
2025-12-12 02:03:31,443 [    616]   INFO - #c.i.u.i.PageCacheUtils - File page caching params:
	DEFAULT_PAGE_SIZE: 10485760
	Direct memory to use, max: 2126512128
	FilePageCache: regular
	Regular FilePageCache: 629145600 bytes
	DirectByteBuffers pool: 104857600 bytes
2025-12-12 02:03:31,478 [    651]   INFO - #c.i.i.s.StatisticsRegionSettingsServiceImpl - Statistics. Region code is not_set
2025-12-12 02:03:31,485 [    658]   INFO - #fleet.kernel.Transactor - Duration: 51.138999ms, change from: fleet.tracing.runtime.Span$Noop@2d4917a4
2025-12-12 02:03:31,499 [    672]   INFO - #c.i.p.d.t.TelemetryManager - Loaded telemetry tracer service com.intellij.platform.diagnostic.telemetry.impl.TelemetryManagerImpl
2025-12-12 02:03:31,524 [    697]   INFO - #c.i.o.v.n.p.PersistentFSLoader - VFS uses names enumerator over mmapped file
2025-12-12 02:03:31,524 [    697]   INFO - #c.i.o.v.n.p.PersistentFSLoader - VFS uses streamlined attributes storage (over mmapped file)
2025-12-12 02:03:31,525 [    698]   INFO - #c.i.o.v.n.p.PersistentFSLoader - VFS uses OverMMappedFile(pageSize=67108864, acquireStorageOwnership=true) storage for main file records table
2025-12-12 02:03:31,525 [    698]   INFO - #c.i.o.v.n.p.PersistentFSLoader - VFS uses content storage over memory-mapped file, with compression algo: LZ4[ > 8000b ]
2025-12-12 02:03:31,542 [    715]   INFO - #c.i.o.v.n.p.PersistentFSLoader - VFS: impl (expected) version=846400, 236 file records, 4 content blobs
2025-12-12 02:03:31,547 [    720]   INFO - #c.i.o.v.n.p.FSRecordsImpl - VFS initialized: 23 ms, 0 failed attempts, 0 error(s) were recovered
2025-12-12 02:03:31,548 [    721]   INFO - #c.i.o.v.n.p.FSRecordsImpl - VFS scanned: file-by-name index was populated
2025-12-12 02:03:31,553 [    726]   INFO - #c.i.o.v.n.p.PersistentFSImpl - VFS.MAX_FILE_LENGTH_TO_CACHE: 1048576
2025-12-12 02:03:31,585 [    758]   INFO - #c.i.u.n.s.CertificateManager - Default SSL context initialized
2025-12-12 02:03:31,619 [    792]   INFO - #c.i.u.i.FileBasedIndexImpl - Loading indexes
2025-12-12 02:03:31,621 [    794]   INFO - #c.i.u.i.FileBasedIndexImpl - Indexes are already loaded
2025-12-12 02:03:31,627 [    800]   INFO - #c.i.u.i.PersistentDirtyFilesQueue - Dirty file ids read. Size: 0. Index: 0 Path: /home/pswidersk/REPOS/sdk-import-plugin/build/idea-sandbox/IU-2025.3/system-test/index/dirty-file-ids.
2025-12-12 02:03:31,633 [    806]   INFO - #c.i.o.v.i.l.NativeFileWatcherImpl - Native file watcher is disabled
2025-12-12 02:03:31,667 [    840]   INFO - #c.i.u.i.i.s.IndexStorageLayoutLocator - Layout 'default' will be used to for 'java.auto.module.name' index (applicable providers: [default, fake-storage])
2025-12-12 02:03:31,668 [    841]   INFO - #c.i.u.i.i.s.IndexStorageLayoutLocator - Layout 'default' will be used to for 'XmlTagNames' index (applicable providers: [default, fake-storage])
2025-12-12 02:03:31,668 [    841]   INFO - #c.i.u.i.i.s.IndexStorageLayoutLocator - Layout 'default' will be used to for 'IdIndex' index (applicable providers: [default, fake-storage]), shards = 1
2025-12-12 02:03:31,668 [    841]   INFO - #c.i.u.i.i.s.IndexStorageLayoutLocator - Layout 'default' will be used to for 'DomFileIndex' index (applicable providers: [default, fake-storage])
2025-12-12 02:03:31,668 [    841]   INFO - #c.i.u.i.i.s.IndexStorageLayoutLocator - Layout 'default' will be used to for 'XmlNamespaces' index (applicable providers: [default, fake-storage])
2025-12-12 02:03:31,668 [    841]   INFO - #c.i.u.i.i.s.IndexStorageLayoutLocator - Layout 'default' will be used to for 'HashFragmentIndex' index (applicable providers: [default, fake-storage])
2025-12-12 02:03:31,668 [    841]   INFO - #c.i.u.i.i.s.IndexStorageLayoutLocator - Layout 'default' will be used to for 'RelaxSymbolIndex' index (applicable providers: [default, fake-storage])
2025-12-12 02:03:31,668 [    841]   INFO - #c.i.u.i.i.s.IndexStorageLayoutLocator - Layout 'default' will be used to for 'Stubs' index (applicable providers: [default, fake-storage])
2025-12-12 02:03:31,668 [    841]   INFO - #c.i.u.i.i.s.IndexStorageLayoutLocator - Layout 'default' will be used to for 'TodoIndex' index (applicable providers: [default, fake-storage])
2025-12-12 02:03:31,670 [    843]   INFO - #c.i.u.i.i.s.IndexStorageLayoutLocator - Layout 'default' will be used to for 'fileIncludes' index (applicable providers: [default, fake-storage])
2025-12-12 02:03:31,670 [    843]   INFO - #c.i.u.i.i.s.IndexStorageLayoutLocator - Layout 'default' will be used to for 'SchemaTypeInheritance' index (applicable providers: [default, fake-storage])
2025-12-12 02:03:31,670 [    843]   INFO - #c.i.u.i.i.s.IndexStorageLayoutLocator - Layout 'default' will be used to for 'html5.custom.attributes.index' index (applicable providers: [default, fake-storage])
2025-12-12 02:03:31,671 [    844]   INFO - #c.i.u.i.i.s.IndexStorageLayoutLocator - Layout 'default' will be used to for 'FrameworkDetectionIndex' index (applicable providers: [default, fake-storage])
2025-12-12 02:03:31,671 [    844]   INFO - #c.i.u.i.i.s.IndexStorageLayoutLocator - Layout 'default' will be used to for 'filetypes' index (applicable providers: [default, fake-storage])
2025-12-12 02:03:31,675 [    848]   INFO - #c.i.f.n.TrigramIndexFilter - Filter exclude extensions is enabled: CustomizableExcludeExtensions([com.intellij.java.JavaLibrarySourcesExcludingIndexFilterExtension@2fc2d867])
2025-12-12 02:03:31,675 [    848]   INFO - #c.i.u.i.i.s.IndexStorageLayoutLocator - Layout 'default' will be used to for 'Trigram.Index' index (applicable providers: [default, fake-storage]), shards = 1
2025-12-12 02:03:31,678 [    851]   INFO - #c.i.u.i.i.s.IndexStorageLayoutLocator - Layout 'default' will be used to for 'FilenameIndex' index (applicable providers: [default, fake-storage])
2025-12-12 02:03:31,680 [    853]   INFO - #c.i.u.i.i.s.IndexStorageLayoutLocator - Layout 'default' will be used to for 'java.source.module.name' index (applicable providers: [default, fake-storage])
2025-12-12 02:03:31,684 [    857]   INFO - #c.i.u.i.i.SlruIndexStorageCacheProvider - SLRU cache will be used for indexes
2025-12-12 02:03:31,684 [    857]   INFO - #c.i.u.i.i.MapIndexStorageCacheProvider$Companion - Default index storage cache provider [com.intellij.util.indexing.impl.SlruIndexStorageCacheProvider@73b5bbcf] is used
2025-12-12 02:03:31,688 [    861]   INFO - #c.i.u.i.i.s.IndexStorageLayoutLocator - Layout 'default' will be used to for 'java.null.method.argument' index (applicable providers: [default, fake-storage])
2025-12-12 02:03:31,710 [    883]   INFO - #c.i.u.i.i.s.IndexStorageLayoutLocator - Layout 'default' will be used to for 'java.fun.expression' index (applicable providers: [default, fake-storage])
2025-12-12 02:03:31,711 [    884]   INFO - #c.i.u.i.i.s.IndexStorageLayoutLocator - Layout 'default' will be used to for 'java.binary.plus.expression' index (applicable providers: [default, fake-storage])
2025-12-12 02:03:31,713 [    886]   INFO - #c.i.u.i.i.s.IndexStorageLayoutLocator - Layout 'default' will be used to for 'bytecodeAnalysis' index (applicable providers: [default, fake-storage])
2025-12-12 02:03:31,715 [    888]   INFO - #c.i.u.i.i.s.IndexStorageLayoutLocator - Layout 'default' will be used to for 'Py.module.name' index (applicable providers: [default, fake-storage])
2025-12-12 02:03:31,722 [    895]   INFO - #c.i.u.i.i.s.IndexStorageLayoutLocator - Layout 'default' will be used to for 'Py.setuptools.namespace' index (applicable providers: [default, fake-storage])
2025-12-12 02:03:31,724 [    897]   INFO - #c.i.u.i.i.s.IndexStorageLayoutLocator - Layout 'default' will be used to for 'json.file.root.values' index (applicable providers: [default, fake-storage])
2025-12-12 02:03:31,743 [    916]   INFO - #c.i.p.p.ProjectEntitiesStorage - Creating entity for project ProjectId(id=5pe9j6c9jus1cfudran6)
2025-12-12 02:03:31,753 [    926]   INFO - #c.i.p.p.ProjectEntitiesStorage - Entity for project ProjectId(id=5pe9j6c9jus1cfudran6) created successfully
2025-12-12 02:03:31,761 [    934]   INFO - #c.i.u.i.FileBasedIndexImpl - Indices to be built:FilenameIndex(v = 258)
2025-12-12 02:03:31,765 [    938]   INFO - #c.i.u.i.c.d.IndexWriter - Use com.intellij.util.indexing.contentQueue.dev.MultiThreadedWithSuspendIndexWriter@41b921b as (parallel) index writer implementation
2025-12-12 02:03:31,765 [    938]   INFO - #c.i.u.i.FileBasedIndexImpl - Using simple flusher for indexes
2025-12-12 02:03:31,765 [    938]   INFO - #c.i.c.ComponentStoreImpl - Project store initialization started for path: /tmp/IJ18086762812186282832 and template: null
2025-12-12 02:03:31,768 [    941]   INFO - #c.i.c.ComponentStoreImpl - Project store initialized with paths: [Macro(key=$PROJECT_CONFIG_DIR$, value=/tmp/IJ18086762812186282832/.idea), Macro(key=$WORKSPACE_FILE$, value=/tmp/IJ18086762812186282832/.idea/workspace.xml), Macro(key=$PROJECT_FILE$, value=/tmp/IJ18086762812186282832/.idea/misc.xml), Macro(key=$PRODUCT_WORKSPACE_FILE$, value=/tmp/IJ18086762812186282832/.idea/product-workspace.xml), Macro(key=$CACHE_FILE$, value=/home/pswidersk/REPOS/sdk-import-plugin/build/idea-sandbox/IU-2025.3/system-test/projects/ij18086762812186282832.f67f3a15/cache-state.xml)]
2025-12-12 02:03:31,771 [    944]   INFO - #c.i.u.i.IndexDataInitializer - Index data initialization done: 147 ms. Initialized indexes: [FilenameIndex, filetypes, Trigram.Index, java.auto.module.name, html5.custom.attributes.index, XmlNamespaces, RelaxSymbolIndex, XmlTagNames, SchemaTypeInheritance, DomFileIndex, java.source.module.name, java.null.method.argument, java.fun.expression, java.binary.plus.expression, bytecodeAnalysis, Py.module.name, TodoIndex, Py.setuptools.namespace, json.file.root.values, FrameworkDetectionIndex, IdIndex, HashFragmentIndex, fileIncludes, Stubs].
2025-12-12 02:03:31,787 [    960]   INFO - #c.i.j.JnaLoader - JNA library (64-bit) loaded in 7 ms
2025-12-12 02:03:31,801 [    974]   INFO - #c.i.w.i.i.l.m.ModuleBridgeLoaderService - Workspace model loaded without cache. Loading real project state into workspace model. Thread[#68,DefaultDispatcher-worker-21 @run com.intellij.projectPreInit ModuleBridgeLoaderService#261,5,main]
2025-12-12 02:03:31,802 [    975]   INFO - #c.i.u.i.IndexDataInitializer - Index data initialization done: 31 ms. Initialized stub indexes: {java.annotations, java.field.name, Py.class.attributes, Python.Decorator, jvm.static.member.type, java.class.fqn, Py.module.attribute, dom.elementClass, java.module.name, java.anonymous.baseref, Py.class.shortName, Py.function.shortName, java.record.component.name, java.class.extlist, java.unnamed.class, Py.TypeAliasName, dom.namespaceKey, Py.class.shortNameInsensitive, jvm.static.member.name, java.class.shortname, Py.class.super, java.method.parameter.types, java.method.name, Py.variable.shortName}.
2025-12-12 02:03:31,837 [   1010]   INFO - #c.i.w.i.i.GlobalWorkspaceModel - Sync global entities with mutable entity storage
2025-12-12 02:03:31,846 [   1019]   INFO - #c.i.i.s.e.StatisticsEventLoggerProvider - Initialize event logger provider for 'FUS'
2025-12-12 02:03:31,848 [   1021]   INFO - #c.i.i.s.e.StatisticsEventLoggerProvider - Initialize event logger provider for 'MP'
2025-12-12 02:03:31,848 [   1021]   INFO - #c.i.i.s.e.StatisticsEventLoggerProvider - Initialize event logger provider for 'TRACE'
2025-12-12 02:03:31,849 [   1022]   INFO - #c.i.i.s.e.StatisticsEventLoggerProvider - Initialize event logger provider for 'ML'
2025-12-12 02:03:31,880 [   1053]   INFO - #c.i.w.i.i.j.s.JpsProjectModelSynchronizer - Attempt 1: Apply JPS storage (iml files)
2025-12-12 02:03:31,907 [   1080]   INFO - #c.i.w.i.i.EntitiesOrphanageImpl - Update orphanage. 0 modules added
2025-12-12 02:03:31,915 [   1088]   INFO - #c.i.w.i.i.WorkspaceModelImpl - Project model updated to version 1
2025-12-12 02:03:31,916 [   1089]   INFO - #c.i.w.i.i.j.s.JpsProjectModelSynchronizer - Attempt 1: Changes were successfully applied
2025-12-12 02:03:32,026 [   1199]   INFO - #c.i.c.m.CodeInsightContextEnabling - multiverse is enabled
2025-12-12 02:03:32,158 [   1331]   INFO - #c.i.w.i.i.EntitiesOrphanageImpl - Update orphanage. 0 modules added
2025-12-12 02:03:32,165 [   1338]   INFO - #c.i.w.i.i.WorkspaceModelImpl - Project model updated to version 2 in 177 ms: Module model commit
2025-12-12 02:03:32,277 [   1450]   INFO - #c.i.u.s.JBUIScale - System scale factor: 1.0 (IDE-managed HiDPI)
2025-12-12 02:03:32,277 [   1450]   INFO - #c.i.u.s.JBUIScale - Computed user scale factor: 1.0 (IDE-managed HiDPI)
2025-12-12 02:03:32,469 [   1642]   WARN - #c.i.o.p.i.SdkConfigurationUtil - Error creating or configuring sdk: homeDir=[file:///home/pswidersk/REPOS/sdk-import-plugin/.gradle/python/Linux/Miniforge3-25.3.1-0/envs/python-3.14.0/bin/python]; sdkType=[Python SDK]; additionalData=[null]; customSdkSuggestedName=[Python env: /home/pswidersk/REPOS/sdk-import-plugin/.gradle/python/Linux/Miniforge3-25.3.1-0/envs/python-3.14.0/bin/python]; sdk=[null]
java.lang.ExceptionInInitializerError
	at com.jetbrains.python.sdk.PyTargetsIntrospectionFacade.getInterpreterPaths(PyTargetsIntrospectionFacade.kt:54)
	at com.jetbrains.python.sdk.PythonSdkUpdater.evaluateSysPath(PythonSdkUpdater.java:703)
	at com.jetbrains.python.sdk.PythonSdkUpdater.updateLocalSdkVersionAndPaths(PythonSdkUpdater.java:476)
	at com.jetbrains.python.sdk.PythonSdkUpdater.lambda$updateVersionAndPathsSynchronouslyAndScheduleRemaining$0(PythonSdkUpdater.java:112)
	at com.intellij.openapi.progress.impl.CoreProgressManager$1.run(CoreProgressManager.java:355)
	at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:534)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:180)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressSynchronously$10(CoreProgressManager.java:624)
	at com.intellij.openapi.progress.impl.ProgressRunner.lambda$new$0(ProgressRunner.java:89)
	at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:268)
	at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:98)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$1(CoreProgressManager.java:260)
	at com.intellij.platform.diagnostic.telemetry.helpers.TraceKt.use(trace.kt:44)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:259)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$14(CoreProgressManager.java:717)
	at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:792)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:748)
	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:716)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:75)
	at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:240)
	at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:98)
	at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$5(ProgressRunner.java:268)
	at com.intellij.openapi.progress.impl.ProgressRunner$ProgressRunnable.run(ProgressRunner.java:546)
	at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$18(ProgressRunner.java:501)
	at com.intellij.concurrency.ThreadContext.installThreadContext(threadContext.kt:305)
	at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$19(ProgressRunner.java:500)
	at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:167)
	at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:167)
	at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:173)
	at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:167)
	at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$20(ProgressRunner.java:497)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:735)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:732)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:732)
	at java.base/java.lang.Thread.run(Thread.java:1583)
	Suppressed: com.intellij.util.ExceptionUtilRt$RethrownStack: Rethrown at
		at com.intellij.util.ExceptionUtilRt.addRethrownStackAsSuppressed(ExceptionUtilRt.java:43)
		at com.intellij.util.ExceptionUtilRt.rethrowUnchecked(ExceptionUtilRt.java:16)
		at com.intellij.util.ExceptionUtil.rethrowUnchecked(ExceptionUtil.java:131)
		at com.intellij.openapi.progress.impl.CoreProgressManager.runProcessWithProgressSynchronously(CoreProgressManager.java:366)
		at com.jetbrains.python.sdk.PythonSdkUpdater.updateVersionAndPathsSynchronouslyAndScheduleRemaining(PythonSdkUpdater.java:111)
		at com.jetbrains.python.sdk.PythonSdkUpdater.updateOrShowError(PythonSdkUpdater.java:455)
		at com.jetbrains.python.sdk.PythonSdkType.setupSdkPaths(PythonSdkType.java:379)
		at com.intellij.openapi.projectRoots.impl.SdkConfigurationUtil.setupSdk(SdkConfigurationUtil.java:160)
		at com.intellij.openapi.projectRoots.impl.SdkConfigurationUtil.setupSdk(SdkConfigurationUtil.java:187)
		at com.intellij.openapi.projectRoots.impl.SdkConfigurationUtil.setupSdk(SdkConfigurationUtil.java:175)
		at com.pswidersk.sdkimportplugin.python.PythonSdkProcessor.addPythonSdk(PythonSdkProcessor.kt:26)
		at com.pswidersk.sdkimportplugin.python.PythonSdkProcessor.applySdk(PythonSdkProcessor.kt:16)
		at com.pswidersk.sdkimportplugin.SdkImportService.runImport$lambda$0$0$0$0$0(SdkImportService.kt:17)
		at com.pswidersk.sdkimportplugin.SdkImportUtilsKt.execSafe(SdkImportUtils.kt:54)
		at com.pswidersk.sdkimportplugin.SdkImportService.runImport$lambda$0$0(SdkImportService.kt:17)
		at com.pswidersk.sdkimportplugin.SdkImportUtilsKt.execSafe(SdkImportUtils.kt:54)
		at com.pswidersk.sdkimportplugin.SdkImportService.runImport$lambda$0(SdkImportService.kt:12)
		at com.intellij.openapi.application.impl.AppImplKt$runnableUnitFunction$1.invoke(appImpl.kt:124)
		at com.intellij.openapi.application.impl.AppImplKt$runnableUnitFunction$1.invoke(appImpl.kt:124)
		at com.intellij.platform.locking.impl.NestedLocksThreadingSupport.doRunWriteIntentReadAction(NestedLocksThreadingSupport.kt:737)
		at com.intellij.platform.locking.impl.NestedLocksThreadingSupport.runPreventiveWriteIntentReadAction(NestedLocksThreadingSupport.kt:711)
		at com.intellij.platform.locking.impl.NestedLocksThreadingSupport.runWriteIntentReadAction(NestedLocksThreadingSupport.kt:665)
		at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:1048)
		at com.intellij.openapi.application.impl.ApplicationImpl.doInvokeAndWait(ApplicationImpl.java:552)
		at com.intellij.openapi.application.impl.ApplicationImpl.invokeAndWait(ApplicationImpl.java:546)
		at com.intellij.openapi.application.impl.ApplicationImpl.invokeAndWait(ApplicationImpl.java:621)
		at com.pswidersk.sdkimportplugin.SdkImportService.runImport(SdkImportService.kt:11)
		at com.pswidersk.sdkimportplugin.SdkImportServiceTest.new Python SDK is imported(SdkImportServiceTest.kt:70)
		at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
		at java.base/java.lang.reflect.Method.invoke(Method.java:580)
		at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:701)
		at org.junit.platform.commons.support.ReflectionSupport.invokeMethod(ReflectionSupport.java:502)
		at org.junit.jupiter.engine.support.MethodReflectionUtils.invoke(MethodReflectionUtils.java:45)
		at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:61)
		at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:124)
		at com.intellij.testFramework.junit5.impl.EdtInterceptorExtension$Companion.intercept$lambda$0(EdtInterceptorExtension.kt:144)
		at com.intellij.testFramework.EdtTestUtilKt.runInEdtAndGet$lambda$1(EdtTestUtil.kt:29)
		at com.intellij.testFramework.EdtTestUtil.lambda$runInEdtAndGet$0(EdtTestUtil.java:35)
		at com.intellij.testFramework.EdtTestUtil.lambda$runInEdtAndWait$3(EdtTestUtil.java:88)
		at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:239)
		at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:25)
		at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:201)
		at com.intellij.openapi.application.impl.ApplicationImpl$7.lambda$run$0(ApplicationImpl.java:605)
		at com.intellij.concurrency.ThreadContext.installThreadContext(threadContext.kt:305)
		at com.intellij.openapi.application.impl.ApplicationImpl$7.run(ApplicationImpl.java:600)
		at com.intellij.openapi.application.impl.AppImplKt.rethrowExceptions$lambda$1(appImpl.kt:83)
		at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:167)
		at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:167)
		at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:173)
		at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:167)
		at com.intellij.util.concurrency.ContextRunnable.lambda$run$0(ContextRunnable.java:26)
		at com.intellij.concurrency.ThreadContext.resetThreadContext(threadContext.kt:294)
		at com.intellij.util.concurrency.ContextRunnable.run(ContextRunnable.java:25)
		at com.intellij.openapi.application.impl.AppImplKt.rethrowExceptions$lambda$2(appImpl.kt:94)
		at com.intellij.openapi.application.impl.LaterInvocator$1.run(LaterInvocator.java:130)
		at com.intellij.openapi.application.impl.NonBlockingFlushQueue.runNextEvent$lambda$1$1$0(NonBlockingFlushQueue.kt:334)
		at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:901)
		at com.intellij.openapi.application.impl.NonBlockingFlushQueue.runNextEvent$lambda$1$1(NonBlockingFlushQueue.kt:333)
		at com.intellij.concurrency.ThreadContext.resetThreadContext(threadContext.kt:294)
		at com.intellij.openapi.application.impl.NonBlockingFlushQueue.runNextEvent$lambda$1(NonBlockingFlushQueue.kt:330)
		at com.intellij.platform.locking.impl.NestedLocksThreadingSupport.tryRunWriteIntentReadAction(NestedLocksThreadingSupport.kt:690)
		at com.intellij.openapi.application.impl.NonBlockingFlushQueue.runNextEvent(NonBlockingFlushQueue.kt:326)
		at com.intellij.openapi.application.impl.NonBlockingFlushQueue.flushNow(NonBlockingFlushQueue.kt:305)
		at com.intellij.openapi.application.impl.NonBlockingFlushQueue.FLUSH_NOW$lambda$0(NonBlockingFlushQueue.kt:167)
		at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
		at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:781)
		at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:728)
		at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:722)
		at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
		at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
		at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:750)
		at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:664)
		at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:517)
		at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$0$0$0(IdeEventQueue.kt:333)
		at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:1065)
		at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:109)
		at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:1065)
		at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$0(IdeEventQueue.kt:331)
		at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:371)
		at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
		at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
		at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
		at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
		at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
		at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)
Caused by: java.lang.IllegalStateException: /home/pswidersk/REPOS/sdk-import-plugin/build/idea-sandbox/IU-2025.3/plugins-test/python-ce/lib/modules should be lib directory
	at com.intellij.ide.plugins.PluginManagerCoreKt.getPluginDistDirByClass(PluginManagerCore.kt:1084)
	at com.intellij.python.community.helpersLocator.PythonHelpersLocator.findRootByJarPath(PythonHelpersLocator.kt:132)
	at com.intellij.python.community.helpersLocator.PythonHelpersLocator.getHelpersRoot(PythonHelpersLocator.kt:119)
	at com.intellij.python.community.helpersLocator.PythonHelpersLocator.getCommunityHelpersRootPath(PythonHelpersLocator.kt:110)
	at com.intellij.python.community.helpersLocator.PythonHelpersLocator.access$getCommunityHelpersRootPath(PythonHelpersLocator.kt:20)
	at com.intellij.python.community.helpersLocator.PythonHelpersLocator$Companion.getCommunityHelpersRoot(PythonHelpersLocator.kt:46)
	at com.intellij.python.community.helpersLocator.PythonHelpersLocator.getCommunityHelpersRoot(PythonHelpersLocator.kt)
	at com.jetbrains.python.PythonHelper.<init>(PythonHelper.java:119)
	at com.jetbrains.python.PythonHelper.<clinit>(PythonHelper.java:28)
	... 38 more
2025-12-12 02:03:32,561 [   1734]   INFO - #c.i.w.i.i.EntitiesOrphanageImpl - Update orphanage. 0 modules added
2025-12-12 02:03:32,561 [   1734]   INFO - #c.i.w.i.i.WorkspaceModelImpl - Project model updated to version 3 in 11 ms: Module model commit
2025-12-12 02:03:32,573 [   1746]   INFO - #c.i.p.p.ProjectEntitiesStorage - Project ProjectId(id=5pe9j6c9jus1cfudran6) is disposed, removing entity
2025-12-12 02:03:32,582 [   1755]   INFO - #c.i.o.a.i.NonBlockingReadActionImpl - OTel monitoring for NonBlockingReadAction is enabled
2025-12-12 02:03:32,635 [   1808]   WARN - org.junit.jupiter.engine.descriptor.AbstractExtensionContext - Type implements CloseableResource but not AutoCloseable: com.intellij.testFramework.junit5.impl.TestApplicationResource
2025-12-12 02:03:32,664 [   1837]   INFO - #c.i.p.d.t.i.TelemetryManagerImpl - Forcing flushing OpenTelemetry metrics ...
2025-12-12 02:03:32,885 [   2058]   INFO - #c.i.p.d.t.i.TelemetryManagerImpl - OpenTelemetry metrics were flushed
2025-12-12 02:03:33,907 [   3080]   INFO - #c.i.o.f.i.FileTypeDetectionService - 0 auto-detected files. Detection took 0 ms
2025-12-12 02:03:33,922 [   3095]   INFO - #c.i.u.i.FileBasedIndexImpl - Index dispose started
2025-12-12 02:03:33,927 [   3100]   INFO - #c.i.u.i.PersistentDirtyFilesQueue - Dirty file ids stored. Size: 0. Index: 0 Path: /home/pswidersk/REPOS/sdk-import-plugin/build/idea-sandbox/IU-2025.3/system-test/index/dirty-file-ids. Ids & filenames: {}
2025-12-12 02:03:33,950 [   3123]   INFO - #c.i.p.s.StubIndexImpl - StubIndexExtension-s were unloaded
2025-12-12 02:03:33,951 [   3124]   INFO - #c.i.p.s.SerializationManagerImpl - Start shutting down /home/pswidersk/REPOS/sdk-import-plugin/build/idea-sandbox/IU-2025.3/system-test/index/rep.names
2025-12-12 02:03:33,951 [   3124]   INFO - #c.i.p.s.SerializationManagerImpl - Finished shutting down /home/pswidersk/REPOS/sdk-import-plugin/build/idea-sandbox/IU-2025.3/system-test/index/rep.names
2025-12-12 02:03:33,951 [   3124]   INFO - #c.i.u.i.FileBasedIndexImpl - Index dispose completed in 29ms.
2025-12-12 02:03:33,952 [   3125]   INFO - #c.i.o.v.n.p.PersistentFSImpl - VFS dispose started
2025-12-12 02:03:33,952 [   3125]   INFO - #c.i.o.v.n.p.FSRecordsImpl - VFS closing
2025-12-12 02:03:33,953 [   3126]   INFO - #c.i.o.v.n.p.PersistentFSImpl - VFS dispose completed in 1 ms.

Steps to reproduce

Run the test.

Gradle IntelliJ Plugin version

2.10.5

Gradle version

9.2.1

Operating System

Linux

Link to build, i.e. failing GitHub Action job

No response

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