-
Bug
-
Resolution: Fixed
-
P2
-
1.0
-
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)
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)
- duplicates
-
JDK-1237514 java.lang.NullPointerException in getGraphics
-
- Closed
-