Unexpected error detected in natve code outside the VM when using loadjava

When I try to use loadjava to load and resolve a class into Oracle 10.2.0.1.0 or compile the source into a class using the v switch I get the following error stack, does anyone know why this is, could this be due to a bug in 10.2.0.1.0 ?
C:\>loadjava -u techsupp/techsupp -v FileUtils.java
arguments: '-u' 'techsupp/techsupp' '-v' 'FileUtils.java'
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x61D
39E24
Function=xaolog+0x5AF0
Library=D:\Apps\agent10g\agent10g\bin\OraClient10.Dll
Current Java thread:
at oracle.jdbc.driver.T2CStatement.t2cParseExecuteDescribe(Native Method
at oracle.jdbc.driver.T2CPreparedStatement.executeForDescribe(T2CPrepare
dStatement.java:518)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStateme
nt.java:1030)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
nt.java:1123)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePrep
aredStatement.java:3284)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePrepare
dStatement.java:3328)
- locked <0x100117c0> (a oracle.jdbc.driver.T2CPreparedStatement)
- locked <0x1053d048> (a oracle.jdbc.driver.T2CConnection)
at oracle.aurora.server.tools.loadjava.LoadJavaState.getOldMD5(LoadJavaS
tate.java:721)
at oracle.aurora.server.tools.loadjava.ClientSchemaObject.getOldMD5(Clie
ntSchemaObject.java:52)
at oracle.aurora.server.tools.loadjava.SchemaObject.doCreate(SchemaObjec
t.java:172)
at oracle.aurora.server.tools.loadjava.SchemaObject.process1(SchemaObjec
t.java:215)
at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:532)
at oracle.aurora.server.tools.loadjava.LoadJava.addSource(LoadJava.java:
574)
at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:439)
at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:380)
at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:349)
at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:652)
at oracle.aurora.server.tools.loadjava.LoadJava.processDeferredFiles(Loa
dJava.java:617)
at oracle.aurora.server.tools.loadjava.LoadJava.process(LoadJava.java:81
8)
at oracle.aurora.server.tools.loadjava.LoadJava.command(LoadJava.java:25
1)
at oracle.aurora.server.tools.loadjava.LoadJavaMain.run(LoadJavaMain.jav
a:103)
at oracle.aurora.server.tools.loadjava.LoadJavaMain.main(LoadJavaMain.ja
va:28)
Dynamic libraries:
0x00400000 - 0x0040B000 D:\Apps\oracle102\jdk\jre\bin\java.exe
0x7C800000 - 0x7C8C2000 C:\WINDOWS\system32\ntdll.dll
0x77E40000 - 0x77F43000 C:\WINDOWS\system32\kernel32.dll
0x77F50000 - 0x77FEC000 C:\WINDOWS\system32\ADVAPI32.dll
0x77C50000 - 0x77CEF000 C:\WINDOWS\system32\RPCRT4.dll
0x77BA0000 - 0x77BFA000 C:\WINDOWS\system32\MSVCRT.dll
0x08000000 - 0x08138000 D:\Apps\oracle102\jdk\jre\bin\client\jvm.dll
0x77380000 - 0x77412000 C:\WINDOWS\system32\USER32.dll
0x77C00000 - 0x77C49000 C:\WINDOWS\system32\GDI32.dll
0x76AA0000 - 0x76ACD000 C:\WINDOWS\system32\WINMM.dll
0x71BC0000 - 0x71BC8000 C:\WINDOWS\system32\rdpsnd.dll
0x771F0000 - 0x77201000 C:\WINDOWS\system32\WINSTA.dll
0x71C40000 - 0x71C98000 C:\WINDOWS\system32\NETAPI32.dll
0x76B70000 - 0x76B7B000 C:\WINDOWS\system32\PSAPI.DLL
0x10000000 - 0x10007000 D:\Apps\oracle102\jdk\jre\bin\hpi.dll
0x00380000 - 0x0038E000 D:\Apps\oracle102\jdk\jre\bin\verify.dll
0x00390000 - 0x003A9000 D:\Apps\oracle102\jdk\jre\bin\java.dll
0x003C0000 - 0x003CE000 D:\Apps\oracle102\jdk\jre\bin\zip.dll
0x62F00000 - 0x62F13000 D:\Apps\agent10g\agent10g\BIN\ocijdbc10.dll
0x02E70000 - 0x02EC7000 D:\Apps\agent10g\agent10g\bin\OCI.dll
0x7C360000 - 0x7C3B6000 C:\WINDOWS\system32\MSVCR71.dll
0x61C20000 - 0x61E77000 D:\Apps\agent10g\agent10g\bin\OraClient10.Dll
0x60870000 - 0x60956000 D:\Apps\agent10g\agent10g\bin\oracore10.dll
0x60A80000 - 0x60B47000 D:\Apps\agent10g\agent10g\bin\oranls10.dll
0x63690000 - 0x636A8000 D:\Apps\agent10g\agent10g\bin\oraunls10.dll
0x60EB0000 - 0x60EB7000 D:\Apps\agent10g\agent10g\bin\orauts.dll
0x71C00000 - 0x71C17000 C:\WINDOWS\system32\WS2_32.dll
0x71BF0000 - 0x71BF8000 C:\WINDOWS\system32\WS2HELP.dll
0x77670000 - 0x777A4000 C:\WINDOWS\system32\ole32.dll
0x636B0000 - 0x636B6000 D:\Apps\agent10g\agent10g\bin\oravsn10.dll
0x60FA0000 - 0x61098000 D:\Apps\agent10g\agent10g\bin\oracommon10.dll
0x63430000 - 0x63457000 D:\Apps\agent10g\agent10g\bin\orasnls10.dll
0x02ED0000 - 0x03448000 D:\Apps\agent10g\agent10g\bin\orageneric10.dll
0x03450000 - 0x035C7000 D:\Apps\agent10g\agent10g\bin\oraxml10.dll
0x60020000 - 0x60030000 C:\WINDOWS\system32\MSVCIRT.dll
0x60960000 - 0x60A77000 D:\Apps\agent10g\agent10g\bin\oran10.dll
0x62740000 - 0x62780000 D:\Apps\agent10g\agent10g\bin\oranl10.dll
0x62790000 - 0x627A8000 D:\Apps\agent10g\agent10g\bin\oranldap10.dll
0x627F0000 - 0x628FD000 D:\Apps\agent10g\agent10g\bin\orannzsbb10.dll
0x62530000 - 0x62583000 D:\Apps\agent10g\agent10g\bin\oraldapclnt10.dll
0x62670000 - 0x6268B000 D:\Apps\agent10g\agent10g\bin\orancrypt10.dll
0x71BB0000 - 0x71BB9000 C:\WINDOWS\system32\WSOCK32.dll
0x77D00000 - 0x77D8C000 C:\WINDOWS\system32\OLEAUT32.dll
0x62920000 - 0x6296D000 D:\Apps\agent10g\agent10g\bin\oranro10.dll
0x626B0000 - 0x626B7000 D:\Apps\agent10g\agent10g\bin\oranhost10.dll
0x62660000 - 0x62666000 D:\Apps\agent10g\agent10g\bin\orancds10.dll
0x629C0000 - 0x629C8000 D:\Apps\agent10g\agent10g\bin\orantns10.dll
0x035D0000 - 0x03945000 D:\Apps\agent10g\agent10g\bin\orapls10.dll
0x03950000 - 0x03959000 D:\Apps\agent10g\agent10g\bin\oraslax10.dll
0x63080000 - 0x63285000 D:\Apps\agent10g\agent10g\bin\oraplp10.dll
0x61ED0000 - 0x61F68000 D:\Apps\agent10g\agent10g\bin\orahasgen10.dll
0x62AB0000 - 0x62B24000 D:\Apps\agent10g\agent10g\bin\oraocr10.dll
0x03960000 - 0x039A9000 D:\Apps\agent10g\agent10g\bin\oraocrb10.dll
0x62980000 - 0x62991000 D:\Apps\agent10g\agent10g\bin\orantcp10.dll
0x63520000 - 0x635BB000 D:\Apps\agent10g\agent10g\bin\orasql10.dll
0x76F50000 - 0x76F63000 C:\WINDOWS\system32\Secur32.dll
0x62650000 - 0x62659000 D:\Apps\agent10g\agent10g\bin\oranbeq10.dll
0x76C10000 - 0x76C39000 C:\WINDOWS\system32\imagehlp.dll
0x6D580000 - 0x6D628000 C:\WINDOWS\system32\dbghelp.dll
0x77B90000 - 0x77B98000 C:\WINDOWS\system32\VERSION.dll
Heap at VM Abort:
Heap
def new generation total 576K, used 18K [0x10010000, 0x100b0000, 0x104f0000)
eden space 512K, 3% used [0x10010000, 0x10013e00, 0x10090000)
from space 64K, 4% used [0x100a0000, 0x100a0a98, 0x100b0000)
to space 64K, 0% used [0x10090000, 0x10090000, 0x100a0000)
tenured generation total 1408K, used 450K [0x104f0000, 0x10650000, 0x14010000
the space 1408K, 31% used [0x104f0000, 0x10560a28, 0x10560c00, 0x10650000)
compacting perm gen total 4096K, used 3699K [0x14010000, 0x14410000, 0x1801000
0)
the space 4096K, 90% used [0x14010000, 0x143accc8, 0x143ace00, 0x14410000)
Local Time = Fri Sep 25 11:05:05 2009
Elapsed Time = 3
# The exception above was detected in native code outside the VM
# Java VM: Java HotSpot(TM) Client VM (1.4.2_08-b03 interpreted mode)
# An error report file has been saved as hs_err_pid2252.log.
# Please refer to the file for further information.
#

Hi:
Is not a bug on the internal OJVM, I mean this will not affect your code running inside the database.
The problem is with the Sun JVM shipped with your 10g database, note the message:
Java VM: Java HotSpot(TM) Client VM (1.4.2_08-b03 interpreted mode)
If you can load your Java code without using -v (verbose) flag it will run OK.
If not try loading your Java class compiled outside in .class format. Remember to compile the class with a JDK 1.4.
Also you could find a workaround for the Sun JVM at Sun's blogs.
There is an alternate method for loading classes using Ant task or Maven, see this projects as examples:
[http://dbprism.cvs.sourceforge.net/viewvc/dbprism/ojvm/]
[http://dbprism.cvs.sourceforge.net/viewvc/dbprism/DataService/]
Note the loadjava.xml file which defines an Ant task using the aurora.zip file shipped with your Oracle database and which have the logic for uploading classes.
Best regards, Marcelo.

Similar Messages

  • What meaNing is the error: "detected in native code outside the VM"

    Hi,
    I am trying to run dbca to create database(10.2.0.1 for Linux x86) in RHEL5 beta2, after I click the OK button on the parameter confirmon window, will display the Java exception:
    detected in native code outside the VM
    How resolve the problem?
    Thanks!

    Hi, Avi:
    The the "install forum" has reply me, but error is same. entire error message and stack trace as following, I no install JDK or JRE now, because I think the db10g already has a jre and some lib.
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : 11 occurred at PC=0x4A802D35
    Function=XFreeFontSet+0x15
    Library=/usr/lib/libX11.so.6
    Current Java thread:
    at sun.awt.motif.X11InputMethod.disposeXIC(Native Method)
    at sun.awt.motif.X11InputMethod.disposeImpl(X11InputMethod.java:662)
    - locked <0xa88b9d58> (a sun.awt.motif.X11InputMethod)
    at sun.awt.motif.X11InputMethod.dispose(X11InputMethod.java:689)
    at sun.awt.im.InputContext.dispose(InputContext.java:617)
    at java.awt.Window$1DisposeAction.run(Window.java:560)
    - locked <0xa88a2978> (a java.lang.Object)
    at java.awt.Window.dispose(Window.java:570)
    at java.awt.Dialog.disposeImpl(Dialog.java:638)
    at java.awt.Dialog.dispose(Dialog.java:634)
    at oracle.ewt.lwAWT.BufferedDialog.dispose(Unknown Source)
    at oracle.sysman.assistants.dbca.ui.SummaryDialog.actionPerformed(SummaryDialog.java:440)
    at oracle.ewt.button.PushButton.processActionEvent(Unknown Source)
    at oracle.ewt.button.PushButton.processEventImpl(Unknown Source)
    at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
    at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
    at oracle.ewt.button.PushButton.activate(Unknown Source)
    at oracle.ewt.lwAWT.AbstractButton.processMouseReleased(Unknown Source)
    at oracle.ewt.lwAWT.AbstractButton.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Component.java:4897)
    at java.awt.Container.processEvent(Container.java:1569)
    at oracle.ewt.lwAWT.LWComponent.processEventImpl(Unknown Source)
    at oracle.ewt.button.PushButton.processEventImpl(Unknown Source)
    at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
    at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Component.java:3615)
    at java.awt.Container.dispatchEventImpl(Container.java:1627)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
    at java.awt.Container.dispatchEventImpl(Container.java:1613)
    at java.awt.Window.dispatchEventImpl(Window.java:1606)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
    at java.awt.Dialog$1.run(Dialog.java:540)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Dynamic libraries:
    08048000-08056000 r-xp 00000000 08:06 883639 /usr/local/oracle/db10g/jdk/jre/bin/java
    08056000-08059000 rwxp 0000d000 08:06 883639 /usr/local/oracle/db10g/jdk/jre/bin/java
    4a61d000-4a636000 r-xp 00000000 08:01 493139 /lib/ld-2.5.so
    4a636000-4a637000 r-xp 00018000 08:01 493139 /lib/ld-2.5.so
    4a637000-4a638000 rwxp 00019000 08:01 493139 /lib/ld-2.5.so
    4a63a000-4a63c000 r-xp 00000000 08:06 9815341 /usr/lib/libXau.so.6.0.0
    4a63c000-4a63d000 rwxp 00001000 08:06 9815341 /usr/lib/libXau.so.6.0.0
    4a63f000-4a777000 r-xp 00000000 08:01 493140 /lib/libc-2.5.so
    4a777000-4a779000 r-xp 00137000 08:01 493140 /lib/libc-2.5.so
    4a779000-4a77a000 rwxp 00139000 08:01 493140 /lib/libc-2.5.so
    4a77f000-4a7a4000 r-xp 00000000 08:01 493147 /lib/libm-2.5.so
    4a7a4000-4a7a5000 r-xp 00024000 08:01 493147 /lib/libm-2.5.so
    4a7a5000-4a7a6000 rwxp 00025000 08:01 493147 /lib/libm-2.5.so
    4a7a8000-4a7aa000 r-xp 00000000 08:01 493141 /lib/libdl-2.5.so
    4a7aa000-4a7ab000 r-xp 00001000 08:01 493141 /lib/libdl-2.5.so
    4a7ab000-4a7ac000 rwxp 00002000 08:01 493141 /lib/libdl-2.5.so
    4a7ae000-4a7c1000 r-xp 00000000 08:01 493142 /lib/libpthread-2.5.so
    4a7c1000-4a7c2000 r-xp 00012000 08:01 493142 /lib/libpthread-2.5.so
    4a7c2000-4a7c3000 rwxp 00013000 08:01 493142 /lib/libpthread-2.5.so
    4a7dc000-4a7e1000 r-xp 00000000 08:06 9815342 /usr/lib/libXdmcp.so.6.0.0
    4a7e1000-4a7e2000 rwxp 00004000 08:06 9815342 /usr/lib/libXdmcp.so.6.0.0
    4a7e4000-4a8e2000 r-xp 00000000 08:06 9815343 /usr/lib/libX11.so.6.2.0
    4a8e2000-4a8e6000 rwxp 000fe000 08:06 9815343 /usr/lib/libX11.so.6.2.0
    4a8e8000-4a8f7000 r-xp 00000000 08:06 9815348 /usr/lib/libXext.so.6.4.0
    4a8f7000-4a8f8000 rwxp 0000e000 08:06 9815348 /usr/lib/libXext.so.6.4.0
    4a91d000-4a928000 r-xp 00000000 08:01 493149 /lib/libgcc_s-4.1.1-20061011.so.1
    4a928000-4a929000 rwxp 0000a000 08:01 493149 /lib/libgcc_s-4.1.1-20061011.so.1
    4aaf4000-4aafc000 r-xp 00000000 08:06 9815344 /usr/lib/libXrender.so.1.3.0
    4aafc000-4aafd000 rwxp 00007000 08:06 9815344 /usr/lib/libXrender.so.1.3.0
    4aaff000-4ab03000 r-xp 00000000 08:06 9815352 /usr/lib/libXfixes.so.3.1.0
    4ab03000-4ab04000 rwxp 00003000 08:06 9815352 /usr/lib/libXfixes.so.3.1.0
    4ab2f000-4ab38000 r-xp 00000000 08:06 9815353 /usr/lib/libXcursor.so.1.0.2
    4ab38000-4ab39000 rwxp 00008000 08:06 9815353 /usr/lib/libXcursor.so.1.0.2
    4ab3b000-4ab52000 r-xp 00000000 08:06 9815357 /usr/lib/libICE.so.6.3.0
    4ab52000-4ab53000 rwxp 00016000 08:06 9815357 /usr/lib/libICE.so.6.3.0
    4ab57000-4ab5f000 r-xp 00000000 08:06 9813468 /usr/lib/libSM.so.6.0.0
    4ab5f000-4ab60000 rwxp 00007000 08:06 9813468 /usr/lib/libSM.so.6.0.0
    4ac2c000-4ac3e000 r-xp 00000000 08:01 493154 /lib/libnsl-2.5.so
    4ac3e000-4ac3f000 r-xp 00012000 08:01 493154 /lib/libnsl-2.5.so
    4ac3f000-4ac40000 rwxp 00013000 08:01 493154 /lib/libnsl-2.5.so
    4ad29000-4ad7d000 r-xp 00000000 08:06 9815284 /usr/lib/libXt.so.6.0.0
    4ad7d000-4ad81000 rwxp 00054000 08:06 9815284 /usr/lib/libXt.so.6.0.0
    4bf57000-4bf5c000 r-xp 00000000 08:06 9813824 /usr/lib/libXtst.so.6.1.0
    4bf5c000-4bf5d000 rwxp 00004000 08:06 9813824 /usr/lib/libXtst.so.6.1.0
    a161b000-a1621000 r-xp 00000000 08:06 883543 /usr/local/oracle/db10g/jdk/jre/lib/i386/libnio.so
    a1621000-a1622000 rwxp 00005000 08:06 883543 /usr/local/oracle/db10g/jdk/jre/lib/i386/libnio.so
    a1622000-a1658000 rwxs 00000000 00:08 786446 /SYSV00000000 (deleted)
    a175a000-a1814000 r-xp 00000000 08:06 883527 /usr/local/oracle/db10g/jdk/jre/lib/i386/libfontmanager.so
    a1814000-a182f000 rwxp 000b9000 08:06 883527 /usr/local/oracle/db10g/jdk/jre/lib/i386/libfontmanager.so
    a1830000-a1837000 r-xp 00000000 08:06 9813462 /usr/lib/libXp.so.6.2.0
    a1837000-a1838000 rwxp 00006000 08:06 9813462 /usr/lib/libXp.so.6.2.0
    a183e000-a1845000 r-xp 00000000 08:06 599545 /usr/local/oracle/db10g/oui/lib/linux/liboraInstaller.so
    a1845000-a1846000 rwxp 00006000 08:06 599545 /usr/local/oracle/db10g/oui/lib/linux/liboraInstaller.so
    a1846000-a184d000 r-xs 00000000 08:06 9876851 /usr/lib/gconv/gconv-modules.cache
    a184d000-a18a0000 r-xp 00000000 08:06 883540 /usr/local/oracle/db10g/jdk/jre/lib/i386/libmlib_image.so
    a18a0000-a18a1000 rwxp 00052000 08:06 883540 /usr/local/oracle/db10g/jdk/jre/lib/i386/libmlib_image.so
    a18a1000-a1b72000 r-xp 00000000 08:06 883523 /usr/local/oracle/db10g/jdk/jre/lib/i386/libawt.so
    a1b72000-a1b88000 rwxp 002d0000 08:06 883523 /usr/local/oracle/db10g/jdk/jre/lib/i386/libawt.so
    a1d6e000-a1d7e000 r-xp 00000000 08:06 883542 /usr/local/oracle/db10g/jdk/jre/lib/i386/libnet.so
    a1d7e000-a1d7f000 rwxp 0000f000 08:06 883542 /usr/local/oracle/db10g/jdk/jre/lib/i386/libnet.so
    a1d7f000-a1d8c000 r-xp 00000000 08:06 596076 /usr/local/oracle/db10g/lib/libldapjclnt10.so
    a1d8c000-a1d8e000 rwxp 0000c000 08:06 596076 /usr/local/oracle/db10g/lib/libldapjclnt10.so
    a1d8e000-a1f6a000 r-xp 00000000 08:06 599456 /usr/local/oracle/db10g/lib/libnnz10.so
    a1f6a000-a1f90000 rwxp 001dc000 08:06 599456 /usr/local/oracle/db10g/lib/libnnz10.so
    a1f92000-a2cc3000 r-xp 00000000 08:06 598954 /usr/local/oracle/db10g/lib/libclntsh.so.10.1
    a2cc3000-a2d24000 rwxp 00d31000 08:06 598954 /usr/local/oracle/db10g/lib/libclntsh.so.10.1
    a2d38000-a2d4d000 r-xp 00000000 08:06 599256 /usr/local/oracle/db10g/lib/libnjni10.so
    a2d4d000-a2d51000 rwxp 00014000 08:06 599256 /usr/local/oracle/db10g/lib/libnjni10.so
    a2d51000-a2ef4000 r-xp 00000000 08:06 598619 /usr/local/oracle/db10g/lib/libimf.so
    a2ef4000-a2ef6000 rwxp 001a2000 08:06 598619 /usr/local/oracle/db10g/lib/libimf.so
    a2ef6000-a2f35000 r-xs 00000000 08:06 589501 /usr/local/oracle/db10g/inventory/prereqs/oui/OraPrereqChecks.jar
    a2f35000-a2f6d000 r-xs 00000000 08:06 599532 /usr/local/oracle/db10g/oui/jlib/OraPrereq.jar
    a2f6d000-a2f79000 r-xs 00000000 08:06 598522 /usr/local/oracle/db10g/oc4j/j2ee/home/db_oc4j_deploy.jar
    a2f79000-a2fac000 r-xs 00000000 08:06 598335 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/crimson.jar
    a2fac000-a338e000 r-xs 00000000 08:06 598514 /usr/local/oracle/db10g/oc4j/sqlj/lib/translator.jar
    a338e000-a3403000 r-xs 00000000 08:06 598513 /usr/local/oracle/db10g/oc4j/sqlj/lib/runtime12ee.jar
    a3403000-a340f000 r-xs 00000000 08:06 598503 /usr/local/oracle/db10g/oc4j/jlib/jssl-1_1.jar
    a340f000-a3448000 r-xs 00000000 08:06 598356 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/http_client.jar
    a3448000-a34c6000 r-xs 00000000 08:06 598498 /usr/local/oracle/db10g/oc4j/javacache/lib/cache.jar
    a34c6000-a352e000 r-xs 00000000 08:06 598357 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/jem.jar
    a352e000-a35e3000 r-xs 00000000 08:06 598510 /usr/local/oracle/db10g/oc4j/rdbms/jlib/aqapi.jar
    a35e3000-a3607000 r-xs 00000000 08:06 598517 /usr/local/oracle/db10g/oc4j/webservices/lib/wsdl.jar
    a3607000-a362f000 r-xs 00000000 08:06 598516 /usr/local/oracle/db10g/oc4j/webservices/lib/wsserver.jar
    a362f000-a37c0000 r-xs 00000000 08:06 598501 /usr/local/oracle/db10g/oc4j/jdbc/lib/nls_charset12.jar
    a37c0000-a3947000 r-xs 00000000 08:06 598500 /usr/local/oracle/db10g/oc4j/jdbc/lib/classes12dms.jar
    a3947000-a39e3000 r-xs 00000000 08:06 598317 /usr/local/oracle/db10g/oc4j/j2ee/home/jazncore.jar
    a39e3000-a3a26000 r-xs 00000000 08:06 598318 /usr/local/oracle/db10g/oc4j/j2ee/home/jazn.jar
    a3a26000-a3a40000 r-xs 00000000 08:06 598337 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/jaas.jar
    a3a40000-a3a47000 r-xs 00000000 08:06 598338 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/jaxp.jar
    a3a47000-a3af0000 r-xs 00000000 08:06 598505 /usr/local/oracle/db10g/oc4j/lib/xmlparserv2.jar
    a3af0000-a3b35000 r-xs 00000000 08:06 598349 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/mail.jar
    a3b35000-a3b41000 r-xs 00000000 08:06 598331 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/activation.jar
    a3b41000-a3b44000 r-xs 00000000 08:06 598339 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/jcert.jar
    a3b44000-a3b46000 r-xs 00000000 08:06 598346 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/jnet.jar
    a3b46000-a3bc4000 r-xs 00000000 08:06 598347 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/jsse.jar
    a3bc4000-a3bd3000 r-xs 00000000 08:06 598334 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/cos.jar
    a3bd3000-a3c51000 r-xs 00000000 08:06 598332 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/bcel.jar
    a3c51000-a3c56000 r-xs 00000000 08:06 598333 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/connector.jar
    a3c56000-a3cc4000 r-xs 00000000 08:06 598504 /usr/local/oracle/db10g/oc4j/lib/dms.jar
    a3cc4000-a3ccc000 r-xs 00000000 08:06 598352 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/javax88.jar
    a3ccc000-a3cd0000 r-xs 00000000 08:06 598351 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/javax77.jar
    a3cd0000-a3d27000 r-xs 00000000 08:06 598343 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/jmxri.jar
    a3d27000-a3d2a000 r-xs 00000000 08:06 598348 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/jta.jar
    a3d2a000-a3d31000 r-xs 00000000 08:06 598341 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/jms.jar
    a3d31000-a3d3b000 r-xs 00000000 08:06 598324 /usr/local/oracle/db10g/oc4j/j2ee/home/iiop_gen_bin.jar
    a3d3b000-a3e76000 r-xs 00000000 08:06 598325 /usr/local/oracle/db10g/oc4j/j2ee/home/iiop.jar
    a3e76000-a3e78000 r-xs 00000000 08:06 598340 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/jdbc.jar
    a3e78000-a3e91000 r-xs 00000000 08:06 598345 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/jndi.jar
    a3e91000-a3f35000 r-xs 00000000 08:06 598353 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/ojsp.jar
    a3f35000-a3f43000 r-xs 00000000 08:06 598350 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/servlet.jar
    a3f43000-a3f47000 r-xs 00000000 08:06 598336 /usr/local/oracle/db10g/oc4j/j2ee/home/lib/ejb.jar
    a3f47000-a44c9000 r-xs 00000000 08:06 598330 /usr/local/oracle/db10g/oc4j/j2ee/home/oc4j.jar
    a44c9000-a4866000 r-xs 00000000 08:06 599555 /usr/local/oracle/db10g/oui/jlib/OraInstaller.jar
    a4866000-a5423000 r-xs 00000000 08:06 598681 /usr/local/oracle/db10g/sysman/jlib/emCORE.jar
    a5423000-a5440000 r-xs 00000000 08:06 593960 /usr/local/oracle/db10g/jlib/ldap.jar
    a5440000-a5586000 r-xs 00000000 08:06 593848 /usr/local/oracle/db10g/jlib/emConfigInstall.jar
    a5586000-a55d9000 r-xs 00000000 08:06 593849 /usr/local/oracle/db10g/jlib/emca.jar
    a55d9000-a5dc3000 r-xs 00000000 08:06 595944 /usr/local/oracle/db10g/jlib/oemlt-10_1_0.jar
    a5dc3000-a5dd5000 r-xs 00000000 08:06 594200 /usr/local/oracle/db10g/jlib/srvmasm.jar
    a5dd5000-a5de3000 r-xs 00000000 08:06 594201 /usr/local/oracle/db10g/jlib/srvmhas.jar
    a5de3000-a5eaa000 r-xs 00000000 08:06 594199 /usr/local/oracle/db10g/jlib/srvm.jar
    a5eaa000-a6032000 r-xs 00000000 08:06 596110 /usr/local/oracle/db10g/jdbc/lib/classes12.zip
    a6032000-a607f000 r-xs 00000000 08:06 598998 /usr/local/oracle/db10g/jlib/opm.jar
    a607f000-a6127000 r-xs 00000000 08:06 594289 /usr/local/oracle/db10g/owm/jlib/owm-3_0.jar
    a6127000-a616c000 r-xs 00000000 08:06 593941 /usr/local/oracle/db10g/ldap/oidadmin/dasnls.jar
    a616c000-a6178000 r-xs 00000000 08:06 594297 /usr/local/oracle/db10g/jlib/jssl-1_1.jar
    a6178000-a6210000 r-xs 00000000 08:06 595952 /usr/local/oracle/db10g/jlib/ldapjclnt10.jar
    a6210000-a6264000 r-xs 00000000 08:06 599252 /usr/local/oracle/db10g/jlib/ojpse.jar
    a6264000-a627f000 r-xs 00000000 08:06 594291 /usr/local/oracle/db10g/jlib/oraclepki103.jar
    a627f000-a6285000 r-xs 00000000 08:06 599248 /usr/local/oracle/db10g/jlib/ojmisc.jar
    a6285000-a62ce000 r-xs 00000000 08:06 599299 /usr/local/oracle/db10g/jlib/netcfg.jar
    a62ce000-a62e2000 r-xs 00000000 08:06 595312 /usr/local/oracle/db10g/jlib/orai18n-tools.jar
    a62e2000-a6449000 r-xs 00000000 08:06 595305 /usr/local/oracle/db10g/jlib/orai18n-lcsd.jar
    a6449000-a645f000 r-xs 00000000 08:06 595311 /usr/local/oracle/db10g/jlib/orai18n-servlet.jar
    a645f000-a646b000 r-xs 00000000 08:06 595310 /usr/local/oracle/db10g/jlib/orai18n-net.jar
    a646b000-a65bf000 r-xs 00000000 08:06 595309 /usr/local/oracle/db10g/jlib/orai18n-translation.jar
    a65bf000-a66bf000 r-xs 00000000 08:06 595304 /usr/local/oracle/db10g/jlib/orai18n-collation.jar
    a66bf000-a671f000 r-xs 00000000 08:06 595307 /usr/local/oracle/db10g/jlib/orai18n-utility.jar
    a671f000-a6732000 r-xs 00000000 08:06 595306 /usr/local/oracle/db10g/jlib/orai18n-mapping.jar
    a6732000-a68c3000 r-xs 00000000 08:06 595308 /usr/local/oracle/db10g/jlib/orai18n.jar
    a68c3000-a69eb000 r-xs 00000000 08:06 598705 /usr/local/oracle/db10g/lib/xmlparserv2.jar
    a69eb000-a69f9000 r-xs 00000000 08:06 596123 /usr/local/oracle/db10g/jlib/kodiak.jar
    a69f9000-a6a80000 r-xs 00000000 08:06 593853 /usr/local/oracle/db10g/jlib/oracle_ice5.jar
    a6a80000-a6c27000 r-xs 00000000 08:06 599096 /usr/local/oracle/db10g/jlib/jewt4.jar
    a6c27000-a6c8c000 r-xs 00000000 08:06 598688 /usr/local/oracle/db10g/jlib/help4.jar
    a6c8c000-a6c9a000 r-xs 00000000 08:06 599458 /usr/local/oracle/db10g/jlib/share.jar
    a6c9a000-a6ca8000 r-xs 00000000 08:06 593852 /usr/local/oracle/db10g/jlib/ewtcompat-3_3_15.jar
    a6ca8000-a6f2d000 r-xs 00000000 08:06 599099 /usr/local/oracle/db10g/jlib/ewt3.jar
    a6f2d000-a7028000 r-xs 00000000 08:06 593843 /usr/local/oracle/db10g/assistants/jlib/assistantsCommon.jar
    a7028000-a71b5000 r-xs 00000000 08:06 592248 /usr/local/oracle/db10g/assistants/dbca/jlib/dbca.jar
    a71b5000-a7271000 r-xs 00000000 08:06 600243 /usr/local/oracle/db10g/jdk/jre/lib/ext/localedata.jar
    a7271000-a7274000 r-xs 00000000 08:06 600241 /usr/local/oracle/db10g/jdk/jre/lib/ext/dnsns.jar
    a7274000-a7281000 r-xs 00000000 08:06 600242 /usr/local/oracle/db10g/jdk/jre/lib/ext/ldapsec.jar
    a7281000-a7284000 r-xs 00000000 08:06 600152 /usr/local/oracle/db10g/jdk/jre/lib/ext/smtp.jar
    a7284000-a72c9000 r-xs 00000000 08:06 600150 /usr/local/oracle/db10g/jdk/jre/lib/ext/mail.jar
    a72c9000-a72e5000 r-xs 00000000 08:06 600244 /usr/local/oracle/db10g/jdk/jre/lib/ext/sunjce_provider.jar
    a72e5000-a730b000 r-xs 00000000 08:06 600151 /usr/local/oracle/db10g/jdk/jre/lib/ext/mailapi.jar
    a750f000-a770f000 r-xp 00000000 08:06 9813461 /usr/lib/locale/locale-archive
    b3951000-b395f000 r-xs 00000000 08:06 600153 /usr/local/oracle/db10g/jdk/jre/lib/ext/activation.jar
    b5a07000-b5fa7000 r-xs 00000000 08:06 600193 /usr/local/oracle/db10g/jdk/jre/lib/charsets.jar
    b5fa7000-b5fb8000 r-xs 00000000 08:06 600231 /usr/local/oracle/db10g/jdk/jre/lib/jce.jar
    b5fb8000-b6095000 r-xs 00000000 08:06 600232 /usr/local/oracle/db10g/jdk/jre/lib/jsse.jar
    b6095000-b60ab000 r-xs 00000000 08:06 600240 /usr/local/oracle/db10g/jdk/jre/lib/sunrsasign.jar
    b60f5000-b7aa0000 r-xs 00000000 08:06 600239 /usr/local/oracle/db10g/jdk/jre/lib/rt.jar
    b7aa0000-b7ab4000 r-xp 00000000 08:06 883546 /usr/local/oracle/db10g/jdk/jre/lib/i386/libzip.so
    b7ab4000-b7ab7000 rwxp 00013000 08:06 883546 /usr/local/oracle/db10g/jdk/jre/lib/i386/libzip.so
    b7ab7000-b7ad7000 r-xp 00000000 08:06 883531 /usr/local/oracle/db10g/jdk/jre/lib/i386/libjava.so
    b7ad7000-b7ad9000 rwxp 0001f000 08:06 883531 /usr/local/oracle/db10g/jdk/jre/lib/i386/libjava.so
    b7ad9000-b7ae2000 r-xp 00000000 08:01 491561 /lib/libnss_files-2.5.so
    b7ae2000-b7ae3000 r-xp 00008000 08:01 491561 /lib/libnss_files-2.5.so
    b7ae3000-b7ae4000 rwxp 00009000 08:01 491561 /lib/libnss_files-2.5.so
    b7ae7000-b7af7000 r-xp 00000000 08:06 883545 /usr/local/oracle/db10g/jdk/jre/lib/i386/libverify.so
    b7af7000-b7af9000 rwxp 0000f000 08:06 883545 /usr/local/oracle/db10g/jdk/jre/lib/i386/libverify.so
    b7af9000-b7eff000 r-xp 00000000 08:06 883554 /usr/local/oracle/db10g/jdk/jre/lib/i386/client/libjvm.so
    b7eff000-b7f1a000 rwxp 00405000 08:06 883554 /usr/local/oracle/db10g/jdk/jre/lib/i386/client/libjvm.so
    b7f31000-b7f33000 r-xp 00000000 08:06 593842 /usr/local/oracle/db10g/lib/libOsUtils.so
    b7f33000-b7f34000 rwxp 00001000 08:06 593842 /usr/local/oracle/db10g/lib/libOsUtils.so
    b7f34000-b7f37000 r-xs 00000000 08:06 600149 /usr/local/oracle/db10g/jdk/jre/lib/ext/jta.jar
    b7f37000-b7f3b000 rwxs 00000000 08:01 458852 /tmp/hsperfdata_ora/2961
    b7f3b000-b7f43000 r-xp 00000000 08:06 883556 /usr/local/oracle/db10g/jdk/jre/lib/i386/native_threads/libhpi.so
    b7f43000-b7f44000 rwxp 00007000 08:06 883556 /usr/local/oracle/db10g/jdk/jre/lib/i386/native_threads/libhpi.so
    b7f45000-b7f46000 r-xp b7f45000 00:00 0 [vdso]
    bfbf0000-bfc06000 rwxp bfbf0000 00:00 0 [stack]
    Heap at VM Abort:
    Heap
    def new generation total 832K, used 640K [0xa7950000, 0xa7a30000, 0xa8320000)
    eden space 768K, 75% used [0xa7950000, 0xa79e02c0, 0xa7a10000)
    from space 64K, 99% used [0xa7a10000, 0xa7a1fff8, 0xa7a20000)
    to space 64K, 0% used [0xa7a20000, 0xa7a20000, 0xa7a30000)
    tenured generation total 10388K, used 7952K [0xa8320000, 0xa8d45000, 0xaf950000)
    the space 10388K, 76% used [0xa8320000, 0xa8ae4240, 0xa8ae4400, 0xa8d45000)
    compacting perm gen total 18176K, used 18137K [0xaf950000, 0xb0b10000, 0xb3950000)
    the space 18176K, 99% used [0xaf950000, 0xb0b066a0, 0xb0b06800, 0xb0b10000)
    Local Time = Fri Apr 6 09:24:01 2007
    Elapsed Time = 326
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_08-b03 mixed mode)
    # An error report file has been saved as hs_err_pid2961.log.
    # Please refer to the file for further information.
    bin/dbca: line 158: 2961 Aborted $JRE_DIR/bin/java -Dsun.java2d.font.DisableAlgorithmicStyles=true -DORACLE_HOME=$OH -DDISPLAY=$DISPLAY -DJDBC_PROTOCOL=thin -mx128m -classpath $CLASSPATH oracle.sysman.assistants.dbca.Dbca $ARGUMENTS
    Thanks!

  • An unexpected exception has been detected in native code outside the VM.

    I thought that my problem had been solved yesterday when I managed to run my application with out getting "An unexpected exception has been detected in native code outside the VM."
    I was told to uninstall "j2sdk1.4.1_02" and install my old version of 1.3.1 and then completely remove that (as i do not think i removed it correctly in the first place), then reinstall my new version again (j2sdk1.4.1_02). This appeared to work, and my application ran. However, today i planned to do more work on it and it errored again. I am getting the following error:
    C:\Documents and Settings\Mike Costen\Desktop\Mar27d>java ImageViewerFrame
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D1C369C
    Function=Java_sun_awt_font_NativeFontWrapper_registerFonts+0x14BC
    Library=C:\j2sdk1.4.1_02\jre\bin\fontmanager.dll
    Current Java thread:
    at sun.awt.font.NativeFontWrapper.registerFonts(Native Method)
    - locked <06C15D48> (a java.lang.Class)
    at sun.java2d.SunGraphicsEnvironment.addPathFonts(SunGraphicsEnvironment.java:736)
    at sun.java2d.SunGraphicsEnvironment.registerFonts(SunGraphicsEnvironment.java:587)
    at sun.java2d.SunGraphicsEnvironment.access$100(SunGraphicsEnvironment.java:49)
    at sun.java2d.SunGraphicsEnvironment$2.run(SunGraphicsEnvironment.java:209)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.java2d.SunGraphicsEnvironment.loadFonts(SunGraphicsEnvironment.java:203)
    - locked <02F948A0> (a sun.awt.Win32GraphicsEnvironment)
    at sun.java2d.SunGraphicsEnvironment.mapFontName(SunGraphicsEnvironment.java:451)
    at java.awt.Font.initializeFont(Font.java:313)
    at java.awt.Font.<init>(Font.java:345)
    at sun.awt.windows.WDesktopProperties.setFontProperty(WDesktopProperties.java:148)
    - locked <02AE0000> (a sun.awt.windows.WDesktopProperties)
    at sun.awt.windows.WDesktopProperties.getWindowsParameters(Native Method)
    at sun.awt.windows.WDesktopProperties.<init>(WDesktopProperties.java:56)
    at sun.awt.windows.WToolkit.initializeDesktopProperties(WToolkit.java:865)
    at java.awt.Toolkit.getDesktopProperty(Toolkit.java:1533)
    - locked <02F92380> (a sun.awt.windows.WToolkit)
    at sun.awt.shell.ShellFolder.<clinit>(ShellFolder.java:171)
    at javax.swing.filechooser.FileSystemView.getRoots(FileSystemView.java:324)
    at javax.swing.filechooser.WindowsFileSystemView.getHomeDirectory(FileSystemView.java:625)
    at javax.swing.plaf.metal.MetalFileChooserUI.installComponents(MetalFileChooserUI.java:213)
    at javax.swing.plaf.basic.BasicFileChooserUI.installUI(BasicFileChooserUI.java:130)
    at javax.swing.plaf.metal.MetalFileChooserUI.installUI(MetalFileChooserUI.java:152)
    at javax.swing.JComponent.setUI(JComponent.java:449)
    at javax.swing.JFileChooser.updateUI(JFileChooser.java:1700)
    at javax.swing.JFileChooser.setup(JFileChooser.java:345)
    at javax.swing.JFileChooser.<init>(JFileChooser.java:320)
    at javax.swing.JFileChooser.<init>(JFileChooser.java:273)
    at ImageViewerFrame.<init>(ImageViewerFrame.java:30)
    at ImageViewerFrame.main(ImageViewerFrame.java:227)
    Dynamic libraries:
    0x00400000 - 0x00406000 C:\j2sdk1.4.1_02\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 - 0x7807F000 C:\WINDOWS\system32\RPCRT4.dll
    0x77C10000 - 0x77C63000 C:\WINDOWS\system32\MSVCRT.dll
    0x6D340000 - 0x6D46A000 C:\j2sdk1.4.1_02\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
    0x6D1E0000 - 0x6D1E7000 C:\j2sdk1.4.1_02\jre\bin\hpi.dll
    0x6D310000 - 0x6D31E000 C:\j2sdk1.4.1_02\jre\bin\verify.dll
    0x6D220000 - 0x6D239000 C:\j2sdk1.4.1_02\jre\bin\java.dll
    0x6D330000 - 0x6D33D000 C:\j2sdk1.4.1_02\jre\bin\zip.dll
    0x6D000000 - 0x6D105000 C:\j2sdk1.4.1_02\jre\bin\awt.dll
    0x73000000 - 0x73023000 C:\WINDOWS\System32\WINSPOOL.DRV
    0x76390000 - 0x763AC000 C:\WINDOWS\System32\IMM32.dll
    0x771B0000 - 0x772D1000 C:\WINDOWS\system32\ole32.dll
    0x6D190000 - 0x6D1E0000 C:\j2sdk1.4.1_02\jre\bin\fontmanager.dll
    0x73760000 - 0x737A4000 C:\WINDOWS\System32\ddraw.dll
    0x73BC0000 - 0x73BC6000 C:\WINDOWS\System32\DCIMAN32.dll
    0x73940000 - 0x73A07000 C:\WINDOWS\System32\D3DIM700.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 = Mon Mar 31 08:59:02 2003
    Elapsed Time = 6
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode)
    # An error report file has been saved as hs_err_pid584.log.
    # Please refer to the file for further information.
    C:\Documents and Settings\Mike Costen\Desktop\Mar27d>
    I am now not sure at all why my computer is doing this, as it worked yesterday...
    Any light shed on this matter is much appreciated.
    Thanks, Mike

    Welcome to native code hell! The reason we all use Java is because
    native code sucks. It is to be isolated and quarantined to the smallest
    area possible.
    File a TAR/SR. Maybe you just need a newer vesion of the OCI client
    libraries on your machine. Maybe they are out of sync with the native
    portion of the type-2 driver.
    Say why you went from type-4 to type-2. In my opinion, unless you have
    a very good reason, you should go back to the reliable java driver. Java
    can't kill a JVM.
    Good luck,
    Joe Weinstein at BEA Systems

  • Unexpected exception has been detected in native code outside the VM

    I seriously hope I posted this in the right forum, there was so many, and it was confusing. Please forgive me if I didn't.
    Anyways, I was playing a online game, RuneScape, when my browser suddenly closed. Later on, I finally noticed that there was a notepad document on my desktop:
    hs_err_pid3884
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x6C8243F
    Function=Java_sun_awt_windows_WColor_getDefaultColor+0x2E1D
    Library=C:\Program Files\Java\j2re1.4.2_03\bin\awt.dll
    Current Java thread:
         at sun.awt.windows.WToolkit.eventLoop(Native Method)
         at sun.awt.windows.WToolkit.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Dynamic libraries:
    0x00400000 - 0x00419000      C:\Program Files\Internet Explorer\iexplore.exe
    0x7C900000 - 0x7C9B0000      C:\WINDOWS\system32\ntdll.dll
    0x7C800000 - 0x7C8F4000      C:\WINDOWS\system32\kernel32.dll
    0x77C10000 - 0x77C68000      C:\WINDOWS\system32\msvcrt.dll
    0x77D40000 - 0x77DD0000      C:\WINDOWS\system32\USER32.dll
    0x77F10000 - 0x77F56000      C:\WINDOWS\system32\GDI32.dll
    0x77F60000 - 0x77FD6000      C:\WINDOWS\system32\SHLWAPI.dll
    0x77DD0000 - 0x77E6B000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77E70000 - 0x77F01000      C:\WINDOWS\system32\RPCRT4.dll
    0x77760000 - 0x778CC000      C:\WINDOWS\system32\SHDOCVW.dll
    0x77A80000 - 0x77B14000      C:\WINDOWS\system32\CRYPT32.dll
    0x77B20000 - 0x77B32000      C:\WINDOWS\system32\MSASN1.dll
    0x754D0000 - 0x75550000      C:\WINDOWS\system32\CRYPTUI.dll
    0x76C30000 - 0x76C5E000      C:\WINDOWS\system32\WINTRUST.dll
    0x76C90000 - 0x76CB8000      C:\WINDOWS\system32\IMAGEHLP.dll
    0x77120000 - 0x771AC000      C:\WINDOWS\system32\OLEAUT32.dll
    0x774E0000 - 0x7761D000      C:\WINDOWS\system32\ole32.dll
    0x5B860000 - 0x5B8B4000      C:\WINDOWS\system32\NETAPI32.dll
    0x771B0000 - 0x77256000      C:\WINDOWS\system32\WININET.dll
    0x76F60000 - 0x76F8C000      C:\WINDOWS\system32\WLDAP32.dll
    0x77C00000 - 0x77C08000      C:\WINDOWS\system32\VERSION.dll
    0x773D0000 - 0x774D2000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
    0x7C9C0000 - 0x7D1D4000      C:\WINDOWS\system32\SHELL32.dll
    0x5D090000 - 0x5D127000      C:\WINDOWS\system32\comctl32.dll
    0x5AD70000 - 0x5ADA8000      C:\WINDOWS\system32\uxtheme.dll
    0x75F80000 - 0x7607C000      C:\WINDOWS\system32\BROWSEUI.dll
    0x20000000 - 0x20012000      C:\WINDOWS\system32\browselc.dll
    0x77B40000 - 0x77B62000      C:\WINDOWS\system32\appHelp.dll
    0x76FD0000 - 0x7704F000      C:\WINDOWS\system32\CLBCATQ.DLL
    0x77050000 - 0x77115000      C:\WINDOWS\system32\COMRes.dll
    0x77FE0000 - 0x77FF1000      C:\WINDOWS\system32\Secur32.dll
    0x77260000 - 0x772FE000      C:\WINDOWS\system32\urlmon.dll
    0x77A20000 - 0x77A74000      C:\WINDOWS\System32\cscui.dll
    0x76600000 - 0x7661D000      C:\WINDOWS\System32\CSCDLL.dll
    0x77920000 - 0x77A13000      C:\WINDOWS\system32\SETUPAPI.dll
    0x10000000 - 0x1000C000      C:\Program Files\Adobe\Acrobat 6.0\Reader\ActiveX\AcroIEHelper.dll
    0x01840000 - 0x0187D000      C:\Program Files\GetRight\xx2gr.dll
    0x763B0000 - 0x763F9000      C:\WINDOWS\system32\comdlg32.dll
    0x73000000 - 0x73026000      C:\WINDOWS\system32\WINSPOOL.DRV
    0x76B20000 - 0x76B31000      C:\WINDOWS\system32\ATL.DLL
    0x01890000 - 0x018CC000      C:\Program Files\NewDotNet\newdotnet6_38.dll
    0x71AB0000 - 0x71AC7000      C:\WINDOWS\system32\WS2_32.dll
    0x71AA0000 - 0x71AA8000      C:\WINDOWS\system32\WS2HELP.dll
    0x71B20000 - 0x71B32000      C:\WINDOWS\system32\MPR.dll
    0x01920000 - 0x0193F000      C:\WINDOWS\system32\dla\tfswshx.dll
    0x01940000 - 0x0194F000      C:\WINDOWS\system32\tfswapi.dll
    0x01950000 - 0x0198B000      C:\WINDOWS\system32\dla\tfswcres.dll
    0x019D0000 - 0x019F6000      C:\WINDOWS\system32\lmf32v.dll
    0x75E90000 - 0x75F40000      C:\WINDOWS\system32\SXS.DLL
    0x01A30000 - 0x01AB8000      C:\WINDOWS\system32\shdoclc.dll
    0x01AC0000 - 0x01D85000      C:\WINDOWS\system32\xpsp2res.dll
    0x75CF0000 - 0x75D81000      C:\WINDOWS\system32\mlang.dll
    0x71AD0000 - 0x71AD9000      C:\WINDOWS\system32\wsock32.dll
    0x71A50000 - 0x71A8F000      C:\WINDOWS\system32\mswsock.dll
    0x662B0000 - 0x66308000      C:\WINDOWS\system32\hnetcfg.dll
    0x71A90000 - 0x71A98000      C:\WINDOWS\System32\wshtcpip.dll
    0x76EE0000 - 0x76F1C000      C:\WINDOWS\system32\RASAPI32.DLL
    0x76E90000 - 0x76EA2000      C:\WINDOWS\system32\rasman.dll
    0x76EB0000 - 0x76EDF000      C:\WINDOWS\system32\TAPI32.dll
    0x76E80000 - 0x76E8E000      C:\WINDOWS\system32\rtutils.dll
    0x76B40000 - 0x76B6D000      C:\WINDOWS\system32\WINMM.dll
    0x5CD70000 - 0x5CD77000      C:\WINDOWS\system32\serwvdrv.dll
    0x5B0A0000 - 0x5B0A7000      C:\WINDOWS\system32\umdmxfrm.dll
    0x77C70000 - 0x77C93000      C:\WINDOWS\system32\msv1_0.dll
    0x76D60000 - 0x76D79000      C:\WINDOWS\system32\iphlpapi.dll
    0x769C0000 - 0x76A73000      C:\WINDOWS\system32\USERENV.dll
    0x745E0000 - 0x748A6000      C:\WINDOWS\system32\msi.dll
    0x76FC0000 - 0x76FC6000      C:\WINDOWS\system32\rasadhlp.dll
    0x76F20000 - 0x76F47000      C:\WINDOWS\system32\DNSAPI.dll
    0x76FB0000 - 0x76FB8000      C:\WINDOWS\System32\winrnr.dll
    0x722B0000 - 0x722B5000      C:\WINDOWS\system32\sensapi.dll
    0x7D4A0000 - 0x7D785000      C:\WINDOWS\system32\mshtml.dll
    0x027A0000 - 0x027C7000      C:\WINDOWS\system32\msls31.dll
    0x02CD0000 - 0x02CFA000      C:\WINDOWS\system32\msimtf.dll
    0x02D00000 - 0x02D4B000      C:\WINDOWS\system32\MSCTF.dll
    0x76390000 - 0x763AD000      C:\WINDOWS\system32\IMM32.DLL
    0x75C50000 - 0x75CBE000      C:\WINDOWS\system32\jscript.dll
    0x66E50000 - 0x66E90000      C:\WINDOWS\system32\iepeers.dll
    0x76200000 - 0x76271000      C:\WINDOWS\system32\mshtmled.dll
    0x74C80000 - 0x74CAC000      C:\WINDOWS\system32\OLEACC.DLL
    0x76080000 - 0x760E5000      C:\WINDOWS\system32\MSVCP60.dll
    0x75F60000 - 0x75F67000      C:\WINDOWS\System32\drprov.dll
    0x71C10000 - 0x71C1E000      C:\WINDOWS\System32\ntlanman.dll
    0x71CD0000 - 0x71CE7000      C:\WINDOWS\System32\NETUI0.dll
    0x71C90000 - 0x71CD0000      C:\WINDOWS\System32\NETUI1.dll
    0x71C80000 - 0x71C87000      C:\WINDOWS\System32\NETRAP.dll
    0x71BF0000 - 0x71C03000      C:\WINDOWS\System32\SAMLIB.dll
    0x75F70000 - 0x75F79000      C:\WINDOWS\System32\davclnt.dll
    0x75970000 - 0x75A67000      C:\WINDOWS\system32\MSGINA.dll
    0x76360000 - 0x76370000      C:\WINDOWS\system32\WINSTA.dll
    0x74320000 - 0x7435D000      C:\WINDOWS\system32\ODBC32.dll
    0x03820000 - 0x03837000      C:\WINDOWS\system32\odbcint.dll
    0x72D20000 - 0x72D29000      C:\WINDOWS\system32\wdmaud.drv
    0x72D10000 - 0x72D18000      C:\WINDOWS\system32\msacm32.drv
    0x77BE0000 - 0x77BF5000      C:\WINDOWS\system32\MSACM32.dll
    0x77BD0000 - 0x77BD7000      C:\WINDOWS\system32\midimap.dll
    0x6BDD0000 - 0x6BE05000      C:\WINDOWS\system32\dxtrans.dll
    0x6D430000 - 0x6D43A000      C:\WINDOWS\system32\ddrawex.dll
    0x73760000 - 0x737A9000      C:\WINDOWS\system32\DDRAW.dll
    0x73BC0000 - 0x73BC6000      C:\WINDOWS\system32\DCIMAN32.dll
    0x6BE10000 - 0x6BE6A000      C:\WINDOWS\system32\dxtmsft.dll
    0x5FF20000 - 0x5FF46000      C:\WINDOWS\system32\MSRATING.dll
    0x5FF50000 - 0x5FF61000      C:\WINDOWS\system32\msratelc.dll
    0x71D40000 - 0x71D5C000      C:\WINDOWS\system32\actxprxy.dll
    0x73300000 - 0x73367000      C:\WINDOWS\system32\vbscript.dll
    0x73DD0000 - 0x73ECE000      C:\WINDOWS\system32\MFC42.DLL
    0x07510000 - 0x07A5D000      C:\WINDOWS\system32\wmp.dll
    0x4EC50000 - 0x4EDF3000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.2600.2180_x-ww_522f9f82\gdiplus.dll
    0x75A70000 - 0x75A91000      C:\WINDOWS\system32\MSVFW32.dll
    0x08260000 - 0x08597000      C:\WINDOWS\system32\wmploc.dll
    0x086C0000 - 0x08904000      C:\WINDOWS\system32\wmvcore.dll
    0x070D0000 - 0x0710B000      C:\WINDOWS\system32\WMASF.DLL
    0x07CA0000 - 0x07E0D000      C:\WINDOWS\system32\quartz.dll
    0x75F40000 - 0x75F51000      C:\WINDOWS\system32\devenum.dll
    0x736B0000 - 0x736B7000      C:\WINDOWS\system32\msdmo.dll
    0x66880000 - 0x6688C000      C:\WINDOWS\system32\ImgUtil.dll
    0x76380000 - 0x76385000      C:\WINDOWS\system32\MSIMG32.dll
    0x063C0000 - 0x06567000      C:\WINDOWS\system32\macromed\flash\Flash.ocx
    0x6D440000 - 0x6D450000      C:\Program Files\Java\j2re1.4.2_03\bin\npjpi142_03.dll
    0x5EDD0000 - 0x5EDE7000      C:\WINDOWS\system32\OLEPRO32.DLL
    0x6D310000 - 0x6D327000      C:\Program Files\Java\j2re1.4.2_03\bin\jpiexp32.dll
    0x6D380000 - 0x6D398000      C:\Program Files\Java\j2re1.4.2_03\bin\jpishare.dll
    0x05900000 - 0x05A38000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\client\jvm.dll
    0x025E0000 - 0x025E7000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\hpi.dll
    0x02600000 - 0x0260E000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\verify.dll
    0x02620000 - 0x02639000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\java.dll
    0x02E80000 - 0x02E8D000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\zip.dll
    0x06C10000 - 0x06D1F000      C:\Program Files\Java\j2re1.4.2_03\bin\awt.dll
    0x04EF0000 - 0x04F40000      C:\Program Files\Java\j2re1.4.2_03\bin\fontmanager.dll
    0x73940000 - 0x73A10000      C:\WINDOWS\system32\D3DIM700.DLL
    0x6D2F0000 - 0x6D304000      C:\Program Files\Java\j2re1.4.2_03\bin\jpicom32.dll
    0x02ED0000 - 0x02EDF000      C:\Program Files\Java\j2re1.4.2_03\bin\net.dll
    0x03F00000 - 0x03F22000      C:\Program Files\Java\j2re1.4.2_03\bin\dcpr.dll
    0x00D00000 - 0x00D1E000      C:\Program Files\Java\j2re1.4.2_03\bin\jpeg.dll
    0x59A60000 - 0x59B01000      C:\WINDOWS\system32\DBGHELP.dll
    0x76BF0000 - 0x76BFB000      C:\WINDOWS\system32\PSAPI.DLL
    Heap at VM Abort:
    Heap
    def new generation total 6848K, used 4271K [0x10010000, 0x10770000, 0x10770000)
    eden space 6144K, 69% used [0x10010000, 0x1043bca0, 0x10610000)
    from space 704K, 0% used [0x10610000, 0x10610000, 0x106c0000)
    to space 704K, 0% used [0x106c0000, 0x106c0000, 0x10770000)
    tenured generation total 90752K, used 90750K [0x10770000, 0x16010000, 0x16010000)
    the space 90752K, 99% used [0x10770000, 0x1600fb10, 0x1600fc00, 0x16010000)
    compacting perm gen total 6400K, used 6194K [0x16010000, 0x16650000, 0x1a010000)
    the space 6400K, 96% used [0x16010000, 0x1661cb58, 0x1661cc00, 0x16650000)
    Local Time = Thu Jun 09 00:40:14 2005
    Elapsed Time = 722
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_03-b02 mixed mode)
    I am running Windows XP Home Edition, and I have the latest Java.
    This has happened several times, but it's just with this one game. Can someone please help me? I'd really appreciate it.

    Have you tried a current version of Java. ie. 1.4.2_08 or 1.5.0_03 ?

  • Why native code outside the VM when I use JNI in web application?

    I have a web application by using JBOSS as the server in windows XP environment. I need to call native functions in my servletAction class to check some information. After I start JBOSS and WebServer(tomcat), it works well when I launch the web page to call that native funtions in the first a few times, but after a while when I reopen that page in IE to call native funtions it throws me an unexpected error and shut down the jboss automatically. Could know how to solve it? Thank you guys in advance!
    Error message:
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x63BA7AD
    Function=[Unknown.]
    Library=C:\WINDOWS\system32\HaspKeyDAO.dll
    NOTE: We are unable to locate the function name symbol for the error
    just occurred. Please refer to release documentation for possible
    reason and solutions.
    Current Java thread:
         at Key.readBlock(Native Method)     
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
         at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:214)
         at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
         at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:113)
         at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:51)
         at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
         at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105)
         at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:283)
         at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:149)
         at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:128)
         at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
         at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
         at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
         at org.jboss.ejb.Container.invoke(Container.java:854)
         at sun.reflect.GeneratedMethodAccessor91.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
         at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:775)
         at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:382)
         at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
         at sun.rmi.transport.Transport$1.run(Transport.java:148)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
         at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
         at java.lang.Thread.run(Thread.java:534)
    Dynamic libraries:
    0x00400000 - 0x0040B000      C:\j2sdk1.4.2_06\bin\java.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 - 0x08139000      C:\j2sdk1.4.2_06\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_06\jre\bin\hpi.dll
    0x00390000 - 0x0039E000      C:\j2sdk1.4.2_06\jre\bin\verify.dll
    0x003B0000 - 0x003C9000      C:\j2sdk1.4.2_06\jre\bin\java.dll
    0x003D0000 - 0x003DD000      C:\j2sdk1.4.2_06\jre\bin\zip.dll
    0x003E0000 - 0x003EF000      C:\j2sdk1.4.2_06\jre\bin\net.dll
    0x71AB0000 - 0x71AC7000      C:\WINDOWS\system32\WS2_32.dll
    0x71AA0000 - 0x71AA8000      C:\WINDOWS\system32\WS2HELP.dll
    0x71A50000 - 0x71A8F000      C:\WINDOWS\System32\mswsock.dll
    0x76F20000 - 0x76F47000      C:\WINDOWS\system32\DNSAPI.dll
    0x76FB0000 - 0x76FB8000      C:\WINDOWS\System32\winrnr.dll
    0x76F60000 - 0x76F8C000      C:\WINDOWS\system32\WLDAP32.dll
    0x03070000 - 0x030AC000      C:\Program Files\NewDotNet\newdotnet6_38.dll
    0x774E0000 - 0x7761D000      C:\WINDOWS\system32\ole32.dll
    0x77120000 - 0x771AC000      C:\WINDOWS\system32\OLEAUT32.dll
    0x77260000 - 0x772FE000      C:\WINDOWS\system32\urlmon.dll
    0x77F60000 - 0x77FD6000      C:\WINDOWS\system32\SHLWAPI.dll
    0x77C00000 - 0x77C08000      C:\WINDOWS\system32\VERSION.dll
    0x771B0000 - 0x77256000      C:\WINDOWS\system32\WININET.dll
    0x77A80000 - 0x77B14000      C:\WINDOWS\system32\CRYPT32.dll
    0x77B20000 - 0x77B32000      C:\WINDOWS\system32\MSASN1.dll
    0x77920000 - 0x77A13000      C:\WINDOWS\system32\SETUPAPI.dll
    0x71B20000 - 0x71B32000      C:\WINDOWS\system32\MPR.dll
    0x76C30000 - 0x76C5E000      C:\WINDOWS\system32\WINTRUST.dll
    0x76C90000 - 0x76CB8000      C:\WINDOWS\system32\IMAGEHLP.dll
    0x7C9C0000 - 0x7D1D4000      C:\WINDOWS\system32\SHELL32.dll
    0x773D0000 - 0x774D2000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
    0x5D090000 - 0x5D127000      C:\WINDOWS\system32\comctl32.dll
    0x76FC0000 - 0x76FC6000      C:\WINDOWS\system32\rasadhlp.dll
    0x662B0000 - 0x66308000      C:\WINDOWS\system32\hnetcfg.dll
    0x71A90000 - 0x71A98000      C:\WINDOWS\System32\wshtcpip.dll
    0x042C0000 - 0x042C6000      C:\j2sdk1.4.2_06\jre\bin\ioser12.dll
    0x04410000 - 0x04418000      C:\j2sdk1.4.2_06\jre\bin\nio.dll
    0x046A0000 - 0x046A5000      C:\j2sdk1.4.2_06\jre\bin\rmi.dll
    0x047F0000 - 0x0490E000      C:\jboss-4.0.0-winsort\server\default\tmp\native\SharedLib\HaspKeyDAO.dll
    0x04A20000 - 0x04A73000      C:\jboss-4.0.0-winsort\server\default\tmp\native\msc\dll\haspms32.dll
    0x06390000 - 0x064AE000      C:\WINDOWS\system32\HaspKeyDAO.dll
    0x76F50000 - 0x76F58000      C:\WINDOWS\system32\wtsapi32.dll
    0x76360000 - 0x76370000      C:\WINDOWS\system32\WINSTA.dll
    0x5B860000 - 0x5B8B4000      C:\WINDOWS\system32\NETAPI32.dll
    0x59A60000 - 0x59B01000      C:\WINDOWS\system32\DBGHELP.dll
    0x76BF0000 - 0x76BFB000      C:\WINDOWS\system32\PSAPI.DLL
    Heap at VM Abort:
    Heap
    def new generation total 9216K, used 2204K [0x10010000, 0x10a00000, 0x12770000)
    eden space 8256K, 26% used [0x10010000, 0x102370e8, 0x10820000)
    from space 960K, 0% used [0x10820000, 0x10820000, 0x10910000)
    to space 960K, 0% used [0x10910000, 0x10910000, 0x10a00000)
    tenured generation total 121024K, used 39043K [0x12770000, 0x19da0000, 0x30010000)
    the space 121024K, 32% used [0x12770000, 0x14d90ec8, 0x14d91000, 0x19da0000)
    compacting perm gen total 23808K, used 23618K [0x30010000, 0x31750000, 0x34010000)
    the space 23808K, 99% used [0x30010000, 0x31720888, 0x31720a00, 0x31750000)
    Local Time = Thu May 26 11:34:39 2005
    Elapsed Time = 3209
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_06-b03 mixed mode)
    Following is what I am doing:
    I have a key.java file with several native functions.
    In key.cpp I defined the implementation of above functions then created dynamic link library file key.dll. I put the key.dll to WEB-INF/lib/key.dll.
    Then in a servlet Action class, I called new key().keyPresent and new key().readBlock(0, 8, block, p1,p1).
    Public class Key{
    public native int keyPresent(int password1, int password2);
    public native void readBlock(int startMemoryLocation, int size,
    byte[] block, int password1, int password2);
    static {
    System.loadLibrary("Key");
    //A Singleton Class
    private static Key key;
    private Key()
    public static Key getSingletonObject()
    if ( key== null)
    key = new Key();          
    return key;
    public Object clone()
         throws CloneNotSupportedException
    throw new CloneNotSupportedException();
    Key.cpp:
    #include <jni.h>
    #include "Key.h"
    #include <stdio.h>
    #include "hasp.h"
    #include <memory.h>
    JNIEXPORT jint JNICALL Java_Key_keyPresent
    (JNIEnv *env, jobject obj, jint pass1, jint pass2)
         try{
              int keyPresent = 0;
              int p1, p2, p3, p4;
              int seed = 100;
              int port = 0;
              p1 = p2 = p3 = p4 = 0;
              hasp(LOCALHASP_ISHASP, seed, port, 0, 0, &p1, &p2, &p3, &p4);
              if (p1 == 0) {
                   printf("\nNo Hasp exists. Program aborted.\n");
                   return -1;
              if (p3 == HASPERR_VERSION_MISMATCH) {
              printf("Old driver found - please update driver to actual version.\n");
              return 2;
              hasp(LOCALHASP_HASPSTATUS, seed, port, pass1, pass2, &p1, &p2, &p3, &p4);
              if (p3 == 0) {
                   return 4;
              hasp(LOCALHASP_HASPGENERATION, seed, port, pass1, pass2, &p1, &p2, &p3, &p4);
              if (p3) {
                   printf("Failed: haspKey password is not correct!");
                   return 4;
              } else {
                   switch (p1) {
                   case 0:
                   keyPresent = 3;
                                  break;
                   case 1:
                        keyPresent =1;
                        break;
              return keyPresent;
         }catch(...){
              return -999;
    * READBLOCK
    * reads a block of data from the HASP memory
    JNIEXPORT void JNICALL Java_Key_readBlock
    (JNIEnv *env, jobject obj, jint startMemoryLocation, jint nSize, jbyteArray pBlock, jint pass1, jint pass2)
         try{
              int     p1, p2, p3, p4;
              p1 = (startMemoryLocation+1)/2;
              p2 = nSize >> 1;
              jbyte *javablob = env->GetByteArrayElements(pBlock, 0);
              memset(javablob, 0, nSize);
              p4 = (int)javablob;
              int seed = 100;
              int port = 102;
              hasp(MEMOHASP_READBLOCK, seed, port, pass1, pass2, &p1, &p2, &p3, &p4);
              env->ReleaseByteArrayElements(pBlock, javablob, 0);
              if (p3) {
                   printf("Failed. Error number: %d.\n", p3);
              } else {
         }catch(...){
              printf("readBlock function failed");
    }

    the error happens in your native-code which runs outside the VM of course, since its native.
    You access some memory where you don't have rights to do so, in a normal win32-app you would get the "application crashed at 0xdeadbeef"-window, and since java cannon guarantee that your code did not destroy something it shuts down.
    I would try to debug my code withought java in a C++ IDE/Debugger.
    good luck, lg Clemens

  • The document could not be saved. The server said: "The operation failed because an unexpected error occurred. (Result code 0×80020005)" Please ensure you have completed all required properties with the correct information and try again.

    I am having problems  saving documents back to SharePoint when any of the document properties (metadata columns) are set to be "managed metadata". The check-in/save fails with error:
    The document could not be saved. The server said:
    “The operation failed because an unexpected error occurred. (Result code 0×80020005)”
    Please ensure you have completed all required properties with the correct information and try again.
    I have seen similar threads that suggest this is a known issue with this version of Acrobat but I would like conformation from Adobe that this is a known issue and whether it is fixed in a newer version?
    Adobe Acrobat version 10.1.13
    SharePoint 2010

    Hi quodd,,
    We are sorry for the issue being faced by you. I need some information from you so that I take further steps:
    1. Which Adobe product are you using Acrobat or Adobe reader- what is the complete version?
    2. How are you opening and saving the PDF, the exact workflow?
         Are you doing it from within Adobe Reader/Acrobat application or opening it from browser, doing changes and saving it using browser itself.
    3. Can you try to save a PDF to library with Custom template and managed metadata columns using browser directly.
    4. Please verify that columns name do not contain spaces or some other special characters.
       Can you try to save PDF to library with Custom template and just a single managed metadata column  with a simple name
    Thanks,
    Nikhil Gupta

  • Upgrading to osx 10.6.8 fails. I see errors in the /var/log/install.log of "An unexpected error occurred while moving files to the final destination." Underlying Error=(Error Domain=NSPOSIXErrorDomain Code=5 "The operation couldn't be completed. Input/out

    upgrading to osx 10.6.8 fails. I see errors in the /var/log/install.log of "An unexpected error occurred while moving files to the final destination." Underlying Error=(Error Domain=NSPOSIXErrorDomain Code=5 "The operation couldn’t be completed. Input/out. Any thoughts on what is causing these errors and the upgrade failure?
    Thanks

    I have no idea what the specific error code means but input/output errors can sometimes mean a disk is failing. Make a couple of backups of all important data before doing anything else.
    Verify your startup disk using the First Aid tab in Disk Utility. If the disk needs repair boot from your Leopard DVD and repair your disk from Disk Utility under Utilities on the screen after you choose your language. Repeat the repair process until Disk Utility reports all is well.
    If Disk Utility doesn't find any errors you might want to try a new download of the update and keep a sharp eye on your HD for anything else that might indicate all is not well. Take special care to back up important data.
    If Disk Utility finds errors it would probably be a good idea to pay a visit to the Apple Store to have them check out your hard drive even if Disk Utility is able to repair the errors.

  • What does this mean and how do I fix it? Error ITMS-9000 "Invalid Code Signing The executable ´viwer.app/ viewer´ must be signed with the certificate that is contained in the provisioning profile"

    What does this mean and how do I fix it? Error ITMS-9000 "Invalid Code Signing The executable ´viwer.app/ viewer´ must be signed with the certificate that is contained in the provisioning profile"

    If you had Firefox save your Yahoo password, first try deleting that here:
    orange Firefox button ''or'' classic Tools menu > Options > Security > "Saved Passwords"
    The "signed out" message seems to be related to how Yahoo authenticates you. Some users have reported that disabling automatic proxy detection solves the problem, and it also resolves an issue of getting logged out every few minutes, if you have ever experienced that.
    To make the change:
    orange Firefox button ''or'' classic Tools menu > Options > Advanced
    On the "Network" mini-tab, click the "Settings" button, then choose "No Proxy" and OK your way back out.
    If your work connection requires you to use a proxy server, try the "Use system settings" option instead.
    Does that help?

  • Error in template for code outside html

    Hi everyone
    I have a problem with a template.
    I use a simple tamplate master with this tag: <!--
    TemplateInfo codeOutsideHTMLIsLocked="false" --> in order to
    unlock the code outside the html.
    Well, I have also some pages with this templated applied to.
    Those ones are ok because when i try to apply any changes
    outside the html tag dreamweaver let me do this.
    But I have a problem. When I UpDate the template it replaces
    the code outside html with the code in it.
    Fore example this is what appears inside the master:
    <%@ Page Language="VB" AutoEventWireup="false"
    ContentType="text/html" ResponseEncoding="utf-8" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <!-- TemplateInfo codeOutsideHTMLIsLocked="false" -->
    When I have a page based on this template, like this:
    <%@ Page Language="VB" FileCode="aaa" Inherits="aaa"
    AutoEventWireup="false" ContentType="text/html"
    ResponseEncoding="utf-8" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml"><!--
    InstanceBegin template="/Templates/page.dwt.aspx"
    codeOutsideHTMLIsLocked="false" -->
    If i try to update the template it replaces the text outside
    the html tags in the based page, and it becomes so (in the page
    based on template after the template master update):
    <%@ Page Language="VB" AutoEventWireup="false"
    ContentType="text/html" ResponseEncoding="utf-8" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <!-- TemplateInfo codeOutsideHTMLIsLocked="false" -->
    THIS IS BAD!!!!!!!!!!!!!!!
    I need to chenge the page directive in asp net but the
    template doesnt work well!!!!!!!
    Please help

    Hi,
       Check below link, it may be useful.
    Re: QM_LSMW BY RECORDING METHOD FOR QP01
    Thanks,
    Asit Purbey.

  • How can I see all the Transaction Code that the client is using?

    How can I see all the List of Transaction Code that the client is using?

    Hello Sugauli,
    Did you mean to ask
    transaction types the client is using?
    instead of
    transaction code
    If so, go to SPRO (in ERP system) and follow this path:
    Sales and Distribution -->
         Sales -->
             Sales Documents -->
                 Sales Document Header -->
                      Define Sales Document Types
    All the transaction types that are not used have an X in the column Block.
    Easwar Ram
    http://www.parxlns.com

  • How can I customize the toolbar when using the attribute browser

    In CVI 2012, the toolbar changes depending on the environment, e.g. it is different for the source window and the UI editor. The toolbar can be customized using the menu Options / Toolbar...
    Unfortunately, when using the attribute browser of the UI editor, another toolbar is displayed, i.e. not the UI editor toolbar.... I would have assumed that the attribute browser belongs to the UI editor, obviously it doesn't... So how can I customize the toolbar when using the attribute browser?
    Solved!
    Go to Solution.

    Luis,
    It's nice to have you back 
    Thank you for the clarification, so I'll elaborate a bit more: In the regular workspace toolbar, I have a disk symbol to save the file. This symbol is gone in the attribute browser...
    So I have three different toolbars, for source code (workspace), UI editor, and the UI editor displayed but the attribute browser clicked on (selected)... 
    Thanks
    Wolfgang
    Source code:
    UI editor:
    Attribute browser:

  • How can i detach the video from a clip so i can only use the audio when using imovie?

    how can i detach the video from a clip so i can only use the audio when using imovie?

    First, go to iMovie/Preferences and enable the Advanced Tools.
    Import the video clip into an iMovie Event. When you get ready to use it in an iMovie Project, select the clip in the Event and drag & drop it on top of a video or photo clip in the project at the place where you want it to begin. When the pop-up menu appears, choose Audio Only.

  • How can I force mount a dvd that isn't even seen by Disk Utility? I can see it on the Mac when using my Windows 7 partition via Boot Camp, but not in Lion, which is how I would rather be running.

    How can I force mount a dvd that isn't even seen by Disk Utility? I can see it on the Mac when using my Windows 7 partition via Boot Camp, but not in Lion, which is how I would rather be running.

    Well if there is a EFI block, then running a program in OS X isn't going to do a lick of good.
    After all EFI was designed for Trusted Computing and Digital Rights Management, to act between the OS and hardware, can read drives, contact the Internet and everything.
    Windows doesn't use EFI, will have UEFI in Windows 8 though.

  • Color Settings: Getting colors in PS CC to match colors of the image when used as a Windows Background

    or vice versa. I probably do not know enough to be able to ask the question properly.
    The colors of photos in PS CC are not the same when used as a desktop background in Windows 7. The colors are somewhat more saturated when as a background on the desktop and while not totally unusable, it would be nice to have matching color between my PS editing screen and the photo as viewed as a desktop background.
    The following are some conditions that may or may not be relevant to the answer of my following question.
    1.) I am a complete novice to Color Management so a presumption of knowledge and the heavy use of jargon may not penetrate my head.
    2.) I shoot with sRGB embedded in my photos.
    3.) My RAW conversions use sRGB IEC61966 - 2.1.
    4.) My PS Color Settings are North American General Purpose 2 with sRGB IEC61966 - 2.1 as the working space and Intent as Relative Colormetric
    5.) In the Win 7 Control Panel>Color Management>Device, my Device = NEC LCD2690wuxi, ICC Profile = NEC LCD2690wuxi (default), file name = nl269wui.icm
    6.) In the Win 7 Control Panel>Color Management>Advanced, Device profile = System Default sRGB IEC61966 - 2.1 and (everything else set to System Defaults too). The only difference from the PS Color Settings being that Windows is defaulted to Perceptual Intent, but a change in either PS or Win 7 has no effect on the relative color differences.
    7.) The monitor is set to the Native internal preset, but the relative differences in color remain the same even if the monitor is changed to sRGB, or any other internal preset.
    8.) I have Proof Setup set to Monitor RGB but none of the settings will match the Win 7 Background color.
    Now, my question is this. How would you set up your color settings/profile in PS and/or Windows to match color between PS and the Windows desktop of Windows 7?

    Nevermind. I didn't have Proof Colors checked.

  • The Adobe Photoshop CC 2014 - I can't use becouse is LOOCK DOWN the computer -  When USE is LOCK the computer so everything is LOCKING can't even move the mouse + need to restart the computer and use Photoshop CC 64 bit instead - have this problem for abo

    The Adobe Photoshop CC 2014 - I can't use becouse is LOOCK DOWN the computer -
    When USE is LOCK the computer so everything is LOCKING can't even move the mouse + need to restart the computer and use Photoshop CC 64 bit instead - have this problem for about 6 months ...

    Please read this (in particular the section titled "Supply pertinent information for quicker answers"):
    http://blogs.adobe.com/crawlspace/2012/07/photoshop-basic-troubleshooting-steps-to-fix-mos t-issues.html
    http://forums.adobe.com/docs/DOC-2325
    Are you trying to use a 32bit version (I did not even know there is one for Photoshop CC 2014)?
    If so – why?

Maybe you are looking for

  • Displaying Double 2.0E-4 as 0.0002

    Hi people, I know its a very basic question but could anyone of you please help me with this. I have a double value 0.0002 stored in the database and I want to display as it is in Java. But somehow this value is displayed as 2.0E-4 (scientific form)

  • Unapproved Caller.

    Everything was fine. I can not start my MacBook Air with Maverick X.  It says ... unapproved caller securityagent may only be invoked by apple software.

  • Installation Error in Delagated Admin

    Greetings! I would like to apoligize if this topic of mine is not related on this forum..... I have encountered an error when installing the Iplanet Delagated Administration (iDAv4.5) on last part of the installation. I received this error: "Segmenta

  • Duplicates and preview vs. iphoto

    when i try to import my pictures from my camera. I can only do i through iphoto. im really wondering what's the deference between iphoto and just putting in a folder and using the preview to open things. i noticed that iphoto creates a smaller copy o

  • How much space is required by running statspack

    I want to apply ths statspack against my database, is there a way to estimate how much space I will need to do this?