Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4231258

Null pointer exception in event dispatching during java3d rendering

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.0
    • hotspot
    • None
    • x86
    • windows_nt

      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

            rschmidtsunw Rene Schmidt (Inactive)
            mmuellersunw Marianne Mueller (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: