Erreur méthode native JPCap

farah2005 Messages postés 21 Date d'inscription jeudi 7 juillet 2005 Statut Membre Dernière intervention 19 avril 2007 - 11 juil. 2005 à 15:27
cs_neodante Messages postés 2835 Date d'inscription lundi 11 août 2003 Statut Modérateur Dernière intervention 16 décembre 2006 - 11 juil. 2005 à 15:58
Bonjour,

pour programmer en Java jutilise Netbeans 3.4.1 et jdk 1.4
en executant mon programme jai eu lerreur suivante :

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x200020
Function=[Unknown.]
Library=(N/A)


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 net.sourceforge.jpcap.capture.PacketCapture.open(Native Method)
at net.sourceforge.jpcap.capture.PacketCapture.open(PacketCapture.java:57)
at capteur.Sniffer.run(Sniffer.java:73)
at capteur.Sniffer.(Sniffer.java:13)
at capteur.Sniffer.main(Sniffer.java:94)


Dynamic libraries:
0x00400000 - 0x00406000 C:\Borland\JBuilder2005\jdk1.4\jre\bin\java.exe
0x78460000 - 0x784E3000 C:\WINNT\system32\ntdll.dll
0x78ED0000 - 0x78F32000 C:\WINNT\system32\ADVAPI32.dll
0x77E70000 - 0x77F33000 C:\WINNT\system32\KERNEL32.DLL
0x770C0000 - 0x77131000 C:\WINNT\system32\RPCRT4.DLL
0x78000000 - 0x78045000 C:\WINNT\system32\MSVCRT.dll
0x77E00000 - 0x77E65000 C:\WINNT\system32\user32.dll
0x77F40000 - 0x77F7E000 C:\WINNT\system32\GDI32.DLL
0x779A0000 - 0x77A3B000 C:\WINNT\system32\oleaut32.dll
0x77A40000 - 0x77B2F000 C:\WINNT\system32\ole32.dll
0x08000000 - 0x08138000 C:\Borland\JBuilder2005\jdk1.4\jre\bin\client\jvm.dll
0x77540000 - 0x77571000 C:\WINNT\system32\WINMM.dll
0x10000000 - 0x10007000 C:\Borland\JBuilder2005\jdk1.4\jre\bin\hpi.dll
0x00DD0000 - 0x00DDE000 C:\Borland\JBuilder2005\jdk1.4\jre\bin\verify.dll
0x00DE0000 - 0x00DF9000 C:\Borland\JBuilder2005\jdk1.4\jre\bin\java.dll
0x00E00000 - 0x00E0D000 C:\Borland\JBuilder2005\jdk1.4\jre\bin\zip.dll
0x6D3C0000 - 0x6D3D4000 C:\Farah\jpcap-0.01.16-win32\jpcap-0.01.16-win32\lib\jpcap.dll
0x18470000 - 0x184AF000 C:\WINNT\system32\wpcap.dll
0x74FB0000 - 0x74FC4000 C:\WINNT\system32\WS2_32.dll
0x74FA0000 - 0x74FA8000 C:\WINNT\system32\WS2HELP.DLL
0x184B0000 - 0x184C5000 C:\WINNT\system32\packet.dll
0x184D0000 - 0x184E0000 C:\WINNT\system32\WanPacket.dll
0x69B30000 - 0x69B40000 C:\WINNT\system32\NPPTools.dll
0x76F80000 - 0x7707B000 C:\WINNT\system32\MFC42u.DLL
0x77310000 - 0x77323000 C:\WINNT\system32\iphlpapi.dll
0x774F0000 - 0x774F5000 C:\WINNT\system32\ICMP.DLL
0x772F0000 - 0x77307000 C:\WINNT\system32\MPRAPI.DLL
0x750D0000 - 0x750DF000 C:\WINNT\system32\SAMLIB.DLL
0x750F0000 - 0x7513F000 C:\WINNT\system32\NETAPI32.DLL
0x78FB0000 - 0x78FBF000 C:\WINNT\system32\Secur32.dll
0x77BE0000 - 0x77BF1000 C:\WINNT\system32\NTDSAPI.dll
0x77970000 - 0x77994000 C:\WINNT\system32\DNSAPI.DLL
0x74FD0000 - 0x74FD9000 C:\WINNT\system32\WSOCK32.DLL
0x77940000 - 0x7796B000 C:\WINNT\system32\WLDAP32.DLL
0x75140000 - 0x75146000 C:\WINNT\system32\NETRAP.dll
0x77380000 - 0x773B0000 C:\WINNT\system32\ACTIVEDS.DLL
0x77350000 - 0x77373000 C:\WINNT\system32\ADSLDPC.DLL
0x77820000 - 0x7782E000 C:\WINNT\system32\RTUTILS.DLL
0x783C0000 - 0x78451000 C:\WINNT\system32\SETUPAPI.DLL
0x78D20000 - 0x78D82000 C:\WINNT\system32\USERENV.DLL
0x774B0000 - 0x774E3000 C:\WINNT\system32\RASAPI32.DLL
0x77490000 - 0x774A1000 C:\WINNT\system32\RASMAN.DLL
0x77500000 - 0x77522000 C:\WINNT\system32\TAPI32.DLL
0x71710000 - 0x71794000 C:\WINNT\system32\COMCTL32.DLL
0x70A70000 - 0x70AD4000 C:\WINNT\system32\SHLWAPI.DLL
0x77330000 - 0x77349000 C:\WINNT\system32\DHCPCSVC.DLL
0x77810000 - 0x77817000 C:\WINNT\system32\VERSION.dll
0x75950000 - 0x75956000 C:\WINNT\system32\LZ32.DLL
0x6C120000 - 0x6C12E000 C:\WINNT\system32\MFC42LOC.DLL
0x7CA00000 - 0x7CA23000 C:\WINNT\system32\rsaenh.dll
0x79570000 - 0x795F8000 C:\WINNT\system32\CRYPT32.dll
0x77400000 - 0x77410000 C:\WINNT\system32\MSASN1.DLL
0x77580000 - 0x777CC000 C:\WINNT\system32\shell32.dll
0x77910000 - 0x77933000 C:\WINNT\system32\imagehlp.dll
0x72970000 - 0x7299D000 C:\WINNT\system32\DBGHELP.dll
0x68EA0000 - 0x68EAB000 C:\WINNT\system32\PSAPI.DLL


Heap at VM Abort:
Heap
def new generation total 576K, used 465K [0x10010000, 0x100b0000, 0x104f0000)
eden space 512K, 90% used [0x10010000, 0x10084780, 0x10090000)
from space 64K, 0% used [0x10090000, 0x10090000, 0x100a0000)
to space 64K, 0% used [0x100a0000, 0x100a0000, 0x100b0000)
tenured generation total 1408K, used 0K [0x104f0000, 0x10650000, 0x14010000)
the space 1408K, 0% used [0x104f0000, 0x104f0000, 0x104f0200, 0x10650000)
compacting perm gen total 4096K, used 1216K [0x14010000, 0x14410000, 0x18010000)
the space 4096K, 29% used [0x14010000, 0x141403a8, 0x14140400, 0x14410000)


Local Time = Mon Jul 11 15:11:28 2005
Elapsed Time = 5
#
# 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)
#

jaimerai avoir une explication.

Merci davance.
Farah.

1 réponse

cs_neodante Messages postés 2835 Date d'inscription lundi 11 août 2003 Statut Modérateur Dernière intervention 16 décembre 2006 11
11 juil. 2005 à 15:58
Comem je te l'ai mis sur l'autre post, cette erreur est dû à la JPCap et/ou une mauvaise configuration/incompatibilité avec ton périphérique réseau ... mais pas du tout à Java !!!

++
0