-
Bug
-
Resolution: Fixed
-
P1
-
solaris_9, 1.4.0
-
None
-
beta2
-
sparc
-
solaris_8
-
Verified
assertion/NPE while accessing awt_canvas_track_motif_focus_changes with bad klas
This bug was filed because original bug 4368588 now crashes with assert/NPE.
To repoduce:
1, Download example Attachment example.tar
2, Unpack the tar-file with tar -xf example.tar This will create the subdirectory 'example'.
3, Do a 'cd example' and unpack the src.jar file using 'unzip src.jar'.
4, Compile the java source code with 'javac *.java'.
5, Start the application with 'java PPMApp'.
Run a fresh debug1 vm (2pm edt, 6/14/01) in a b68 jdk. Click on
'Open Report', select folder 'Report' and file 'example1.ppm'. When the
report comes up, click on middle tab at the top of the window.
You'll get an assertion failure on what appears to be a bad klassoop
ultimately generated by a jni call from awt_canvas_track_motif_focus_changes.
See the attached file trace.txt.
Got an assertion failure generating a
handle for an address passed in by awt_canvas_track_motif_focus_changes.
See the attached file gary.txt, search for 'current thread: t@12'.
An example of the NullPointerException is
java.lang.NullPointerException
at sun.java2d.SunGraphics2D.checkFontInfo(SunGraphics2D.java:578)
at sun.java2d.SunGraphics2D.<init>(SunGraphics2D.java:229)
at sun.awt.image.OffScreenImage.getGraphics(OffScreenImage.java:74)
at jclass.base.BaseComponent.getDoubleBufferGraphics(BaseComponent.java:346)
at jclass.base.TransientComponent.paint(TransientComponent.java:662) 19:06:24 Deb PreDefReportDialog created.
at jclass.base.BaseComponent.repaint(BaseComponent.java:404)
at jclass.base.BaseComponent.paintImmediately(BaseComponent.java:384)
at jclass.bwt.JCButton.armAction(JCButton.java:303)
at jclass.bwt.JCButton.mouseDown(JCButton.java:486)
at jclass.base.TransientComponent.processMouseEvent(TransientComponent.java:281)
at java.awt.Component.processEvent(Component.java:4762)
at java.awt.Component.dispatchEventImpl(Component.java:3492)
at java.awt.Component.dispatchEvent(Component.java:3353)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:439)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
It appears there are bad oops floating around.
This is the Bug Eric Hawkes asked me to file.
This bug was filed because original bug 4368588 now crashes with assert/NPE.
To repoduce:
1, Download example Attachment example.tar
2, Unpack the tar-file with tar -xf example.tar This will create the subdirectory 'example'.
3, Do a 'cd example' and unpack the src.jar file using 'unzip src.jar'.
4, Compile the java source code with 'javac *.java'.
5, Start the application with 'java PPMApp'.
Run a fresh debug1 vm (2pm edt, 6/14/01) in a b68 jdk. Click on
'Open Report', select folder 'Report' and file 'example1.ppm'. When the
report comes up, click on middle tab at the top of the window.
You'll get an assertion failure on what appears to be a bad klassoop
ultimately generated by a jni call from awt_canvas_track_motif_focus_changes.
See the attached file trace.txt.
Got an assertion failure generating a
handle for an address passed in by awt_canvas_track_motif_focus_changes.
See the attached file gary.txt, search for 'current thread: t@12'.
An example of the NullPointerException is
java.lang.NullPointerException
at sun.java2d.SunGraphics2D.checkFontInfo(SunGraphics2D.java:578)
at sun.java2d.SunGraphics2D.<init>(SunGraphics2D.java:229)
at sun.awt.image.OffScreenImage.getGraphics(OffScreenImage.java:74)
at jclass.base.BaseComponent.getDoubleBufferGraphics(BaseComponent.java:346)
at jclass.base.TransientComponent.paint(TransientComponent.java:662) 19:06:24 Deb PreDefReportDialog created.
at jclass.base.BaseComponent.repaint(BaseComponent.java:404)
at jclass.base.BaseComponent.paintImmediately(BaseComponent.java:384)
at jclass.bwt.JCButton.armAction(JCButton.java:303)
at jclass.bwt.JCButton.mouseDown(JCButton.java:486)
at jclass.base.TransientComponent.processMouseEvent(TransientComponent.java:281)
at java.awt.Component.processEvent(Component.java:4762)
at java.awt.Component.dispatchEventImpl(Component.java:3492)
at java.awt.Component.dispatchEvent(Component.java:3353)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:439)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
It appears there are bad oops floating around.
This is the Bug Eric Hawkes asked me to file.
- duplicates
-
JDK-4472289 moving a slider renders the whole application unusable with j2se from s9_b40
-
- Closed
-
- relates to
-
JDK-4471962 SunGraphics2D constructor doesn't check if the font is null
-
- Resolved
-
-
JDK-4472002 java 1.4.0-beta_refresh-b67 core dump on sparc during Solaris 9 CD0 install
-
- Closed
-
-
JDK-4368588 Memory leak in Solaris_JDK_1.2.2_05a and build 1.3.0-RC ?.
-
- Closed
-