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

Access from event dispatch thread is not allowed. #341

Open
1 of 2 tasks
diesl opened this issue Nov 16, 2021 · 0 comments
Open
1 of 2 tasks

Access from event dispatch thread is not allowed. #341

diesl opened this issue Nov 16, 2021 · 0 comments

Comments

@diesl
Copy link

diesl commented Nov 16, 2021

  • I'm submitting a ...

    • bug report
    • feature request
  • What is the current behavior?
    Rubymine tells me about an IDE Fatal Error

  • Is this a bug? Sorry about that. If so give me explicit details how to reproduce:

  1. Open Rubymine
  2. Work on feature branch
  3. Finish feature
  4. Resolve merge conflicts
  5. Confirm modal window that merge was successful
  6. IDE Fatal Error report
  • What is the expected behavior?
    No IDE Fatal Error report

  • What is the motivation / use case for changing the behavior?

  • Please tell me about your environment:

    • Gitflow4idea version: 0.7.7
    • Gitflow version: 1.12.3 (AVH Edition)
    • IntelliJ Help -> about > click copy icon and paste here. Should look like this:
      RubyMine 2021.2.3
      Build #RM-212.5457.52, built on October 14, 2021
      Runtime version: 11.0.12+7-b1504.40 amd64
      VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
    
  • Other information

This exception occured together with exception already described in #326.

Stacktrace:

com.intellij.openapi.diagnostic.RuntimeExceptionWithAttachments: EventQueue.isDispatchThread()=true Toolkit.getEventQueue()=com.intellij.ide.IdeEventQueue@669496f0
Current thread: Thread[AWT-EventQueue-0,6,main] 2093310791
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 2093310791
	at com.intellij.openapi.application.impl.ApplicationImpl.throwThreadAccessException(ApplicationImpl.java:1030)
	at com.intellij.openapi.application.impl.ApplicationImpl.assertIsNonDispatchThread(ApplicationImpl.java:1013)
	at git4idea.GitUtil.getRepositoryForRoot(GitUtil.java:640)
	at git4idea.merge.GitMerger.mergeCommit(GitMerger.java:63)
	at git4idea.merge.GitMerger.mergeCommit(GitMerger.java:55)
	at gitflow.actions.GitflowAction.askUserForMergeSuccess(GitflowAction.java:108)
	at gitflow.actions.GitflowAction.handleMerge(GitflowAction.java:92)
	at gitflow.actions.FinishFeatureAction$1.onSuccess(FinishFeatureAction.java:91)
	at com.intellij.openapi.progress.impl.CoreProgressManager.finishTask(CoreProgressManager.java:615)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.finishTask(ProgressManagerImpl.java:162)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsync$6(CoreProgressManager.java:538)
	at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:214)
	at com.intellij.openapi.application.TransactionGuardImpl.access$200(TransactionGuardImpl.java:21)
	at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:196)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:794)
	at com.intellij.openapi.application.impl.ApplicationImpl.lambda$invokeLater$4(ApplicationImpl.java:350)
	at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:84)
	at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:133)
	at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:46)
	at com.intellij.openapi.application.impl.FlushQueue$FlushNow.run(FlushQueue.java:189)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java: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.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:885)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:754)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:441)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:825)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:440)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:794)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:486)
	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)
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

1 participant