Browser Issue

From: Everett Andrus <andrus_at_bradford-sw.com>
Date: Fri, 13 Jun 2003 10:13:45 -0400

While at the New Hampton School we ran into this problem on two machines:
The Campus Manager application would hang moving between Topology, Alarm,
Event, etc... views. We turned on the Java Console and found that the
application was getting:

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)

The Java Console on Windows platforms is opened by:
Go to Windows Control Panel

Open the Java Plug-in Control Panel

Select the Basic tab

Select Show Console

Click Apply

Close the Console

Restart the browser and the console will appear when a view containing a
Java Applet is viewed i.e. Campus Manager Topology, Alarms, Events, etc.
views.

The problem is specific to Windows 2000 and NT platforms with the Java
1.4.1_xx Java Runtime Environment. We found the solution to this problem on
the Sun web site. Here are the instructions to solve the problem:
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 Fri Jun 13 2003 - 14:23:00 EDT

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