Java & databases & awt

Discussion in 'Java' started by Polo, Nov 6, 2003.

  1. Polo

    Polo Guest

    Hi!
    i've got a panel, it uses gridlayout. It has only four fields. i try to put
    data from the textfields into mysql database. I do it in the same way,as i
    do in other panels. But only this one, when i try to load data in database
    table gives something like this:

    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x1B7E3DA9
    Function=SQLDisconnect+0x1A9
    Library=C:\WINNT\system32\myodbc3.dll

    Current Java thread:
    at sun.jdbc.odbc.JdbcOdbc.execDirect(Native Method)
    at sun.jdbc.odbc.JdbcOdbc.SQLExecDirect(JdbcOdbc.java:3059)
    at sun.jdbc.odbc.JdbcOdbcStatement.execute(JdbcOdbcStatement.java:338)
    - locked <02A61728> (a sun.jdbc.odbc.JdbcOdbcStatement)
    at
    sun.jdbc.odbc.JdbcOdbcStatement.executeUpdate(JdbcOdbcStatement.java:288)
    at zarzadzanie.Uzytkownicy.actionPerformed(Uzytkownicy.java:190)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764)
    at
    javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButto
    n.java:1817)
    at
    javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:4
    19)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
    at
    javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener
    ..java:245)
    at java.awt.Component.processMouseEvent(Component.java:5093)
    at java.awt.Component.processEvent(Component.java:4890)
    at java.awt.Container.processEvent(Container.java:1566)
    at java.awt.Component.dispatchEventImpl(Component.java:3598)
    at java.awt.Container.dispatchEventImpl(Container.java:1623)
    at java.awt.Component.dispatchEvent(Component.java:3439)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
    at java.awt.Container.dispatchEventImpl(Container.java:1609)
    at java.awt.Window.dispatchEventImpl(Window.java:1585)
    at java.awt.Component.dispatchEvent(Component.java:3439)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
    va:197)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    :150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

    Dynamic libraries:
    0x00400000 - 0x00406000 C:\JBuilder8\jdk1.4\bin\javaw.exe
    0x77F80000 - 0x77FFD000 C:\WINNT\system32\ntdll.dll
    0x79000000 - 0x79062000 C:\WINNT\system32\ADVAPI32.dll
    0x79340000 - 0x793FE000 C:\WINNT\system32\KERNEL32.DLL
    0x770F0000 - 0x7715E000 C:\WINNT\system32\RPCRT4.DLL
    0x77E10000 - 0x77E75000 C:\WINNT\system32\USER32.dll
    0x77F40000 - 0x77F7C000 C:\WINNT\system32\GDI32.DLL
    0x78000000 - 0x78045000 C:\WINNT\system32\MSVCRT.dll
    0x6D330000 - 0x6D45C000 C:\JBuilder8\jdk1.4\jre\bin\client\jvm.dll
    0x77520000 - 0x77551000 C:\WINNT\system32\WINMM.dll
    0x6D1D0000 - 0x6D1D7000 C:\JBuilder8\jdk1.4\jre\bin\hpi.dll
    0x6D300000 - 0x6D30D000 C:\JBuilder8\jdk1.4\jre\bin\verify.dll
    0x6D210000 - 0x6D229000 C:\JBuilder8\jdk1.4\jre\bin\java.dll
    0x6D320000 - 0x6D32D000 C:\JBuilder8\jdk1.4\jre\bin\zip.dll
    0x6D000000 - 0x6D0FA000 C:\JBuilder8\jdk1.4\jre\bin\awt.dll
    0x777D0000 - 0x777EE000 C:\WINNT\system32\WINSPOOL.DRV
    0x79410000 - 0x79421000 C:\WINNT\system32\MPR.DLL
    0x75E00000 - 0x75E1A000 C:\WINNT\system32\IMM32.dll
    0x77A50000 - 0x77B3C000 C:\WINNT\system32\ole32.dll
    0x6D180000 - 0x6D1D0000 C:\JBuilder8\jdk1.4\jre\bin\fontmanager.dll
    0x51000000 - 0x5104B000 C:\WINNT\system32\ddraw.dll
    0x72830000 - 0x72836000 C:\WINNT\system32\DCIMAN32.dll
    0x72D20000 - 0x72D93000 C:\WINNT\system32\D3DIM.DLL
    0x1B500000 - 0x1B50C000 C:\Program Files\Apoint2K\EzAuto.dll
    0x1B620000 - 0x1B692000 C:\Program Files\Apoint2K\Apoint.DLL
    0x76AE0000 - 0x76B1E000 C:\WINNT\system32\comdlg32.dll
    0x70BD0000 - 0x70C35000 C:\WINNT\system32\SHLWAPI.DLL
    0x71710000 - 0x71794000 C:\WINNT\system32\COMCTL32.DLL
    0x77560000 - 0x777AC000 C:\WINNT\system32\SHELL32.DLL
    0x777F0000 - 0x777F7000 C:\WINNT\system32\VERSION.dll
    0x75950000 - 0x75956000 C:\WINNT\system32\LZ32.DLL
    0x1B6A0000 - 0x1B6AD000 C:\WINNT\system32\Vxdif.dll
    0x6D250000 - 0x6D25B000 C:\JBuilder8\jdk1.4\jre\bin\JdbcOdbc.dll
    0x1F7C0000 - 0x1F7F4000 C:\WINNT\system32\ODBC32.dll
    0x1B7C0000 - 0x1B7D8000 C:\WINNT\system32\odbcint.dll
    0x1B7E0000 - 0x1B842000 C:\WINNT\system32\myodbc3.dll
    0x72E20000 - 0x72E31000 C:\WINNT\system32\CTL3D32.dll
    0x74FE0000 - 0x74FE9000 C:\WINNT\system32\WSOCK32.dll
    0x74FC0000 - 0x74FD4000 C:\WINNT\system32\WS2_32.DLL
    0x74FB0000 - 0x74FB8000 C:\WINNT\system32\WS2HELP.DLL
    0x1F810000 - 0x1F82A000 C:\WINNT\system32\odbccp32.dll
    0x77810000 - 0x7781C000 C:\WINNT\System32\rnr20.dll
    0x77980000 - 0x779A4000 C:\WINNT\system32\DNSAPI.DLL
    0x772F0000 - 0x77303000 C:\WINNT\system32\iphlpapi.dll
    0x774D0000 - 0x774D5000 C:\WINNT\system32\ICMP.DLL
    0x772D0000 - 0x772E7000 C:\WINNT\system32\MPRAPI.DLL
    0x750E0000 - 0x750EF000 C:\WINNT\system32\SAMLIB.DLL
    0x75100000 - 0x7514F000 C:\WINNT\system32\NETAPI32.DLL
    0x790E0000 - 0x790EF000 C:\WINNT\system32\SECUR32.DLL
    0x75150000 - 0x75156000 C:\WINNT\system32\NETRAP.DLL
    0x77950000 - 0x7797B000 C:\WINNT\system32\WLDAP32.DLL
    0x779B0000 - 0x77A4B000 C:\WINNT\system32\OLEAUT32.DLL
    0x77360000 - 0x77390000 C:\WINNT\system32\ACTIVEDS.DLL
    0x77330000 - 0x77353000 C:\WINNT\system32\ADSLDPC.DLL
    0x77800000 - 0x7780E000 C:\WINNT\system32\RTUTILS.DLL
    0x77860000 - 0x778F0000 C:\WINNT\system32\SETUPAPI.DLL
    0x78E00000 - 0x78E63000 C:\WINNT\system32\USERENV.DLL
    0x77490000 - 0x774C3000 C:\WINNT\system32\RASAPI32.DLL
    0x77470000 - 0x77481000 C:\WINNT\system32\RASMAN.DLL
    0x774E0000 - 0x77502000 C:\WINNT\system32\TAPI32.DLL
    0x77310000 - 0x77329000 C:\WINNT\system32\DHCPCSVC.DLL
    0x777B0000 - 0x777B8000 C:\WINNT\System32\winrnr.dll
    0x777C0000 - 0x777C5000 C:\WINNT\system32\rasadhlp.dll
    0x74F60000 - 0x74F7E000 C:\WINNT\system32\msafd.dll
    0x74FA0000 - 0x74FA7000 C:\WINNT\System32\wshtcpip.dll
    0x77920000 - 0x77943000 C:\WINNT\system32\imagehlp.dll
    0x72990000 - 0x729BD000 C:\WINNT\system32\DBGHELP.dll
    0x68F90000 - 0x68F9B000 C:\WINNT\system32\PSAPI.DLL

    Local Time = Thu Nov 06 15:08:00 2003
    Elapsed Time = 19
    #
    # The exception above was detected in native code outside the VM
    #
    # Java VM: Java HotSpot(TM) Client VM (1.4.1-b21 mixed mode)
    #
    # An error report file has been saved as hs_err_pid1568.log.
    # Please refer to the file for further information.
    #

    given hs_err_pid1568.log says exactly the same.
    Do you have any suggestion?
    Thx
     
    Polo, Nov 6, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Thang Nguyen
    Replies:
    0
    Views:
    636
    Thang Nguyen
    Aug 7, 2003
  2. Robert Mark Bram
    Replies:
    2
    Views:
    6,028
    Robert Mark Bram
    Dec 11, 2003
  3. Arun
    Replies:
    0
    Views:
    740
  4. Rafal Majda
    Replies:
    2
    Views:
    971
    Thomas Weidenfeller
    Apr 12, 2005
  5. Ken North
    Replies:
    0
    Views:
    633
    Ken North
    Jul 14, 2005
Loading...

Share This Page