Refactor | Rename stopped working across files
Hi. For unknown reasons, refactor | rename stopped working across files. I can navigate to references of a method, but as soon as I rename the method, the references are not updated. It works for references in the same file. I also observed that changing a public class name does not change the file name in which that class is defined.
I tried without success:
- repair IDE
- invalidate caches and restart
- manually deleting caches in ~/.caches/JetBrains
- disabling all plugins
- reinstalling Intellij
- removing *.iml files in my project
- tried IntelliJ 2026.1.1-RC
I also use PyCharm and RustRover and they do not have the same problem.
Hoping for some good ideas.
Cheers, Martin
IntelliJ IDEA 2026.1Build #IU-261.22158.277, built on March 25, 2026Source revision: 89c647576f1d2Runtime version: 25.0.2+10-b329.72 amd64137.0.17-261-b65VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.Toolkit: sun.awt.wl.WLToolkitLinux 6.18.7-76061807-genericPop!_OS 24.04 LTS; glibc: 2.39Exception reporter ID: 080125322af3450-c729-4c27-95c8-40770292780dGC: G1 Young Generation, G1 Concurrent GC, G1 Old GenerationMemory: 12288MCores: 32Vulkan Rendering is ON: Presentation is ON NVIDIA GeForce RTX 5060 (DISCRETE_GPU), caps=0xc0000006 llvmpipe (LLVM 20.1.2, 256 bits) (CPU), caps=0xc0000006Registry: editor.distraction.free.mode=true trace.state.event.service.url=https://api.jetbrains.cloud/trace-statusNon-Bundled Plugins: com.intellij.classic.ui (261.22158.185) io.gitlab.zlamalp.arc-theme-idea-dark (1.0) AceJump (3.8.19) some.awesome (1.16) org.mvnsearch.plugins.justPlugin (0.6.38) com.markskelton.one-dark-theme (6.2.3) io.github.frykher.jetbrains-kanagawa-theme (1.2.4) IdeaVIM (2.32.0) com.joshestein.ideavim-quickscope (1.0.13) eu.theblob42.idea.whichkey (0.11.2) com.github.copilot (1.8.0-243)Kotlin: 261.22158.277-IJCurrent Desktop: COSMIC
Please sign in to leave a comment.
Found the culprit. I had a `tail -f idea.log` open when performing the refactor action and got the following exception:
2026-04-17 07:44:27,022 [ 80298] SEVERE - #c.i.o.a.i.NonBlockingFlushQueue - class sun.awt.image.BufferedImageGraphicsConfig cannot be cast to class sun.java2d.vulkan.VKGraphicsConfig (sun.awt.image.BufferedImageGraphicsConfig and sun.java2d.vulkan.VKGraphicsConfig are in module java.desktop of loader 'bootstrap')java.lang.ClassCastException: class sun.awt.image.BufferedImageGraphicsConfig cannot be cast to class sun.java2d.vulkan.VKGraphicsConfig (sun.awt.image.BufferedImageGraphicsConfig and sun.java2d.vulkan.VKGraphicsConfig are in module java.desktop of loader 'bootstrap')at java.desktop/sun.java2d.vulkan.VKVolatileSurfaceManager.isConfigValid(VKVolatileSurfaceManager.java:99)at java.desktop/sun.java2d.vulkan.VKVolatileSurfaceManager.validate(VKVolatileSurfaceManager.java:83)at java.desktop/sun.awt.image.SunVolatileImage.validate(SunVolatileImage.java:253)at com.intellij.ui.CachingPainter.paint(CachingPainter.java:62)at com.intellij.openapi.editor.impl.view.EditorPainter$Session.lambda$paintWhitespace$7(EditorPainter.java:1018)at com.intellij.openapi.editor.impl.view.EditorPainter$Session.lambda$paintTextWithEffects$4(EditorPainter.java:887)at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)at com.intellij.openapi.editor.impl.view.EditorPainter$Session.paintTextWithEffects(EditorPainter.java:887)at com.intellij.openapi.editor.impl.view.EditorPainter$Session.paint(EditorPainter.java:312)at com.intellij.openapi.editor.impl.view.EditorPainter.paint(EditorPainter.java:150)at com.intellij.openapi.editor.impl.view.EditorView.paint(EditorView.java:247)at com.intellij.openapi.editor.impl.EditorImpl.lambda$paint$52(EditorImpl.java:2427)at com.intellij.openapi.editor.impl.EditorThreadingImpl.doRun(EditorThreadingImpl.kt:30)at com.intellij.openapi.editor.EditorThreading$Companion.run(EditorThreading.kt:37)at com.intellij.openapi.editor.EditorThreading.run(EditorThreading.kt)at com.intellij.openapi.editor.impl.EditorImpl.paint(EditorImpl.java:2413)at com.intellij.openapi.editor.impl.EditorComponentImpl.paintComponent(EditorComponentImpl.java:344)at com.intellij.openapi.editor.impl.EditorImpl.startDumb(EditorImpl.java:2362)at com.intellij.refactoring.rename.inplace.VariableInplaceRenamer.startDumbIfPossible(VariableInplaceRenamer.java:527)at com.intellij.refactoring.rename.inplace.MemberInplaceRenamer.performRefactoringRename(MemberInplaceRenamer.java:252)at com.intellij.refactoring.rename.inplace.VariableInplaceRenamer.lambda$performRefactoring$15(VariableInplaceRenamer.java:564)at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.lambda$safeTransferToEdt$9(NonBlockingReadActionImpl.java:908)at com.intellij.concurrency.ThreadContext.installThreadContext(threadContext.kt:305)at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.lambda$safeTransferToEdt$10(NonBlockingReadActionImpl.java:907)at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:236)at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:22)at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:198)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.runWriteIntentReadAction(NestedLocksThreadingSupport.kt:705)at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:1094)at com.intellij.openapi.application.impl.ApplicationImpl$6.run(ApplicationImpl.java:628)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:928)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:747)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:323)at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:732)at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:711)at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:720)at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:573)at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$0$0$0(IdeEventQueue.kt:377)at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$0(IdeEventQueue.kt:1110)at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:106)at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:1110)at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$0(IdeEventQueue.kt:375)at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:415)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)I disabled vulkan for now, and refactor | rename started working again but I am surprised this suddenly started to happen without applying any patches and Intellij using the bundled JDK. Any clues?
Cheers.
Thanks for reporting this issue.
I have created a bug report for you here: https://youtrack.jetbrains.com/issue/JBR-10278
Feel free to watch it for updates.
This issue is indeed caused by Vulkan. Please disable it as a workaround.
Vulkan support in bundled JDK is in its raw development state now and still has some issues.
We are working on improving the situation.
> I disabled vulkan for now, and refactor | rename started working again but I am surprised this suddenly started to happen without applying any patches and Intellij using the bundled JDK. Any clues?
When Vulkan support enables, it will use another code path for Vulkan rendering and triggers this issue.