Solved

java.lang.IllegalStateException: Can't dispose InputContext while it's active error

Posted on 2006-11-15
1
746 Views
Last Modified: 2007-12-19
Hi Experts,

I have this error when I create an applet from BDK tool. This program worked fine in the BeanBox though.
+++++++++

Exception during disposal:
java.lang.reflect.InvocationTargetException
        at java.awt.EventQueue.invokeAndWait(EventQueue.java:863)
        at java.awt.Window.dispose(Window.java:574)
        at java.awt.Dialog.disposeImpl(Dialog.java:638)
        at java.awt.Dialog.dispose(Dialog.java:634)
        at sun.beanbox.MakeAppDlg.run(MakeAppDlg.java:240)
        at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.IllegalStateException: Can't dispose InputContext while it'
s active
        at sun.awt.im.InputContext.dispose(InputContext.java:601)
        at java.awt.Window$1DisposeAction.run(Window.java:560)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:179)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:201)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:151)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)

        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)

        at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

+++++++++

any idea?

thx,
0
Comment
Question by:dkim18
1 Comment
 
LVL 92

Accepted Solution

by:
objects earned 500 total points
ID: 17951270
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
hash value 2 38
scoresSpecial  challenge 13 40
where is session ID cache stored 1 39
Java Loop 4 3
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This video teaches viewers about errors in exception handling.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now