-
Bug
-
Resolution: Fixed
-
P2
-
1.4.0
-
beta2
-
x86, sparc
-
solaris, solaris_2.6
-
Verified
Tested on Solaris 9/x86, Solaris 2.6 and 9/Sparc and RedHatLinux6.2J unpdate with Merlin beta-refresh b63b
"java.lang.IllegalArgumentException: null" source occurs in switching Input Method;
the detail of the exception is below;
java.lang.IllegalArgumentException: null source
at java.util.EventObject.(EventObject.java:37)
at java.awt.AWTEvent.(AWTEvent.java:228)
at java.awt.event.InputMethodEvent.(InputMethodEvent.java:112)
at sun.awt.motif.X11InputMethod.postInputMethodEvent(X11InputMethod.java:427)
at sun.awt.motif.X11InputMethod.endComposition(X11InputMethod.java:743)
at sun.awt.motif.X11InputMethod.stopListening(X11InputMethod.java:351)
at sun.awt.im.InputContext.activateInputMethod(InputContext.java:334)
at sun.awt.im.InputContext.focusGained(InputContext.java:305)
at sun.awt.im.InputContext.dispatchEvent(InputContext.java:217)
at sun.awt.im.InputMethodContext.dispatchEvent(InputMethodContext.java:181)
at java.awt.Component.dispatchEventImpl(Component.java:3424)
at java.awt.Component.dispatchEvent(Component.java:3341)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1617)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:704)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:409)
at java.awt.Component.dispatchEventImpl(Component.java:3365)
at java.awt.Component.dispatchEvent(Component.java:3341)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:439)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
To reproduce,
1. rm $HOME/.java/.userPrefs
2. put the WuBi.jar on $JAVAHOME/jre/lib/ext/.
3. Extract IMtest.tar (attached) and compile JTextArea.java and IMTest.java
files:
IMtest/IMTest.java -----> This is a case for JTextField
IMtest/JTextAreaTest.java
IMtest/WuBi.jar
Case 1:
1. Launch JTextAreaTest (java JTextArea)
2. Select "TestIM" from the IM selection menu in the system menu.
Then, the exception occurs and JTextArea can not be activated any more.
Case 2:
1. rm $HOME/.java/.userPrefs
2. Launch IMTest (java IMTest)
3. Select "TestIM" from the IM selection menu in the system menu.
Then, the exception occurs and JTextField can not be activated any more.
4. Launch IMTest again.
You can see TestIM is selected as the default IM, the status window appears and TestIM can work.
Changing IM does not cause the exception any more.
* The phenemenon 4) is not seen in Case 1, JTextArea.
This problem is not reproduceible merlin-beta b65.
This is not seen on Windows.
- relates to
-
JDK-4472331 Solaris installer wizard (java 1.4 beta_refresh-b67) hangs
- Resolved