java.lang.LinkageError: loader constraint violation: when resolving method "com.intellij.openapi.application.ActionsKt.runWriteAction(Lkotlin/jvm/functions/Function0;)Ljava/lang/Object;" the class loader (instance of com/intellij/ide/plugins/cl/PluginClassLoader) of the current class, org/rust/cargo/project/configurable/RustProjectConfigurable, and the class loader (instance of com/intellij/util/lang/UrlClassLoader) for the method's defining class, com/intellij/openapi/application/ActionsKt, have different Class objects for the type kotlin/jvm/functions/Function0 used in the signature

GitHub | Dragonrun1 | 4 months ago
  1. 0

    GitHub comment 549#234843933

    GitHub | 4 months ago | Dragonrun1
    java.lang.LinkageError: loader constraint violation: when resolving method "com.intellij.openapi.application.ActionsKt.runWriteAction(Lkotlin/jvm/functions/Function0;)Ljava/lang/Object;" the class loader (instance of com/intellij/ide/plugins/cl/PluginClassLoader) of the current class, org/rust/cargo/project/configurable/RustProjectConfigurable, and the class loader (instance of com/intellij/util/lang/UrlClassLoader) for the method's defining class, com/intellij/openapi/application/ActionsKt, have different Class objects for the type kotlin/jvm/functions/Function0 used in the signature
  2. 0

    Unable to install the fabric plugin (for crashlytics) on Android Studio

    Stack Overflow | 4 weeks ago | Dibzmania
    java.lang.LinkageError: loader constraint violation: when resolving method "org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()Lorg/slf4j/ILoggerFactory;" the class loader (instance of com/intellij/ide/plugins/cl/PluginClassLoader) of the current class, org/slf4j/LoggerFactory, and the class loader (instance of com/intellij/util/lang/UrlClassLoader) for the method's defining class, org/slf4j/impl/StaticLoggerBinder, have different Class objects for the type org/slf4j/ILoggerFactory used in the signature
  3. 0

    Classloading error during Error reporting

    GitHub | 1 year ago | patflynn
    java.lang.LinkageError: loader constraint violation: when resolving method "org.apache.http.client.utils.HttpClientUtils.closeQuietly(Lorg/apache/http/client/HttpClient;)V" the class loader (instance of com/intellij/ide/plugins/cl/PluginClassLoader) of the current class, com/google/gct/stats/GoogleUsageTracker$1, and the class loader (instance of com/intellij/util/lang/UrlClassLoader) for the method's defining class, org/apache/http/client/utils/HttpClientUtils, have different Class objects for the type org/apache/http/client/HttpClient used in the signature
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Usage tracking causing class loading error

    GitHub | 1 year ago | patflynn
    java.lang.LinkageError: loader constraint violation: when resolving method "org.apache.http.client.utils.HttpClientUtils.closeQuietly(Lorg/apache/http/client/HttpClient;)V" the class loader (instance of com/intellij/ide/plugins/cl/PluginClassLoader) of the current class, com/google/gct/stats/GoogleUsageTracker$1, and the class loader (instance of com/intellij/util/lang/UrlClassLoader) for the method's defining class, org/apache/http/client/utils/HttpClientUtils, have different Class objects for the type org/apache/http/client/HttpClient used in the signature
  6. 0

    Loader constraint violation

    YouTrack | 6 years ago
    java.lang.LinkageError: loader constraint violation: when resolving overridden method "com.atlassian.theplugin.idea.crucible.PostCommitReviewCheckinHandlerFactory$Handler.getAfterCheckinConfigurationPanel(Lcom/intellij/openapi/Disposable;)Lcom/intellij/openapi/vcs/ui/RefreshableOnComponent;" the class loader (instance of com/intellij/ide/plugins/cl/PluginClassLoader) of the current class, com/atlassian/theplugin/idea/crucible/PostCommitReviewCheckinHandlerFactory$Handler, and its superclass loader (instance of com/intellij/util/lang/UrlClassLoader), have different Class objects for the type com/intellij/openapi/Disposable used in the signature

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.LinkageError

      loader constraint violation: when resolving method "com.intellij.openapi.application.ActionsKt.runWriteAction(Lkotlin/jvm/functions/Function0;)Ljava/lang/Object;" the class loader (instance of com/intellij/ide/plugins/cl/PluginClassLoader) of the current class, org/rust/cargo/project/configurable/RustProjectConfigurable, and the class loader (instance of com/intellij/util/lang/UrlClassLoader) for the method's defining class, com/intellij/openapi/application/ActionsKt, have different Class objects for the type kotlin/jvm/functions/Function0 used in the signature

      at org.rust.cargo.project.configurable.RustProjectConfigurable.apply()
    2. org.rust.cargo
      RustProjectConfigurable.apply
      1. org.rust.cargo.project.configurable.RustProjectConfigurable.apply(RustProjectConfigurable.kt:79)
      1 frame
    3. IDEA
      DialogWrapper$DialogWrapperAction.actionPerformed
      1. com.intellij.openapi.options.ex.ConfigurableWrapper.apply(ConfigurableWrapper.java:182)
      2. com.intellij.openapi.options.newEditor.ConfigurableEditor.apply(ConfigurableEditor.java:319)
      3. com.intellij.openapi.options.newEditor.SettingsEditor$5.apply(SettingsEditor.java:160)
      4. com.intellij.openapi.options.newEditor.SettingsEditor.apply(SettingsEditor.java:332)
      5. com.intellij.openapi.options.newEditor.SettingsDialog.doOKAction(SettingsDialog.java:153)
      6. com.intellij.openapi.ui.DialogWrapper$OkAction.doAction(DialogWrapper.java:1843)
      7. com.intellij.openapi.ui.DialogWrapper$DialogWrapperAction.actionPerformed(DialogWrapper.java:1809)
      7 frames
    4. Java RT
      EventQueue.dispatchEvent
      1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
      2. javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
      3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
      4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
      5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
      6. java.awt.Component.processMouseEvent(Component.java:6533)
      7. javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
      8. java.awt.Component.processEvent(Component.java:6298)
      9. java.awt.Container.processEvent(Container.java:2236)
      10. java.awt.Component.dispatchEventImpl(Component.java:4889)
      11. java.awt.Container.dispatchEventImpl(Container.java:2294)
      12. java.awt.Component.dispatchEvent(Component.java:4711)
      13. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
      14. java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
      15. java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
      16. java.awt.Container.dispatchEventImpl(Container.java:2280)
      17. java.awt.Window.dispatchEventImpl(Window.java:2746)
      18. java.awt.Component.dispatchEvent(Component.java:4711)
      19. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
      20. java.awt.EventQueue.access$500(EventQueue.java:97)
      21. java.awt.EventQueue$3.run(EventQueue.java:709)
      22. java.awt.EventQueue$3.run(EventQueue.java:703)
      23. java.security.AccessController.doPrivileged(Native Method)
      24. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      25. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
      26. java.awt.EventQueue$4.run(EventQueue.java:731)
      27. java.awt.EventQueue$4.run(EventQueue.java:729)
      28. java.security.AccessController.doPrivileged(Native Method)
      29. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      30. java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
      30 frames
    5. IDEA
      IdeEventQueue.dispatchEvent
      1. com.intellij.ide.IdeEventQueue.d(IdeEventQueue.java:863)
      2. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:695)
      3. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:385)
      3 frames
    6. Java RT
      Dialog.show
      1. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
      2. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
      3. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
      4. java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184)
      5. java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229)
      6. java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227)
      7. java.security.AccessController.doPrivileged(Native Method)
      8. java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227)
      9. java.awt.Dialog.show(Dialog.java:1084)
      9 frames
    7. IDEA
      ActionButton.processMouseEvent
      1. com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:778)
      2. com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:455)
      3. com.intellij.openapi.ui.DialogWrapper.invokeShow(DialogWrapper.java:1665)
      4. com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1607)
      5. com.intellij.openapi.options.newEditor.SettingsDialog.access$101(SettingsDialog.java:41)
      6. com.intellij.openapi.options.newEditor.SettingsDialog.a(SettingsDialog.java:77)
      7. com.intellij.openapi.project.DumbPermissionServiceImpl.allowStartingDumbModeInside(DumbPermissionServiceImpl.java:37)
      8. com.intellij.openapi.project.DumbService.allowStartingDumbModeInside(DumbService.java:283)
      9. com.intellij.openapi.options.newEditor.SettingsDialog.show(SettingsDialog.java:77)
      10. com.intellij.ide.actions.ShowSettingsUtilImpl.showSettingsDialog(ShowSettingsUtilImpl.java:94)
      11. com.intellij.ide.actions.ShowSettingsAction.actionPerformed(ShowSettingsAction.java:62)
      12. com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:197)
      13. com.intellij.openapi.application.TransactionGuardImpl.a(TransactionGuardImpl.java:88)
      14. com.intellij.openapi.application.TransactionGuardImpl.submitTransactionAndWait(TransactionGuardImpl.java:156)
      15. com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:211)
      16. com.intellij.openapi.actionSystem.impl.ActionButton.a(ActionButton.java:188)
      17. com.intellij.openapi.actionSystem.impl.ActionButton.a(ActionButton.java:154)
      18. com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:325)
      18 frames
    8. Java RT
      EventQueue.dispatchEvent
      1. java.awt.Component.processEvent(Component.java:6298)
      2. java.awt.Container.processEvent(Container.java:2236)
      3. java.awt.Component.dispatchEventImpl(Component.java:4889)
      4. java.awt.Container.dispatchEventImpl(Container.java:2294)
      5. java.awt.Component.dispatchEvent(Component.java:4711)
      6. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
      7. java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
      8. java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
      9. java.awt.Container.dispatchEventImpl(Container.java:2280)
      10. java.awt.Window.dispatchEventImpl(Window.java:2746)
      11. java.awt.Component.dispatchEvent(Component.java:4711)
      12. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
      13. java.awt.EventQueue.access$500(EventQueue.java:97)
      14. java.awt.EventQueue$3.run(EventQueue.java:709)
      15. java.awt.EventQueue$3.run(EventQueue.java:703)
      16. java.security.AccessController.doPrivileged(Native Method)
      17. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      18. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
      19. java.awt.EventQueue$4.run(EventQueue.java:731)
      20. java.awt.EventQueue$4.run(EventQueue.java:729)
      21. java.security.AccessController.doPrivileged(Native Method)
      22. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      23. java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
      23 frames
    9. IDEA
      IdeEventQueue.dispatchEvent
      1. com.intellij.ide.IdeEventQueue.d(IdeEventQueue.java:863)
      2. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:695)
      3. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:385)
      3 frames
    10. Java RT
      EventDispatchThread.pumpEvents
      1. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
      2. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
      3. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
      4. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      5. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
      5 frames