Browser Issues with Java 1.4.x

From: Mike Gadoury <gadoury_at_bradford-sw.com>
Date: Tue, 05 Aug 2003 12:35:18 -0400

If your Windows browser is experiencing java.lang.NullPointerExceptions
with the 1.4.1_XX Java Plug-in and the stack trace in the Java Console
includes the following:

java.lang.NullPointerException

            at
sun.awt.windows.WVolatileImage.getDeviceColorModel(Unknown Source)
            at sun.awt.windows.WVolatileImage.createHWData(Unknown Source)
            at
sun.awt.windows.WVolatileImage.initAcceleratedBackground(Unknown Source)
            at sun.awt.image.SunVolatileImage.validate(Unknown Source)
            at javax.swing.JComponent.paintDoubleBuffered(Unknown Source)
            at javax.swing.JComponent.paint(Unknown Source)
            at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
            at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
            at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
            at java.awt.Container.paint(Unknown Source)
            at sun.awt.RepaintArea.paint(Unknown Source)
            at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
            at java.awt.Component.dispatchEventImpl(Unknown Source)
            at java.awt.Container.dispatchEventImpl(Unknown Source)
            at java.awt.Component.dispatchEvent(Unknown Source)
            at java.awt.EventQueue.dispatchEvent(Unknown Source)
            at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
            at
java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
            at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
            at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
            at java.awt.EventDispatchThread.run(Unknown Source)

Solution:
            Go to Windows Control Panel
            Open the Java Plug-in Control Panel
            Select the Advanced tab
            Add the following to the Java Runtime Parameters:
Dsun.java2d.noddraw=true
Received on Tue Aug 05 2003 - 16:35:20 EDT

This archive was generated by hypermail 2.2.0 : Tue Jan 06 2009 - 21:00:04 EST