-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.4.0
-
generic
-
generic
Name: krC82822 Date: 06/14/2001
[14 June 2001, eval1127@eng -- may be dupe/relative of #4459868]
works fine in 1.3.x
-------------
java version "1.4.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b65)
Java HotSpot(TM) Client VM (build 1.4.0-beta-b65, mixed mode)
StackOverFlow Exception in JComboBox.
--------------- step for testing ----------
1. Run this Test program,
2. Open the Popup of ComboBox
3. press Page_Up/Page_Down Key,
StackOverFlow Exception will be encoutered.
import java.awt.event.*;
import javax.swing.*;
import java.awt.BorderLayout;
public class TestComboBox extends JFrame {
public TestComboBox() {
init();
setSize(200,250);
show();
}
void init(){
String [] data=new String[]{"item1","item2","item3","item4","item5"};
getContentPane().add(new JComboBox(data),BorderLayout.NORTH);
}
public static void main(String[] args) {
TestComboBox testComboBox = new TestComboBox();
}
}
------------
14 June 2001, eval1127@eng -- also reproducible with latest merlin build (#68):
java version "1.4.0-beta_refresh"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta_refresh-b68)
Java HotSpot(TM) Client VM (build 1.4.0-beta_refresh-b68, mixed mode)
java.lang.StackOverflowError
at java.awt.Toolkit.getEventQueue(Toolkit.java:1482)
at java.awt.EventQueue.isDispatchThread(EventQueue.java:567)
at java.awt.EventQueue.setDispatchingEventTime(EventQueue.java:618)
at java.awt.Component.dispatchEventImpl(Component.java:3362)
at java.awt.Container.dispatchEventImpl(Container.java:1440)
at java.awt.Component.dispatchEvent(Component.java:3353)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1631)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:560)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:726)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:660)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:527)
at java.awt.Component.dispatchEventImpl(Component.java:3383)
at java.awt.Container.dispatchEventImpl(Container.java:1440)
at java.awt.Component.dispatchEvent(Component.java:3353)
at javax.swing.plaf.basic.BasicComboBoxUI$KeyToListDispatcher.actionPerformed(BasicComboBoxUI.java:1408)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1496)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2365)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2411)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2318)
at javax.swing.JComboBox.processKeyEvent(JComboBox.java:1340)
at java.awt.Component.processEvent(Component.java:4774)
at java.awt.Container.processEvent(Container.java:1383)
at java.awt.Component.dispatchEventImpl(Component.java:3492)
at java.awt.Container.dispatchEventImpl(Container.java:1440)
at java.awt.Component.dispatchEvent(Component.java:3353)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1631)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:560)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:726)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:660)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:527)
at java.awt.Component.dispatchEventImpl(Component.java:3383)
at java.awt.Container.dispatchEventImpl(Container.java:1440)
at java.awt.Component.dispatchEvent(Component.java:3353)
at javax.swing.plaf.basic.BasicComboBoxUI$KeyToListDispatcher.actionPerformed(BasicComboBoxUI.java:1408)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1496)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2365)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2411)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2318)
at javax.swing.JComboBox.processKeyEvent(JComboBox.java:1340)
at java.awt.Component.processEvent(Component.java:4774)
at java.awt.Container.processEvent(Container.java:1383)
at java.awt.Component.dispatchEventImpl(Component.java:3492)
at java.awt.Container.dispatchEventImpl(Container.java:1440)
at java.awt.Component.dispatchEvent(Component.java:3353)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1631)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:560)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:726)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:660)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:527)
at java.awt.Component.dispatchEventImpl(Component.java:3383)
at java.awt.Container.dispatchEventImpl(Container.java:1440)
at java.awt.Component.dispatchEvent(Component.java:3353)
at javax.swing.plaf.basic.BasicComboBoxUI$KeyToListDispatcher.actionPerformed(BasicComboBoxUI.java:1408)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1496)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2365)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2411)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2318)
at javax.swing.JComboBox.processKeyEvent(JComboBox.java:1340)
at java.awt.Component.processEvent(Component.java:4774)
at java.awt.Container.processEvent(Container.java:1383)
at java.awt.Component.dispatchEventImpl(Component.java:3492)
at java.awt.Container.dispatchEventImpl(Container.java:1440)
at java.awt.Component.dispatchEvent(Component.java:3353)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1631)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:560)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:726)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:660)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:527)
at java.awt.Component.dispatchEventImpl(Component.java:3383)
at java.awt.Container.dispatchEventImpl(Container.java:1440)
at java.awt.Component.dispatchEvent(Component.java:3353)
at javax.swing.plaf.basic.BasicComboBoxUI$KeyToListDispatcher.actionPerformed(BasicComboBoxUI.java:1408)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1496)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2365)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2411)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2318)
at javax.swing.JComboBox.processKeyEvent(JComboBox.java:1340)
at java.awt.Component.processEvent(Component.java:4774)
at java.awt.Container.processEvent(Container.java:1383)
at java.awt.Component.dispatchEventImpl(Component.java:3492)
at java.awt.Container.dispatchEventImpl(Container.java:1440)
at java.awt.Component.dispatchEvent(Component.java:3353)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1631)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:560)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:726)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:660)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:527)
at java.awt.Component.dispatchEventImpl(Component.java:3383)
at java.awt.Container.dispatchEventImpl(Container.java:1440)
at java.awt.Component.dispatchEvent(Component.java:3353)
at javax.swing.plaf.basic.BasicComboBoxUI$KeyToListDispatcher.actionPerformed(BasicComboBoxUI.java:1408)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1496)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2365)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2411)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2318)
at javax.swing.JComboBox.processKeyEvent(JComboBox.java:1340)
at java.awt.Component.processEvent(Component.java:4774)
at java.awt.Container.processEvent(Container.java:1383)
at java.awt.Component.dispatchEventImpl(Component.java:3492)
....
(Review ID: 126558)
======================================================================
- duplicates
-
JDK-4459868 RH-Linux6.2, Sol-6-7-8(Int/Sprc),JComboPanel throw java.lang.StackOverFlow Error
- Closed
-
JDK-4459267 Pressing PageUp on the JComboBox causes StackOverflowError.
- Closed