OS2 World.Com Forum

Subject  :  NullPointer Exception in Event Dispatching using Golden Code JRE
Author  :  anu
Date  :  13 Feb, 2007 on 08:20
java.lang.NullPointerException
at sun.awt.os2.OS2InputMethod.dispatchEvent(OS2InputMethod.java:274)
at sun.awt.im.InputContext.dispatchEvent(InputContext.java:23
at sun.awt.im.InputMethodContext.dispatchEvent(InputMethodContext.java:180)
at java.awt.Component.dispatchEventImpl(Component.java:3589)
at java.awt.Container.dispatchEventImpl(Container.java:1623)
at java.awt.Window.dispatchEventImpl(Window.java:1590)
at java.awt.Component.dispatchEvent(Component.java:3480)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)

Is this a bug in Golden Code JRE. Any work arounds ?


Subject  :  Re:NullPointer Exception in Event Dispatching using Golden Code JRE
Author  :  rbri rbri@compuserve.com
Date  :  13 Feb, 2007 on 14:31

anu (13 Feb, 2007 08:20):
java.lang.NullPointerException
Is this a bug in Golden Code JRE. Any work arounds ?

Maybe, maybe not.
What you are doing? Do you have a complete example? Does this code run with a different JDK.
NPE are so common in java/awt/swing that everything is possible.


Powered by UltraBoard 2000 <www.ub2k.com>