What does "java.lang.AssertionError: Already disposed:" mean?

One of my plugin throws the following exception:

Error during dispatching of java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=com.google.devtools.intellig.blazeplugin.BuildResultControllerImpl$1@5a5f1d5c,notifier=null,catchExceptions=false,when=1315948926740] on sun.awt.X11.XToolkit@66c94604: Already disposed: Project (Disposed) src_helixdev
java.lang.AssertionError: Already disposed: Project (Disposed) src_helixdev
       at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponent(ComponentManagerImpl.java:215)
       at com.google.devtools.intellig.blazeplugin.BuildResultControllerImpl.showBuildResultInView(BuildResultControllerImpl.java:65)


Any idea what does the above error mean? Any tips on how to fix that error?

I am using IntelliJ 10.5, OpenJDK, Linux.

Thanks,
Chandra

1 comment
Comment actions Permalink

Hello chandra,

Most likely you've used an invokeLater() call and the project from which
you've started the call was closed before the invokeLater() got executed.
You can specify the Project.getDisposed() condition as an additional parameter
to your invokeLater() call to make sure the Runnable is not called for a
disposed project.

One of my plugin throws the following exception:

Error during dispatching of
java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=com.google.
devtools.intellig.blazeplugin.BuildResultControllerImpl$1@5a5f1d5c,not
ifier=null,catchExceptions=false,when=1315948926740] on
sun.awt.X11.XToolkit@66c94604: Already disposed: Project (Disposed)
src_helixdev
java.lang.AssertionError: Already disposed: Project (Disposed)
src_helixdev
at
com.intellij.openapi.components.impl.ComponentManagerImpl.getComponent
(ComponentManagerImpl.java:215)
at
com.google.devtools.intellig.blazeplugin.BuildResultControllerImpl.sho
wBuildResultInView(BuildResultControllerImpl.java:65)
Any idea what does the above error mean? Any tips on how to fix that
error?

I am using IntelliJ 10.5, OpenJDK, Linux.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.