Get "java.lang.NullPointerException: bar" randomly under Solaris/Motif

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 1.1
    • Affects Version/s: 1.0
    • Component/s: client-libs
    • None
    • 1.1
    • sparc
    • solaris_2.4
    • Not verified

      Lately when running HotJava I get this message early on:

      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)

      There are no apparent ill effects, though. I notice a NPS: foo earlier in the source code (awt_Graphics.c) -- both should be changed to something sensible.

      The description field as copied from bug report 1237514 follows:


      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)

            Assignee:
            Anne Fowler (Inactive)
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: