Jump to content

Exception in PlasticSCM IntelliJ plugin


derkork

Recommended Posts

Hi,

 

since I found no bug tracker, I thought I report the issue here. When you try to add multiple files to VCS using the browse window, you're getting this exception:

Write access is allowed from event dispatch thread only
 EventQueue.isDispatchThread()=false isDispatchThread()=false Toolkit.getEventQueue()=com.intellij.ide.IdeEventQueue@2418a22c Current thread: Thread[ApplicationImpl pooled thread 8,4,main] 346842862 SystemEventQueueThread: Thread[AWT-EventQueue-0 15.0.1#IU-143.382.35, eap:false,6,main] 1914551784


java.lang.Throwable
at com.intellij.psi.impl.DebugUtil.currentStackTrace(DebugUtil.java:497)
at com.intellij.diagnostic.LogEventException.<init>(LogEventException.java:29)
at com.intellij.openapi.application.impl.ApplicationImpl.a(ApplicationImpl.java:1106)
at com.intellij.openapi.application.impl.ApplicationImpl.b(ApplicationImpl.java:1212)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1000)
at com.codicesoftware.intellij.actions.ActionBaseFile.saveDocuments(ActionBaseFile.java:62)
at com.codicesoftware.intellij.actions.ActionBaseFile.processFiles(ActionBaseFile.java:84)
at com.codicesoftware.intellij.application.PlasticCheckinEnvironment.scheduleUnversionedFilesForAddition(PlasticCheckinEnvironment.java:112)
at com.intellij.openapi.vcs.changes.ChangeListManagerImpl$22$1.run(ChangeListManagerImpl.java:1247)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:563)
at com.intellij.openapi.progress.impl.CoreProgressManager$8.run(CoreProgressManager.java:357)
at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:142)
at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:446)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:127)
at com.intellij.openapi.application.impl.ApplicationImpl$14$1.run(ApplicationImpl.java:626)
at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:365)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:55)

Seems like the the plugin isn't wrapping a write operation into the proper WriteAction (see http://www.jetbrains.org/intellij/sdk/docs/basics/architectural_overview/general_threading_rules.html).  The issue occurred in IntelliJ 15.0.1.

post-27641-0-70050800-1451889993_thumb.png

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...