Run the Java3D demo "FourByFour" as an application. You need to install
Java3D into your JDK1.2 area. Look for $JDK/demo/java3d/FourByFour.java
and uncomment out the "main", and recompile that file.
On Solaris this works fine. On win32, there are problems with classic VM
(see buid 4231237) and with hotspot. On hotspot, you hit a null pointer
exception:
% java FourByFour
Exception occurred during event dispatching:
java.lang.NullPointerException
at Board.render2D(Board.java:509)
at Canvas2D.paint(Canvas2D.java:64)
at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:111)
at java.awt.Component.dispatchEventImpl(Component.java:2429)
at java.awt.Component.dispatchEvent(Component.java:2289)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:258)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:68)
I am running 1.0fcs, mixed mode, build C
Java3D into your JDK1.2 area. Look for $JDK/demo/java3d/FourByFour.java
and uncomment out the "main", and recompile that file.
On Solaris this works fine. On win32, there are problems with classic VM
(see buid 4231237) and with hotspot. On hotspot, you hit a null pointer
exception:
% java FourByFour
Exception occurred during event dispatching:
java.lang.NullPointerException
at Board.render2D(Board.java:509)
at Canvas2D.paint(Canvas2D.java:64)
at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:111)
at java.awt.Component.dispatchEventImpl(Component.java:2429)
at java.awt.Component.dispatchEvent(Component.java:2289)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:258)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:68)
I am running 1.0fcs, mixed mode, build C
- duplicates
-
JDK-4225381 NullPointerException in AWT-Motif thread, from sun.awt.SunToolkit.postEvent
-
- Closed
-