weirddev

Open full view…

IDEA 2020.1+ Error for KeymapManager

bhah
Tue, 14 Jul 2020 18:29:43 GMT

```java.lang.Throwable: class com.intellij.openapi.keymap.KeymapManager it is a service, use getService instead of getComponent at com.intellij.openapi.diagnostic.Logger.error(Logger.java:143) at com.intellij.serviceContainer.ComponentManagerImpl.getComponent(Compon entManagerImpl.kt:373) at com.weirddev.testme.intellij.TestMePluginRegistration.initComponent(Te stMePluginRegistration.java:37) at com.intellij.serviceContainer.MyComponentAdapter.doCreateInstance(MyCo mponentAdapter.kt:44) at com.intellij.serviceContainer.BaseComponentAdapter.getInstanceUncached (BaseComponentAdapter.kt:113) at com.intellij.serviceContainer.BaseComponentAdapter.getInstance(BaseCom ponentAdapter.kt:67) at com.intellij.serviceContainer.BaseComponentAdapter.getInstance$default (BaseComponentAdapter.kt:60) at com.intellij.serviceContainer.ComponentManagerImpl.createComponents(Co mponentManagerImpl.kt:258) at com.intellij.openapi.application.impl.ApplicationImpl.lambda$loadCompo nents$5(ApplicationImpl.java:346) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProce ss$2(CoreProgressManager.java:170) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicat orAndRun(CoreProgressManager.java:629) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessU nderProgress(CoreProgressManager.java:581) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessU nderProgress(ProgressManagerImpl.java:60) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(Core ProgressManager.java:157) at com.intellij.openapi.application.impl.ApplicationImpl.loadComponents(A pplicationImpl.java:346) at com.intellij.idea.ApplicationLoader$startApp$6$loadComponentInEdtFutur e$1.run(ApplicationLoader.kt:193) at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(Completa bleFuture.java:1736) at com.intellij.openapi.application.TransactionGuardImpl$2.run(Transactio nGuardImpl.java:201) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWrite ActionOnCurrentThread(ApplicationImpl.java:802) at com.intellij.openapi.application.impl.ApplicationImpl.lambda$invokeLat er$4(ApplicationImpl.java:322) at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java :84) at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQue ue.java:132) at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.j ava:47) at com.intellij.openapi.application.impl.FlushQueue$FlushNow.run(FlushQue ue.java:188) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.j ava:313) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776 ) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doInte rsectionPrivilege(ProtectionDomain.java:85) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:417) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Event DispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDis patchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Event DispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThre ad.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThre ad.java:101) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java :90) ```

Yaron
Wed, 15 Jul 2020 06:18:29 GMT

Thanks for reporting bhah! This logged error doesn't have an effect on functionality as far I know. It's related to IDEA API/SDK deprecation. I'll fix this anyway and update on the progress

Yaron
Tue, 06 Oct 2020 21:28:42 GMT

bhah , A fix for this issue was included in version 4.0.0. Thanks for reporting it