Fatal IDE Error when Mercurial plugin missing
Issue #38
resolved
I'm only using Git. Bitbucket Linky causes a "Fatal IDE Error" when the Mercurial plugin is not installed.
I run version 3.6, here's the stack trace:
update failed for AnAction with ID=Bitbucket.CopyFileUrlInBitbucket: java.lang.NoClassDefFoundError: org/zmlx/hg4idea/HgRevisionNumber
com.google.common.util.concurrent.ExecutionError: java.lang.NoClassDefFoundError: org/zmlx/hg4idea/HgRevisionNumber
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2215)
at com.google.common.cache.LocalCache.get(LocalCache.java:4154)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4158)
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5147)
at com.atlassian.bitbucket.linky.actions.CachingLinkyActionContextProvider.getLinkyActionContext(action-context.kt:73)
at com.atlassian.bitbucket.linky.actions.Action_contextKt.linkyActionContext(action-context.kt:201)
at com.atlassian.bitbucket.linky.actions.link.AbstractFileSourceViewAction.update(file-actions.kt:36)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:132)
at com.intellij.openapi.actionSystem.impl.Utils.a(Utils.java:235)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:180)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:100)
at com.intellij.openapi.actionSystem.impl.Utils.fillMenu(Utils.java:341)
at com.intellij.openapi.actionSystem.impl.ActionPopupMenuImpl$MyMenu.show(ActionPopupMenuImpl.java:98)
at com.intellij.openapi.actionSystem.impl.ActionButton.a(ActionButton.java:185)
at com.intellij.openapi.actionSystem.impl.ActionButton.a(ActionButton.java:155)
at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:329)
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.d(IdeEventQueue.java:821)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:645)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:365)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:736)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:458)
at com.intellij.openapi.ui.DialogWrapper.invokeShow(DialogWrapper.java:1686)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1635)
at com.intellij.openapi.vcs.changes.ui.CommitChangeListDialog.commitChanges(CommitChangeListDialog.java:207)
at com.intellij.openapi.vcs.changes.ui.CommitChangeListDialog.commitChanges(CommitChangeListDialog.java:173)
at com.intellij.openapi.vcs.changes.ui.CommitChangeListDialog.commitChanges(CommitChangeListDialog.java:162)
at com.intellij.openapi.vcs.changes.ui.CommitChangeListDialog.commitChanges(CommitChangeListDialog.java:141)
at com.intellij.openapi.vcs.actions.AbstractCommonCheckinAction.performCheckIn(AbstractCommonCheckinAction.java:71)
at com.intellij.openapi.vcs.actions.AbstractCommonCheckinAction.a(AbstractCommonCheckinAction.java:60)
at com.intellij.openapi.vcs.changes.Waiter.onSuccess(Waiter.java:65)
at com.intellij.openapi.progress.impl.CoreProgressManager.finishTask(CoreProgressManager.java:462)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcessWithProgressSynchronously(CoreProgressManager.java:417)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcessWithProgressSynchronously(ProgressManagerImpl.java:117)
at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:332)
at com.intellij.openapi.progress.impl.CoreProgressManager.run(CoreProgressManager.java:317)
at com.intellij.openapi.vcs.changes.CallbackData.a(CallbackData.java:85)
at com.intellij.openapi.vcs.changes.UpdateRequestsQueue.invokeAfterUpdate(UpdateRequestsQueue.java:202)
at com.intellij.openapi.vcs.changes.ChangeListManagerImpl.invokeAfterUpdate(ChangeListManagerImpl.java:341)
at com.intellij.openapi.vcs.actions.AbstractCommonCheckinAction.actionPerformed(AbstractCommonCheckinAction.java:60)
at com.intellij.openapi.vcs.actions.AbstractVcsAction.actionPerformed(AbstractVcsAction.java:48)
at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:216)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:233)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$1.performAction(IdeKeyEventDispatcher.java:576)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:625)
at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:193)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:624)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.e(IdeKeyEventDispatcher.java:479)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:213)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:621)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:365)
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)
Caused by: java.lang.NoClassDefFoundError: org/zmlx/hg4idea/HgRevisionNumber
at com.atlassian.bitbucket.linky.Linky_fileKt.getRevisionHash(linky-file.kt:25)
at com.atlassian.bitbucket.linky.actions.CachingLinkyActionContextProvider.createLinkyFileActionContext(action-context.kt:160)
at com.atlassian.bitbucket.linky.actions.CachingLinkyActionContextProvider.gatherDiffViewFileActionContext(action-context.kt:150)
at com.atlassian.bitbucket.linky.actions.CachingLinkyActionContextProvider.gatherLinkyActionContext(action-context.kt:85)
at com.atlassian.bitbucket.linky.actions.CachingLinkyActionContextProvider.access$gatherLinkyActionContext(action-context.kt:62)
at com.atlassian.bitbucket.linky.actions.CachingLinkyActionContextProvider$cache$1.apply(action-context.kt:70)
at com.atlassian.bitbucket.linky.actions.CachingLinkyActionContextProvider$cache$1.apply(action-context.kt:62)
at com.google.common.cache.CacheLoader$FunctionToCacheLoader.load(CacheLoader.java:146)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3716)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2424)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2298)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2211)
... 87 more
Caused by: java.lang.ClassNotFoundException: org.zmlx.hg4idea.HgRevisionNumber PluginClassLoader[com.atlassian.bitbucket.references, 3.6] com.intellij.ide.plugins.cl.PluginClassLoader@49692d39
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:65)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 99 more
Comments (5)
-
staff -
staff - changed status to resolved
Fixed in 4.1
-
reporter Looks good, thanks for the outrageously fast response.
-
staff Awesome! Glad it works now
-
staff - removed version
Removing version: 3.6 (automated comment)
- Log in to comment
Hello @bcalmac-cc ,
Thank you for reporting this bug. I've just released Bitbucket Linky 4.1 which should have it fixed.
Please let me know if it works for you.
Cheers, Daniil