plication.impl.ApplicationImpl - Assertion failed: This operation is time consuming and must not be called on EDT

Answered

it was be producted when i start my plugin from runIde . 

seems a maven error?

why the error is exist?

2021-07-28 18:41:27,358 [ 23330] ERROR - plication.impl.ApplicationImpl - Assertion failed: This operation is time consuming and must not be called on EDT
java.lang.Throwable: Assertion failed: This operation is time consuming and must not be called on EDT
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:182)
at com.intellij.openapi.application.impl.ApplicationImpl.assertTimeConsuming(ApplicationImpl.java:1094)
at com.intellij.execution.rmi.RemoteProcessSupport.acquire(RemoteProcessSupport.java:121)
at org.jetbrains.idea.maven.server.MavenServerManager.create(MavenServerManager.java:170)
at org.jetbrains.idea.maven.server.MavenServerManager.create(MavenServerManager.java:83)
at org.jetbrains.idea.maven.server.RemoteObjectWrapper.getOrCreateWrappee(RemoteObjectWrapper.java:41)
at org.jetbrains.idea.maven.server.MavenServerManager$3.create(MavenServerManager.java:427)
at org.jetbrains.idea.maven.server.MavenServerManager$3.create(MavenServerManager.java:423)
at org.jetbrains.idea.maven.server.RemoteObjectWrapper.getOrCreateWrappee(RemoteObjectWrapper.java:41)
at org.jetbrains.idea.maven.server.MavenIndexerWrapper.getRemoteId(MavenIndexerWrapper.java:142)
at org.jetbrains.idea.maven.server.MavenIndexerWrapper.lambda$createIndex$0(MavenIndexerWrapper.java:60)
at org.jetbrains.idea.maven.server.RemoteObjectWrapper.perform(RemoteObjectWrapper.java:76)
at org.jetbrains.idea.maven.server.MavenIndexerWrapper.createIndex(MavenIndexerWrapper.java:60)
at org.jetbrains.idea.maven.indices.MavenIndex.createContext(MavenIndex.java:383)
at org.jetbrains.idea.maven.indices.MavenIndex.access$300(MavenIndex.java:40)
at org.jetbrains.idea.maven.indices.MavenIndex$IndexData.<init>(MavenIndex.java:674)
at org.jetbrains.idea.maven.indices.MavenIndex.doOpen(MavenIndex.java:209)
at org.jetbrains.idea.maven.indices.MavenIndex.open(MavenIndex.java:176)
at org.jetbrains.idea.maven.indices.MavenIndex.<init>(MavenIndex.java:93)
at org.jetbrains.idea.maven.indices.MavenIndices.add(MavenIndices.java:92)
at org.jetbrains.idea.maven.indices.MavenIndicesManager.createIndexForLocalRepo(MavenIndicesManager.java:177)
at org.jetbrains.idea.maven.onlinecompletion.MavenCompletionProviderFactory.addLocalIndex(MavenCompletionProviderFactory.java:68)
at org.jetbrains.idea.maven.onlinecompletion.MavenCompletionProviderFactory.getProviders(MavenCompletionProviderFactory.java:38)
at org.jetbrains.idea.maven.onlinecompletion.MavenCompletionProviderFactory.getProviders(MavenCompletionProviderFactory.java:25)
at org.jetbrains.idea.reposearch.DependencySearchService.updateProviders(DependencySearchService.kt:58)
at org.jetbrains.idea.reposearch.DependencySearchService.<init>(DependencySearchService.kt:186)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at com.intellij.serviceContainer.ConstructorInjectionKt.instantiateUsingPicoContainer(constructorInjection.kt:53)
at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClassWithConstructorInjection(ComponentManagerImpl.kt:660)
at com.intellij.serviceContainer.ServiceComponentAdapter.createAndInitialize(ServiceComponentAdapter.kt:54)

1 comment
Comment actions Permalink

Please follow the IDEA-245004 issue. 

0

Please sign in to leave a comment.