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().
======================================================================