• Post Reply Bookmark Topic Watch Topic
  • New Topic

unexpected exception has been detected in native code  RSS feed

Vilpesh Mistry
Ranch Hand
Posts: 62
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all
i am currently debugging my "Insertion" program using JBuilder 9 enterprise edition.My database is sqlserver 7.0
Program Logic:
in a big loop i pick up data from a text(txt) file and insert into the database.

while data in being inserted into database, from somewhere my Console in Jbuider shows this below given error, --->

an unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x77FCC1E1

Current Java thread:
at sun.jdbc.odbc.JdbcOdbc.setStmtAttrPtr(Native Method)
at sun.jdbc.odbc.JdbcOdbc.SQLSetStmtAttrPtr(JdbcOdbc.java:5231)
at sun.jdbc.odbc.JdbcOdbcResultSet.setRowStatusPtr(JdbcOdbcResultSet.java:4512)
at sun.jdbc.odbc.JdbcOdbcResultSet.initialize(JdbcOdbcResultSet.java:167)
at sun.jdbc.odbc.JdbcOdbcStatement.getResultSet(JdbcOdbcStatement.java:424)
- locked <02F6D380> (a sun.jdbc.odbc.JdbcOdbcStatement)
at sun.jdbc.odbc.JdbcOdbcStatement.executeQuery(JdbcOdbcStatement.java:254)
at insertion.ReceiveMail.insert_into_database(insertion.java:1016)
at insertion.ReceiveMail.<init>(insertion.java:736)
at insertion.insertion.main(insertion.java:26)

Dynamic libraries:
0x00400000 - 0x00407000 C:\JBuilder9\jdk1.4\bin\javaw.exe
0x77F80000 - 0x77FFD000 C:\WINNT\system32\ntdll.dll
0x7C2D0000 - 0x7C332000 C:\WINNT\system32\ADVAPI32.dll
0x7C570000 - 0x7C628000 C:\WINNT\system32\KERNEL32.DLL
0x77D30000 - 0x77D9E000 C:\WINNT\system32\RPCRT4.DLL
0x77E10000 - 0x77E75000 C:\WINNT\system32\USER32.dll
0x77F40000 - 0x77F7E000 C:\WINNT\system32\GDI32.DLL
0x78000000 - 0x78045000 C:\WINNT\system32\MSVCRT.dll
0x6D340000 - 0x6D46A000 C:\JBuilder9\jdk1.4\jre\bin\client\jvm.dll
0x77570000 - 0x775A0000 C:\WINNT\system32\WINMM.dll
0x6D1E0000 - 0x6D1E7000 C:\JBuilder9\jdk1.4\jre\bin\hpi.dll
0x6D310000 - 0x6D31E000 C:\JBuilder9\jdk1.4\jre\bin\verify.dll
0x6D220000 - 0x6D239000 C:\JBuilder9\jdk1.4\jre\bin\java.dll
0x6D330000 - 0x6D33D000 C:\JBuilder9\jdk1.4\jre\bin\zip.dll
0x6D270000 - 0x6D28C000 C:\JBuilder9\jdk1.4\jre\bin\jdwp.dll
0x6D180000 - 0x6D185000 C:\JBuilder9\jdk1.4\jre\bin\dt_socket.dll
0x75030000 - 0x75044000 C:\WINNT\system32\ws2_32.dll
0x75020000 - 0x75028000 C:\WINNT\system32\WS2HELP.DLL
0x782C0000 - 0x782CC000 C:\WINNT\System32\rnr20.dll
0x77980000 - 0x779A4000 C:\WINNT\system32\DNSAPI.DLL
0x75050000 - 0x75058000 C:\WINNT\system32\WSOCK32.DLL
0x77340000 - 0x77353000 C:\WINNT\system32\iphlpapi.dll
0x77520000 - 0x77525000 C:\WINNT\system32\ICMP.DLL
0x77320000 - 0x77337000 C:\WINNT\system32\MPRAPI.DLL
0x75150000 - 0x7515F000 C:\WINNT\system32\SAMLIB.DLL
0x75170000 - 0x751BF000 C:\WINNT\system32\NETAPI32.DLL
0x7C340000 - 0x7C34F000 C:\WINNT\system32\SECUR32.DLL
0x751C0000 - 0x751C6000 C:\WINNT\system32\NETRAP.DLL
0x77950000 - 0x7797A000 C:\WINNT\system32\WLDAP32.DLL
0x77A50000 - 0x77B3C000 C:\WINNT\system32\OLE32.DLL
0x779B0000 - 0x77A4B000 C:\WINNT\system32\OLEAUT32.DLL
0x773B0000 - 0x773DF000 C:\WINNT\system32\ACTIVEDS.DLL
0x77380000 - 0x773A3000 C:\WINNT\system32\ADSLDPC.DLL
0x77830000 - 0x7783E000 C:\WINNT\system32\RTUTILS.DLL
0x77880000 - 0x7790E000 C:\WINNT\system32\SETUPAPI.DLL
0x7C0F0000 - 0x7C151000 C:\WINNT\system32\USERENV.DLL
0x774E0000 - 0x77513000 C:\WINNT\system32\RASAPI32.DLL
0x774C0000 - 0x774D1000 C:\WINNT\system32\RASMAN.DLL
0x77530000 - 0x77552000 C:\WINNT\system32\TAPI32.DLL
0x71710000 - 0x71794000 C:\WINNT\system32\COMCTL32.DLL
0x70BD0000 - 0x70C35000 C:\WINNT\system32\SHLWAPI.DLL
0x77360000 - 0x77379000 C:\WINNT\system32\DHCPCSVC.DLL
0x777E0000 - 0x777E8000 C:\WINNT\System32\winrnr.dll
0x777F0000 - 0x777F5000 C:\WINNT\system32\rasadhlp.dll
0x74FD0000 - 0x74FEE000 C:\WINNT\system32\msafd.dll
0x75010000 - 0x75017000 C:\WINNT\System32\wshtcpip.dll
0x6D260000 - 0x6D26B000 C:\JBuilder9\jdk1.4\jre\bin\JdbcOdbc.dll
0x1F7B0000 - 0x1F7E1000 C:\WINNT\system32\ODBC32.dll
0x76B30000 - 0x76B6E000 C:\WINNT\system32\comdlg32.dll
0x782F0000 - 0x78538000 C:\WINNT\system32\SHELL32.DLL
0x1F850000 - 0x1F866000 C:\WINNT\system32\odbcint.dll
0x1F9C0000 - 0x1FA1E000 C:\WINNT\System32\SQLSRV32.dll
0x41090000 - 0x410BD000 C:\WINNT\System32\SQLUNIRL.dll
0x77800000 - 0x7781E000 C:\WINNT\System32\WINSPOOL.DRV
0x76620000 - 0x76630000 C:\WINNT\system32\MPR.DLL
0x77820000 - 0x77827000 C:\WINNT\system32\VERSION.dll
0x759B0000 - 0x759B6000 C:\WINNT\system32\LZ32.DLL
0x769A0000 - 0x769A7000 C:\WINNT\system32\NDDEAPI.DLL
0x1FA20000 - 0x1FA36000 C:\WINNT\System32\sqlsrv32.rll
0x1F800000 - 0x1F818000 C:\WINNT\system32\odbccp32.dll
0x74CB0000 - 0x74CBF000 C:\WINNT\system32\DBNETLIB.DLL
0x75500000 - 0x75504000 C:\WINNT\system32\security.dll
0x7C740000 - 0x7C7C7000 C:\WINNT\system32\crypt32.dll
0x77430000 - 0x77440000 C:\WINNT\system32\MSASN1.DLL
0x0F8D0000 - 0x0F8F1000 C:\WINNT\system32\msv1_0.dll
0x77BF0000 - 0x77C01000 C:\WINNT\system32\ntdsapi.dll
0x6D2E0000 - 0x6D2EE000 C:\JBuilder9\jdk1.4\jre\bin\net.dll
0x77920000 - 0x77943000 C:\WINNT\system32\imagehlp.dll
0x72A00000 - 0x72A2D000 C:\WINNT\system32\DBGHELP.dll
0x690A0000 - 0x690AB000 C:\WINNT\system32\PSAPI.DLL

Local Time = Thu Jul 29 17:43:31 2004
Elapsed Time = 1750
# 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_pid1584.log.
# Please refer to the file for further information.

what can be the reason behind the error?
please help,any suggestion welcomed,appreciated.

thanks & regards
Stefan Wagner
Ranch Hand
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I answered here: tek-tips
to try a real jdbc-driver as workaround.
Why do you use an ODBC-Bridge?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!