HELP--unexpected exception has been detected in native code outside the VM.
843811Dec 8 2004 — edited Apr 7 2005Hi all,
I have been trying to find the cause of this error :
------------
Thread [main] (Suspended (exception java.lang.NullPointerException))
sun.awt.windows.WMouseDragGestureRecognizer.getMotionThreshold() line: not available
sun.awt.windows.WMouseDragGestureRecognizer.<clinit>() line: not available
sun.awt.windows.WToolkit.createDragGestureRecognizer(java.lang.Class, java.awt.dnd.DragSource, java.awt.Component, int, java.awt.dnd.DragGestureListener) line: not available
java.awt.dnd.DragSource.createDefaultDragGestureRecognizer(java.awt.Component, int, java.awt.dnd.DragGestureListener) line: not available
uk.ac.essex.iieg.top.ui.ImageList.<init>() line: 46
uk.ac.essex.iieg.top.ui.ImageListTest.<init>() line: 33
uk.ac.essex.iieg.top.ui.ImageListTest.main(java.lang.String[]) line: 64
---------------
for 2 days, could anyone please give me a pointer to what cause this problem as i have no clue. For backgroud information, i was testing a JList that implement GestureListener and DragSourceListener. My environment is WinXP service pack 2, java: j2sdk1.4.2_04, editor: eclipse 3.0. Attached below is the log file generated by a text editor when compling the same codes. Any help or suggestion would be greatly appreciated. Thanks in advance.
Best regards,
Jeannette
--------------------------------------------------------------------------------------------
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x7C92AE22
Function=RtlImpersonateSelf+0x3A5
Library=C:\WINDOWS\system32\ntdll.dll
Current Java thread:
at java.util.zip.ZipFile.getNextEntry(Native Method)
at java.util.zip.ZipFile.access$400(ZipFile.java:26)
at java.util.zip.ZipFile$2.nextElement(ZipFile.java:313)
- locked <0x1007a0d8> (a java.util.zip.ZipFile)
at com.sun.tools.javac.v8.code.ClassReader.openArchive(ClassReader.java:975)
at com.sun.tools.javac.v8.code.ClassReader.list(ClassReader.java:1218)
at com.sun.tools.javac.v8.code.ClassReader.listAll(ClassReader.java:1339)
at com.sun.tools.javac.v8.code.ClassReader.fillIn(ClassReader.java:1359)
at com.sun.tools.javac.v8.code.ClassReader.complete(ClassReader.java:1052)
at com.sun.tools.javac.v8.code.Symbol.complete(Symbol.java:372)
at com.sun.tools.javac.v8.comp.Enter.visitTopLevel(Enter.java:467)
at com.sun.tools.javac.v8.tree.Tree$TopLevel.accept(Tree.java:390)
at com.sun.tools.javac.v8.comp.Enter.classEnter(Enter.java:442)
at com.sun.tools.javac.v8.comp.Enter.classEnter(Enter.java:456)
at com.sun.tools.javac.v8.comp.Enter.complete(Enter.java:596)
at com.sun.tools.javac.v8.comp.Enter.main(Enter.java:582)
at com.sun.tools.javac.v8.JavaCompiler.compile(JavaCompiler.java:331)
at com.sun.tools.javac.v8.Main.compile(Main.java:569)
at com.sun.tools.javac.Main.compile(Main.java:36)
at com.sun.tools.javac.Main.main(Main.java:27)
Dynamic libraries:
0x00400000 - 0x00407000 C:\j2sdk1.4.2_04\bin\javac.exe
0x7C900000 - 0x7C9B0000 C:\WINDOWS\system32\ntdll.dll
0x7C800000 - 0x7C8F4000 C:\WINDOWS\system32\kernel32.dll
0x77DD0000 - 0x77E6B000 C:\WINDOWS\system32\ADVAPI32.dll
0x77E70000 - 0x77F01000 C:\WINDOWS\system32\RPCRT4.dll
0x77C10000 - 0x77C68000 C:\WINDOWS\system32\MSVCRT.dll
0x08000000 - 0x08138000 C:\j2sdk1.4.2_04\jre\bin\client\jvm.dll
0x77D40000 - 0x77DD0000 C:\WINDOWS\system32\USER32.dll
0x77F10000 - 0x77F56000 C:\WINDOWS\system32\GDI32.dll
0x76B40000 - 0x76B6D000 C:\WINDOWS\system32\WINMM.dll
0x10000000 - 0x10007000 C:\j2sdk1.4.2_04\jre\bin\hpi.dll
0x00830000 - 0x0083E000 C:\j2sdk1.4.2_04\jre\bin\verify.dll
0x00840000 - 0x00859000 C:\j2sdk1.4.2_04\jre\bin\java.dll
0x00860000 - 0x0086D000 C:\j2sdk1.4.2_04\jre\bin\zip.dll
0x76C90000 - 0x76CB8000 C:\WINDOWS\system32\imagehlp.dll
0x59A60000 - 0x59B01000 C:\WINDOWS\system32\DBGHELP.dll
0x77C00000 - 0x77C08000 C:\WINDOWS\system32\VERSION.dll
0x76BF0000 - 0x76BFB000 C:\WINDOWS\system32\PSAPI.DLL
Heap at VM Abort:
Heap
def new generation total 576K, used 492K [0x10010000, 0x100b0000, 0x104f0000)
eden space 512K, 83% used [0x10010000, 0x1007b218, 0x10090000)
from space 64K, 100% used [0x10090000, 0x100a0000, 0x100a0000)
to space 64K, 0% used [0x100a0000, 0x100a0000, 0x100b0000)
tenured generation total 7552K, used 4176K [0x104f0000, 0x10c50000, 0x14010000)
the space 7552K, 55% used [0x104f0000, 0x109042a0, 0x10904400, 0x10c50000)
compacting perm gen total 4096K, used 1749K [0x14010000, 0x14410000, 0x18010000)
the space 4096K, 42% used [0x14010000, 0x141c5730, 0x141c5800, 0x14410000)
Local Time = Wed Dec 08 22:37:01 2004
Elapsed Time = 0
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_04-b05 mixed mode)
#