JDK-4222791 : java/awt/LightweightDispatcher.retargetMouseEvent: exception: Choosing Color
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.2.0
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_nt
  • CPU: x86
  • Submitted: 1999-03-22
  • Updated: 1999-04-27
  • Resolved: 1999-04-27
Related Reports
Duplicate :  
Duplicate :  
Description
http://javaweb.eng/~nancys/BrowserSuiteSW111b2/Suite/QLhtml/1/1.html

exception will occur whith both Color Chooser and any Dialog
W95/IE4.0, W98/IE4.0, NT IE4.0
exception occurred when Color Chooser was selected:
Exception occurred during event dispatching:
java.lang.NullPointerException
	at java/awt/LightweightDispatcher.retargetMouseEvent
 
	at java/awt/LightweightDispatcher.processMouseEvent
	at java/awt/LightweightDispatcher.dispatchEvent
	at java/awt/Container.dispatchEventImpl
	at java/awt/Component.dispatchEvent
	at java/awt/EventDispatchThread.run
	at java/awt/Dialog.show
	at javax/swing/ColorChooserDialog.show
	at javax/swing/JColorChooser.showDialog
	at SwingSet$8.actionPerformed
	at javax/swing/AbstractButton.fireActionPerformed
	at javax/swing/AbstractButton$ForwardActionEvents.actionPerformed
	at javax/swing/DefaultButtonModel.fireActionPerformed
	at javax/swing/DefaultButtonModel.setPressed
	at javax/swing/AbstractButton.doClick
	at javax/swing/plaf/basic/BasicMenuItemUI$MenuDragMouseHandler.menuDragMouseReleased
	at javax/swing/JMenuItem.fireMenuDragMouseReleased
	at javax/swing/JMenuItem.processMenuDragMouseEvent
	at javax/swing/JMenuItem.processMouseEvent
	at javax/swing/MenuSelectionManager.processMouseEvent
	at javax/swing/plaf/basic/BasicMenuUI$MouseInputHandler.mouseReleased
	at java/awt/AWTEventMulticaster.mouseReleased
	at java/awt/Component.processMouseEvent
	at java/awt/Component.processEvent
	at java/awt/Container.processEvent
	at java/awt/Component.dispatchEventImpl
	at java/awt/Container.dispatchEventImpl
	at java/awt/Component.dispatchEvent
	at java/awt/LightweightDispatcher.retargetMouseEvent
	at java/awt/LightweightDispatcher.processMouseEvent
	at java/awt/LightweightDispatcher.dispatchEvent
	at java/awt/Container.dispatchEventImpl
	at java/awt/Component.dispatchEvent
	at java/awt/EventDispatchThread.run
Exception occurred during event dispatching:
java.lang.NullPointerException
	at java/awt/LightweightDispatcher.retargetMouseEvent
	at java/awt/LightweightDispatcher.processMouseEvent
	at java/awt/LightweightDispatcher.dispatchEvent
	at java/awt/Container.dispatchEventImpl
	at java/awt/Component.dispatchEvent
	at java/awt/EventDispatchThread.run


Comments
EVALUATION This appears to be a bug in the lightweight dispatcher, not ColorChooser. If you look at the stack trace it seems to point at the dispatcher. tom.santos@eng 1999-04-26
26-04-1999