-
Bug
-
Resolution: Won't Fix
-
P4
-
None
-
1.4.0
-
x86
-
linux
Name: dk106046 Date: 01/25/2002
Operating Systems:
Linux:
RedHat 7.2 Japanese for IA32 + kinput2 + FreeWnn
SuSE7.1(x86) + kinput2 + FreeWnn
RedHat6.2(x86) + kinput2 + FreeWnn
JDK versions:
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-rc-b90)
Java HotSpot(TM) Client VM (build 1.4.0-rc-b90, mixed mode)
Also fails with 1.3.0 and 1.3.1
Environment setup:
1. Login and start kterm.
2. Kill process of kinput2 for canna as follows.
"ps -ef |grep kinput2"
Then "<canna PID> kinput2 -xim -kinput -canna &" is displayed.
"kill -9 <canna PID>"
3. Start kinput2 for Freewnn as follows.
"kinput2 -xim -kinput -wnn &"
4. Confirm the running of jserver as follows.
"ps -ef |grep jserver"
Then "<jserver PID> /usr/bin/jserver" is displayed.
5. Confirm the Japanese input normally as follows.
Press "Shift+Space"
Then IM status window appears at the lower left of the kterm.
Input "A", then Japanese "A" is input.
Press "Ctrl+J" twice, then candidate selection window appears at the lower left of the kterm.
Steps to reproduce problem:
6. "java JTextTest"
Then JTextArea window appears.
7. Activate IM of Freewnn.
Press "Shift+Space"
Then IM status window appears at the lower left of the JTextArea window.
8. Press Enter on numeric keypad twice.
Then "javax.swing.text.StateInvariantError" appears in the kterm (see below).
JTextTest.java:
import java.awt.*;
import javax.swing.*;
public class JTextTest extends JFrame {
public JTextTest() {
super("JTextArea");
getContentPane().add(new JTextArea());
setSize(300, 300);
show();
}
public static void main(String[] args) {
new JTextTest();
}
}
Exception:
javax.swing.text.StateInvariantError: Can't render line: 0
at javax.swing.text.PlainView.drawLine(PlainView.java:75)
at javax.swing.text.PlainView.paint(PlainView.java:284)
at javax.swing.plaf.basic.BasicTextUI$RootView.paint(BasicTextUI.java:1248)
at javax.swing.plaf.basic.BasicTextUI.paintSafely(BasicTextUI.java:565)
at javax.swing.plaf.basic.BasicTextUI.paint(BasicTextUI.java:699)
at javax.swing.plaf.basic.BasicTextUI.update(BasicTextUI.java:678)
at javax.swing.JComponent.paintComponent(JComponent.java:537)
at javax.swing.JComponent.paint(JComponent.java:804)
at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4735)
at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4688)
at javax.swing.JComponent._paintImmediately(JComponent.java:4632)
at javax.swing.JComponent.paintImmediately(JComponent.java:4464)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:404)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
The problem only happens with FreeWnn (not Canna) and has only been recreated with a Japanese keyboard.
======================================================================
###@###.### 11/4/04 04:13 GMT
Operating Systems:
Linux:
RedHat 7.2 Japanese for IA32 + kinput2 + FreeWnn
SuSE7.1(x86) + kinput2 + FreeWnn
RedHat6.2(x86) + kinput2 + FreeWnn
JDK versions:
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-rc-b90)
Java HotSpot(TM) Client VM (build 1.4.0-rc-b90, mixed mode)
Also fails with 1.3.0 and 1.3.1
Environment setup:
1. Login and start kterm.
2. Kill process of kinput2 for canna as follows.
"ps -ef |grep kinput2"
Then "<canna PID> kinput2 -xim -kinput -canna &" is displayed.
"kill -9 <canna PID>"
3. Start kinput2 for Freewnn as follows.
"kinput2 -xim -kinput -wnn &"
4. Confirm the running of jserver as follows.
"ps -ef |grep jserver"
Then "<jserver PID> /usr/bin/jserver" is displayed.
5. Confirm the Japanese input normally as follows.
Press "Shift+Space"
Then IM status window appears at the lower left of the kterm.
Input "A", then Japanese "A" is input.
Press "Ctrl+J" twice, then candidate selection window appears at the lower left of the kterm.
Steps to reproduce problem:
6. "java JTextTest"
Then JTextArea window appears.
7. Activate IM of Freewnn.
Press "Shift+Space"
Then IM status window appears at the lower left of the JTextArea window.
8. Press Enter on numeric keypad twice.
Then "javax.swing.text.StateInvariantError" appears in the kterm (see below).
JTextTest.java:
import java.awt.*;
import javax.swing.*;
public class JTextTest extends JFrame {
public JTextTest() {
super("JTextArea");
getContentPane().add(new JTextArea());
setSize(300, 300);
show();
}
public static void main(String[] args) {
new JTextTest();
}
}
Exception:
javax.swing.text.StateInvariantError: Can't render line: 0
at javax.swing.text.PlainView.drawLine(PlainView.java:75)
at javax.swing.text.PlainView.paint(PlainView.java:284)
at javax.swing.plaf.basic.BasicTextUI$RootView.paint(BasicTextUI.java:1248)
at javax.swing.plaf.basic.BasicTextUI.paintSafely(BasicTextUI.java:565)
at javax.swing.plaf.basic.BasicTextUI.paint(BasicTextUI.java:699)
at javax.swing.plaf.basic.BasicTextUI.update(BasicTextUI.java:678)
at javax.swing.JComponent.paintComponent(JComponent.java:537)
at javax.swing.JComponent.paint(JComponent.java:804)
at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4735)
at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4688)
at javax.swing.JComponent._paintImmediately(JComponent.java:4632)
at javax.swing.JComponent.paintImmediately(JComponent.java:4464)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:404)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
The problem only happens with FreeWnn (not Canna) and has only been recreated with a Japanese keyboard.
======================================================================
###@###.### 11/4/04 04:13 GMT