|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Native Code Error
Hello,
I am not a Java programmer but have been requested to look over an error that we're getting. The Java code calls C#.NET code to do a process. As soon as the Java code calls the C# function JBuilder stops execution of the code and I get the following error: An unexpected exception has been detected in native code outside the VM. Unexpected Signal : unknown exception code (0xe0434f4d) occurred at PC=0x7C812A5B Function=RaiseException+0x52 Library=C:\WINDOWS\system32\kernel32.dll Current Java thread: at EciCard.Process(Native Method) at EciCard.ProcessCard(EciCard.java:109) at ApprovalLinkUtility.SendToPCAuth(ApprovalLinkUtility.java:174) at ApprovalLinkUtility.run(ApprovalLinkUtility.java:446) - locked <0x10511590> (a ApprovalLinkUtility) Dynamic libraries: 0x00400000 - 0x00407000 C:\Borland\JBuilder2005\jdk1.4\bin\javaw.exe 0x7C900000 - 0x7C9B0000 C:\WINDOWS\system32\ntdll.dll 0x7C800000 - 0x7C8F5000 C:\WINDOWS\system32\kernel32.dll 0x77DD0000 - 0x77E6B000 C:\WINDOWS\system32\ADVAPI32.dll 0x77E70000 - 0x77F01000 C:\WINDOWS\system32\RPCRT4.dll 0x7E410000 - 0x7E4A0000 C:\WINDOWS\system32\USER32.dll 0x77F10000 - 0x77F57000 C:\WINDOWS\system32\GDI32.dll 0x77C10000 - 0x77C68000 C:\WINDOWS\system32\MSVCRT.dll 0x76390000 - 0x763AD000 C:\WINDOWS\system32\IMM32.DLL 0x08000000 - 0x08138000 C:\Borland\JBuilder2005\jdk1.4\jre\bin\client\jvm.dll 0x76B40000 - 0x76B6D000 C:\WINDOWS\system32\WINMM.dll 0x10000000 - 0x10007000 C:\Borland\JBuilder2005\jdk1.4\jre\bin\hpi.dll 0x00830000 - 0x0083E000 C:\Borland\JBuilder2005\jdk1.4\jre\bin\verify.dll 0x00840000 - 0x00859000 C:\Borland\JBuilder2005\jdk1.4\jre\bin\java.dll 0x00860000 - 0x0086D000 C:\Borland\JBuilder2005\jdk1.4\jre\bin\zip.dll 0x02B50000 - 0x02B6C000 C:\Borland\JBuilder2005\jdk1.4\jre\bin\jdwp.dll 0x06B70000 - 0x06B75000 C:\Borland\JBuilder2005\jdk1.4\jre\bin\dt_socket.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 0x76FC0000 - 0x76FC6000 C:\WINDOWS\system32\rasadhlp.dll 0x662B0000 - 0x66308000 C:\WINDOWS\system32\hnetcfg.dll 0x71A90000 - 0x71A98000 C:\WINDOWS\System32\wshtcpip.dll 0x06FD0000 - 0x06FDE000 C:\WINDOWS\system32\JTblIpc.dll 0x06FE0000 - 0x0704F000 C:\WINDOWS\system32\DDMSTools.dll 0x76BF0000 - 0x76BFB000 C:\WINDOWS\system32\PSAPI.DLL 0x774E0000 - 0x7761D000 C:\WINDOWS\system32\ole32.dll 0x77120000 - 0x771AB000 C:\WINDOWS\system32\OLEAUT32.dll 0x76080000 - 0x760E5000 C:\WINDOWS\system32\MSVCP60.dll 0x73DD0000 - 0x73ECE000 C:\WINDOWS\system32\MFC42.DLL 0x070B0000 - 0x070BD000 C:\WINDOWS\system32\UtilExtLink.dll 0x79000000 - 0x79046000 C:\WINDOWS\system32\mscoree.dll 0x07160000 - 0x07280000 C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c\MSVCR80D.dll 0x07280000 - 0x07382000 C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c\msvcm80d.dll 0x77F60000 - 0x77FD6000 C:\WINDOWS\system32\SHLWAPI.dll 0x073A0000 - 0x073AF000 C:\Borland\JBuilder2005\jdk1.4\jre\bin\net.dll 0x79E70000 - 0x7A3FF000 c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll 0x78130000 - 0x781CB000 C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.1433_x-ww_5cf844d2\MSVCR80.dll 0x7C9C0000 - 0x7D1D7000 C:\WINDOWS\system32\shell32.dll 0x773D0000 - 0x774D3000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll 0x5D090000 - 0x5D12A000 C:\WINDOWS\system32\comctl32.dll 0x790C0000 - 0x79BF6000 C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\mscorlib\32e6f703c114f3a971cbe706586e3655\mscorlib.ni .dll 0x79060000 - 0x790B6000 c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorjit.dll 0x5E3A0000 - 0x5E42D000 c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\diasymreader.dll 0x0FFD0000 - 0x0FFF8000 C:\WINDOWS\system32\rsaenh.dll 0x7A440000 - 0x7AC2A000 C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System\ba0e3a22211ba7343e0116b051f2965a\System.ni.dll 0x07760000 - 0x07766000 C:\WINDOWS\system32\ecicardlink.netmodule 0x64890000 - 0x6498C000 C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System.Configuration\eee9b48577689e92db5a7b5c5de98d9b \System.Configuration.ni.dll 0x76C90000 - 0x76CB8000 C:\WINDOWS\system32\imagehlp.dll 0x59A60000 - 0x59B01000 C:\WINDOWS\system32\DBGHELP.dll 0x77C00000 - 0x77C08000 C:\WINDOWS\system32\VERSION.dll Heap at VM Abort: Heap def new generation total 576K, used 572K [0x10010000, 0x100b0000, 0x104f0000) eden space 512K, 99% used [0x10010000, 0x1008f298, 0x10090000) from space 64K, 100% used [0x100a0000, 0x100b0000, 0x100b0000) to space 64K, 0% used [0x10090000, 0x10090000, 0x100a0000) tenured generation total 2848K, used 2294K [0x104f0000, 0x107b8000, 0x14010000) the space 2848K, 80% used [0x104f0000, 0x1072da08, 0x1072dc00, 0x107b8000) compacting perm gen total 4096K, used 2813K [0x14010000, 0x14410000, 0x18010000) the space 4096K, 68% used [0x14010000, 0x142cf758, 0x142cf800, 0x14410000) Local Time = Tue May 06 14:20:16 2008 Elapsed Time = 469 # # 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) # # An error report file has been saved as hs_err_pid4596.log. # Please refer to the file for further information. # If I run the C#.NET code on its own and pass in the same string that the Java code would be passing in the C# code works fine. I'm not sure where to go from here so any advice would be appreciated. |
|
#2
|
|||
|
|||
|
What development environment are you using that still has a 1.4.2_04 JDK? This is on the order of 5 years old and Sun will drop all support for the 1.4 series in October of this year.
I'd really encourage a newer JDK and see if the problems still occur.
__________________
Need Java help? Want to help people who do? Sit down with a cup of Java at the hotjoe forums. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > Native Code Error |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|