Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error using shortcuts #322

Closed
1 task done
leandro-hermes opened this issue Feb 15, 2021 · 2 comments
Closed
1 task done

Error using shortcuts #322

leandro-hermes opened this issue Feb 15, 2021 · 2 comments

Comments

@leandro-hermes
Copy link

leandro-hermes commented Feb 15, 2021

  • I'm submitting a ...

    • bug report
  • What is the current behavior?

When I start a flow using shortcuts, an exception is thrown

  • How to reproduce:
  1. Configure a keyboard shortcut for an action, e.g. Start feature
  2. Open a project
  3. Use the shortcut
  4. Close the project by menu File -> Close project
  5. Open it again
  6. Use the shortcut
  7. See the exception in the notifications area
  • What is the expected behavior?

Exception not to be thrown and the action to be executed.

  • Environment:

    • Gitflow4idea version: 0.7.5

    • Gitflow version: 1.12.3 (AVH Edition)

    • IntelliJ info:

    PhpStorm 2020.3.2
    Build #PS-203.7148.74, built on January 27, 2021
    Licensed to **_[hidden]_**
    Subscription is active until October 1, 2021.
    Runtime version: 11.0.9.1+11-b1145.77 amd64
    VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
    Linux 5.8.0-43-generic
    GC: ParNew, ConcurrentMarkSweep
    Memory: 1892M
    Cores: 8
    Registry: run.processes.with.pty=TRUE, js.debugger.webconsole=false
    Non-Bundled Plugins: String Manipulation, com.github.lppedd.idea-conventional-commit, com.wakatime.intellij.plugin, Gitflow, com.jetbrains.codeWithMe, com.intellij.plugins.html.instantEditing, com.jetbrains.plugins.jade, de.espend.idea.laravel, ru.adelf.idea.dotenv
    Current Desktop: ubuntu:GNOME
    
  • Other information
    Stack trace:

com.intellij.util.IncorrectOperationException: Sorry but parent: /home/leandro/<path> has already been disposed (see the cause for stacktrace) so the child: gitflow.GitflowConfigUtil$$Lambda$2526/0x0000000101a19c40@1a397dcb will never be disposed
	at com.intellij.openapi.util.ObjectTree.register(ObjectTree.java:55)
	at com.intellij.openapi.util.Disposer.register(Disposer.java:73)
	at gitflow.GitflowConfigUtil.getInstance(GitflowConfigUtil.java:60)
	at gitflow.ui.GitflowStartFeatureDialog.getDefaultBranch(GitflowStartFeatureDialog.java:22)
	at gitflow.ui.AbstractBranchStartDialog.<init>(AbstractBranchStartDialog.java:46)
	at gitflow.ui.GitflowStartFeatureDialog.<init>(GitflowStartFeatureDialog.java:12)
	at gitflow.actions.StartFeatureAction.actionPerformed(StartFeatureAction.java:28)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:281)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$1.performAction(IdeKeyEventDispatcher.java:615)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.lambda$processAction$3(IdeKeyEventDispatcher.java:675)
	at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:95)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:674)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:625)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processActionOrWaitSecondStroke(IdeKeyEventDispatcher.java:522)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.inInitState(IdeKeyEventDispatcher.java:476)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:225)
	at com.intellij.ide.IdeEventQueue.dispatchKeyEvent(IdeEventQueue.java:892)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:837)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:454)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:773)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$9(IdeEventQueue.java:453)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:822)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:507)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
@OpherV
Copy link
Owner

OpherV commented Feb 15, 2021

Oh, great find! Thanks for reporting
I'll address this in the next version

OpherV added a commit that referenced this issue Apr 13, 2021
@OpherV
Copy link
Owner

OpherV commented Apr 13, 2021

Fixed in 0.7.6

@OpherV OpherV closed this as completed Apr 13, 2021
sercheo87 added a commit to sercheo87/gitflow4idea that referenced this issue Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants