Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2061697 | 1.4.2 | Fred Oliver | P1 | Closed | Fixed | b13 |
JDK-2061696 | 1.4.1_07 | Fred Oliver | P1 | Closed | Fixed | 07 |
Name: pa48320 Date: 11/25/2002
I have received the following crash several times since moving to 1.4.2 build 07:
FATAL ERROR in native method: Bad global or local ref passed to JNI
at sun.awt.windows.Win32GdiBlitLoops.nativeBlit(Native Method)
at sun.awt.windows.Win32GdiBlitLoops.Blit(Win32GdiBlitLoops.java
at sun.java2d.pipe.DrawImage.blitSurfaceData(DrawImage.java
at sun.java2d.pipe.DrawImage.renderSurfaceData(DrawImage.java
at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java
at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java
at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java
at sun.java2d.pipe.ValidatePipe.copyImage(ValidatePipe.java
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java
at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java
at javax.swing.JComponent.paintDoubleBuffered(JComponent.java
at javax.swing.JComponent._paintImmediately(JComponent.java
at javax.swing.JComponent.paintImmediately(JComponent.java
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java
at java.awt.EventQueue.dispatchEvent(EventQueue.java
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
at java.awt.Dialog$1.run(Dialog.java
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java
at java.awt.EventQueue.dispatchEvent(EventQueue.java
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java
at java.awt.EventDispatchThread.run(EventDispatchThread.java
We have a C++ applicaiton that embeds the VM inside so I cannot give you a consice test program. It may be possible that this is due to our use of sun.awt.window.WToolkit.embeddedInit().
======================================================================
- backported by
-
JDK-2061696 -Xcheck:jni overly strict in JNI method IsSameObject
- Closed
-
JDK-2061697 -Xcheck:jni overly strict in JNI method IsSameObject
- Closed
- duplicates
-
JDK-4868162 "Bad global or local ref passed to JNI" in java.io.InputStreamReader.read()
- Closed
- relates to
-
JDK-4720694 java apps crash on Solaris 9 Ultra-80 machine by using 1.4.1
- Closed