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

java.lang.NullPointerException in getGraphics

XMLWordPrintable

    • sparc
    • solaris_2.4


      When running the basher you often see this exception.
      This can probably be avoided.

      java.lang.NullPointerException: bar
              at sun.awt.motif.X11Graphics.<init>(X11Graphics.java:45)
              at sun.awt.motif.MComponentPeer.getGraphics(MComponentPeer.java:154)
              at sun.awt.motif.MComponentPeer.handleExpose(MComponentPeer.java:259)
              at java.lang.Thread.run(Thread.java)

            amfowler Anne Fowler (Inactive)
            ahoffsunw Arthur Hoff (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: