Fatal error in Jangaroo Migration to Ext AS 6 plugin for IDEA

3 views
Skip to first unread message

Mikko Tommila

unread,
Oct 11, 2017, 6:22:03 AM10/11/17
to Jangaroo Users
Error message:
Write access is allowed from event dispatch thread only

Details:
Write access is allowed from event dispatch thread only
 EventQueue.isDispatchThread()=false isDispatchThread()=false Toolkit.getEventQueue()=com.intellij.ide.IdeEventQueue@39f0f010 Current thread: Thread[ApplicationImpl pooled thread 77,4,main] 1826039805 SystemEventQueueThread: Thread[AWT-EventQueue-0 2017.2.5#IU-172.4343.14 IDEA, eap:false, os:Windows 10 10.0, java-version:JetBrains s.r.o 1.8.0_152-release-915-b12,6,main] 841521440

java.lang.Throwable
 at com.intellij.util.ExceptionUtil.currentStackTrace(ExceptionUtil.java:65)
 at com.intellij.psi.impl.DebugUtil.currentStackTrace(DebugUtil.java:520)
 at com.intellij.diagnostic.LogEventException.<init>(LogEventException.java:32)
 at com.intellij.openapi.application.impl.ApplicationImpl.a(ApplicationImpl.java:1104)
 at com.intellij.openapi.application.impl.ApplicationImpl.e(ApplicationImpl.java:1192)
 at com.intellij.openapi.application.impl.ApplicationImpl.access$500(ApplicationImpl.java:96)
 at com.intellij.openapi.application.impl.ApplicationImpl$WriteAccessToken.<init>(ApplicationImpl.java:1257)
 at com.intellij.openapi.application.impl.ApplicationImpl.acquireWriteActionLock(ApplicationImpl.java:1249)
 at com.intellij.openapi.application.WriteAction.start(WriteAction.java:85)
 at com.intellij.openapi.application.WriteAction.start(WriteAction.java:75)
 at com.intellij.openapi.application.WriteAction.run(WriteAction.java:89)
 at com.intellij.psi.impl.PsiManagerImpl.dropPsiCaches(PsiManagerImpl.java:117)
 at com.intellij.psi.impl.migration.PsiMigrationManager.migrationModified(PsiMigrationManager.java:65)
 at com.intellij.psi.impl.migration.PsiMigrationImpl.finish(PsiMigrationImpl.java:106)
 at net.jangaroo.ide.idea.exml.migration.FlexMigrationProcessor.findUsages(FlexMigrationProcessor.java:168)
 at com.intellij.refactoring.BaseRefactoringProcessor.c(BaseRefactoringProcessor.java:188)
 at com.intellij.openapi.project.DumbService.lambda$runReadActionInSmartMode$0(DumbService.java:91)
 at com.intellij.openapi.project.DumbService.lambda$runReadActionInSmartMode$1(DumbService.java:129)
 at com.intellij.openapi.application.ReadAction.compute(ReadAction.java:47)
 at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:125)
 at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:91)
 at com.intellij.refactoring.BaseRefactoringProcessor.a(BaseRefactoringProcessor.java:188)
 at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:261)
 at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:718)
 at com.intellij.openapi.progress.impl.CoreProgressManager$5.run(CoreProgressManager.java:402)
 at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:170)
 at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:548)
 at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:493)
 at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:94)
 at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:157)
 at com.intellij.openapi.application.impl.ApplicationImpl.a(ApplicationImpl.java:590)
 at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:330)
 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)

I was running "Refactor | Migrate Ext AS Properties" in instructions https://github.com/CoreMedia/jangaroo-tools/wiki/Migrate-Jangaroo-2-to-4 step 9.

Thread dump attached.
threadDump.txt

Frank

unread,
Oct 11, 2017, 6:35:31 AM10/11/17
to Jangaroo Users
Hi Mikka!

Thank you for your report and sorry about the error.
We just recently also found out that due to an incompatible change in IDEA, the plugin "Jangaroo Migrate to Ext AS 6" does not work in IDEA 2017.
Until we are able to fix this, please use IDEA 2016.3 for migration.
After migration, for development, feel free to use IDEA 2017.
I just updated the migration documentation accordingly.

Greetings
-Frank-
Reply all
Reply to author
Forward
0 new messages