File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Java Native Code Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Java Native Code Error" Watch "Java Native Code Error" New topic

Java Native Code Error

John Winstanley

Joined: Apr 08, 2003
Posts: 14
Hello all at the java ranch,
I was running a swing application, a file was created in the current directory, containing an error, there didn't seem to be a problem with the applciation at any stage. Has anyone got anyideas.
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D00AC30
Current Java thread:
at sun.java2d.loops.Blit.Blit(Native Method)
at sun.java2d.pipe.DrawImage.blitSurfaceData(
at sun.java2d.pipe.DrawImage.renderSurfaceData(
at sun.java2d.pipe.DrawImage.clipAndRenderSurfaceData(
at sun.java2d.pipe.DrawImage.copyImage(
at sun.java2d.pipe.DrawImage.copyImage(
at sun.java2d.pipe.DrawImage.copyImage(
at sun.java2d.SunGraphics2D.drawImage(
at sun.java2d.SunGraphics2D.drawImage(
at javax.swing.JComponent.paintWithOffscreenBuffer(
at javax.swing.JComponent.paintDoubleBuffered(
at javax.swing.JComponent.paint(
at java.awt.GraphicsCallback$
at sun.awt.SunGraphicsCallback.runOneComponent(
at sun.awt.SunGraphicsCallback.runComponents(
at java.awt.Container.paint(
at sun.awt.RepaintArea.paint(
at java.awt.Component.dispatchEventImpl(
at java.awt.Container.dispatchEventImpl(
at java.awt.Window.dispatchEventImpl(
at java.awt.Component.dispatchEvent(
at java.awt.EventQueue.dispatchEvent(
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(
at java.awt.EventDispatchThread.pumpEventsForHierarchy(
at java.awt.EventDispatchThread.pumpEvents(
at java.awt.EventDispatchThread.pumpEvents(
Dynamic libraries:
0x00400000 - 0x00406000 C:\j2sdk1.4.1_01\bin\java.exe
0x77F50000 - 0x77FF7000 C:\WINDOWS\System32\ntdll.dll
0x77E60000 - 0x77F46000 C:\WINDOWS\system32\kernel32.dll
0x77DD0000 - 0x77E5D000 C:\WINDOWS\system32\ADVAPI32.dll
0x78000000 - 0x78086000 C:\WINDOWS\system32\RPCRT4.dll
0x77C10000 - 0x77C63000 C:\WINDOWS\system32\MSVCRT.dll
0x6D330000 - 0x6D45A000 C:\j2sdk1.4.1_01\jre\bin\client\jvm.dll
0x77D40000 - 0x77DC6000 C:\WINDOWS\system32\USER32.dll
0x77C70000 - 0x77CB0000 C:\WINDOWS\system32\GDI32.dll
0x76B40000 - 0x76B6C000 C:\WINDOWS\System32\WINMM.dll
0x76390000 - 0x763AC000 C:\WINDOWS\System32\IMM32.DLL
0x629C0000 - 0x629C8000 C:\WINDOWS\System32\LPK.DLL
0x72FA0000 - 0x72FFA000 C:\WINDOWS\System32\USP10.dll
0x6D1D0000 - 0x6D1D7000 C:\j2sdk1.4.1_01\jre\bin\hpi.dll
0x6D300000 - 0x6D30D000 C:\j2sdk1.4.1_01\jre\bin\verify.dll
0x6D210000 - 0x6D229000 C:\j2sdk1.4.1_01\jre\bin\java.dll
0x6D320000 - 0x6D32D000 C:\j2sdk1.4.1_01\jre\bin\zip.dll
0x6D000000 - 0x6D0FB000 C:\j2sdk1.4.1_01\jre\bin\awt.dll
0x73000000 - 0x73023000 C:\WINDOWS\System32\WINSPOOL.DRV
0x771B0000 - 0x772D1000 C:\WINDOWS\system32\ole32.dll
0x6D180000 - 0x6D1D0000 C:\j2sdk1.4.1_01\jre\bin\fontmanager.dll
0x0AED0000 - 0x0AEFB000 C:\WINDOWS\System32\msctfime.ime
0x51000000 - 0x51047000 C:\WINDOWS\System32\ddraw.dll
0x73BC0000 - 0x73BC6000 C:\WINDOWS\System32\DCIMAN32.dll
0x6D910000 - 0x6D981000 C:\WINDOWS\System32\D3DIM.DLL
0x746F0000 - 0x74716000 C:\WINDOWS\System32\Msimtf.dll
0x74720000 - 0x74764000 C:\WINDOWS\System32\MSCTF.dll
0x5ED00000 - 0x5EDC6000 C:\WINDOWS\System32\OPENGL32.dll
0x68B20000 - 0x68B3E000 C:\WINDOWS\System32\GLU32.dll
0x13B10000 - 0x13CDA000 C:\WINDOWS\System32\ialmgicd.dll
0x76C90000 - 0x76CB2000 C:\WINDOWS\system32\imagehlp.dll
0x6D510000 - 0x6D58D000 C:\WINDOWS\system32\DBGHELP.dll
0x77C00000 - 0x77C07000 C:\WINDOWS\system32\VERSION.dll
0x76BF0000 - 0x76BFB000 C:\WINDOWS\System32\PSAPI.DLL
Local Time = Wed Oct 08 15:51:35 2003
Elapsed Time = 429
# The exception above was detected in native code outside the VM
# Java VM: Java HotSpot(TM) Client VM (1.4.1_01-b01 mixed mode)
Cheers guys

John Winstanley

Joined: Apr 08, 2003
Posts: 14
Maulin Vasavada
Ranch Hand

Joined: Nov 04, 2001
Posts: 1873
try reboot the machine. I'm not kidding. There was some error similar to this and it was solved by restarting the windows. Though it was not same error, it might work.
I agree. Here's the link:
subject: Java Native Code Error
jQuery in Action, 3rd edition