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

NullPointerException in AWT-Motif thread, from sun.awt.SunToolkit.postEvent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.0
    • 1.0
    • hotspot
    • fcs
    • x86
    • windows_nt
    • Not verified



      Name: mm8553 Date: 03/30/99


      1.
      difficult. The exception occurred if the frame with some swing ui is opened. I don't know when exactly.

      2.
      large scale running system, please contact me via email if you want to whole source code

      3. + 4.
      Exception in thread "AWT-Windows" java.lang.NullPointerException
      at sun.awt.SunToolkit.postEvent(SunToolkit.java:139)
      at sun.awt.windows.WComponentPeer.postEvent(WCompoinentPeer.java:311)
      at sun.awt.windows.WToolkit.eventLoop(Native Method)
      at sun.awt.windows.WToolkit.run(WToolkit.java:134)
      at java.lang.Thread.run(Thread.java:479)

      5.
      java -version

      java version "1.2"
      HotSpot VM (1.0rc1, mised mode, build F)

      java -fullversion

      java full version "JDK-1.2-V"

      6.
      ---

      [ note from mrm@eng, 30 mar 99]

      Please note that the author of the application code would like us
      to remove it from our systems when we are done with it.

      To reproduce this, either copy ~mrm/hotspot/bugs/hamburger/hotspottest.zip
      and consult the readme.txt after unzipping that file, or

      mount \\saccharine\mrm on some drive

      run the script in hotspot\bugs\hamburger\doit.bat

      modify the script to put in/take out the -classic flag

      then, to reproduce the bug

      Take the icon "Auftragsverwaltung" with the mouse and drag it
      (with pressed mouse button) over the icon "Vorgangsablage".
      (In the drag&drop-window appears: "reference" as drag&drop semantic)
      Then release the mouse button. After a short period a window
      opens with the "Auftragsverwaltung"-tool.
      If you use the classic VM, everything will be fine.
      If you use the hotspot VM, it hangs on a null pointer exception
      from sun.awt.SunToolkit.postEvent
      (when the system wants to redraw the opened window)

      This bug happens with RC1 and RC2 on win32. It also
      shows up in Solaris HotSPARC beta.

      The effect of the bug is that the child window isn't
      painted at all, so it's serious.

      I named the subdirectory "hamburger" since the person
      who submitted the bug is at the Uni. of Hamburg ...

      ---------------------------------------
      (Review ID: 56238)
      ======================================================================

            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: