Cannot Navigate To Code
Since upgrading a couple weeks ago I have been unable to navigate to code from IDEA's Find In Path results, log messages, ctrl+F12, anything. I have this problem for all file types. If I uninstall the plugin I can at least navigate around Apex files without issue. Navigation within one file works fine but falls over when going to another file - the file will be focused but always on line 1.
IDEA version: 2017.3.7 (Ultimate Edition) Build #IU-173.4710.11 JRE: 1.8.0_152-release-1024-b18 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Windows 10 10.0
IC version: 2.0.5.6 Build: 20190215084325
I get the following error in the log:
2019-04-12 14:01:50,774 [ 897107] ERROR - llij.ide.plugins.PluginManager - com.intellij.openapi.fileEditor.ex.FileEditorManagerEx.getSelectedEditor()Lcom/intellij/openapi/fileEditor/FileEditor; java.lang.NoSuchMethodError: com.intellij.openapi.fileEditor.ex.FileEditorManagerEx.getSelectedEditor()Lcom/intellij/openapi/fileEditor/FileEditor; at com.illuminatedcloud.intellij.editor.TextEditorWrapper.navigateTo(TextEditorWrapper.java:71) at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.a(FileEditorManagerImpl.java:1142) at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.a(FileEditorManagerImpl.java:1120) at com.intellij.openapi.command.impl.CoreCommandProcessor.a(CoreCommandProcessor.java:149) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:109) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:99) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:85) at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openEditor(FileEditorManagerImpl.java:1111) at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openTextEditor(FileEditorManagerImpl.java:1173) at com.intellij.usages.UsageInfo2UsageAdapter.openTextEditor(UsageInfo2UsageAdapter.java:208) at com.intellij.usages.UsageInfo2UsageAdapter.navigate(UsageInfo2UsageAdapter.java:203) at com.intellij.find.impl.FindPopupPanel.j(FindPopupPanel.java:1246) at com.intellij.find.impl.FindPopupPanel.access$1000(FindPopupPanel.java:89) at com.intellij.find.impl.FindPopupPanel$15.onDoubleClick(FindPopupPanel.java:598) at com.intellij.ui.DoubleClickListener.onClick(DoubleClickListener.java:30) at com.intellij.ui.ClickListener$1.mouseReleased(ClickListener.java:73) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:290) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289) at java.awt.Component.processMouseEvent(Component.java:6541) at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) at java.awt.Component.processEvent(Component.java:6306) at java.awt.Container.processEvent(Container.java:2237) at java.awt.Component.dispatchEventImpl(Component.java:4897) at java.awt.Container.dispatchEventImpl(Container.java:2295) at java.awt.Component.dispatchEvent(Component.java:4719) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4889) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4526) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4467) at java.awt.Container.dispatchEventImpl(Container.java:2281) at java.awt.Window.dispatchEventImpl(Window.java:2746) at java.awt.Component.dispatchEvent(Component.java:4719) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764) at java.awt.EventQueue.access$500(EventQueue.java:98) at java.awt.EventQueue$3.run(EventQueue.java:715) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90) at java.awt.EventQueue$4.run(EventQueue.java:737) at java.awt.EventQueue$4.run(EventQueue.java:735) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:734) at com.intellij.ide.IdeEventQueue.h(IdeEventQueue.java:822) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:646) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:366) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Comments (3)
-
repo owner -
repo owner - changed status to resolved
Updating the base IDE should resolve these issues, but if it doesn't, please feel free to reopen with new details.
-
reporter Thank you!
- Log in to comment
Andrew, the issue is the version of IntelliJ that you're running. There have been incompatible changes to the plugin SDK in 2018.*+. These problems should go away if you update to a recent version. Note that if you update to 2019.1, please make sure to choose the Java 8 JRE and not the Java 11 JRE as there are also breaking changes in the latter that I'm still working to address.