wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes JTable showing bug at runtime Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTable showing bug at runtime" Watch "JTable showing bug at runtime" New topic
Author

JTable showing bug at runtime

amar nath jha
Greenhorn

Joined: Jan 15, 2006
Posts: 2
hi,
I created a table in oracle9i.It had java object stored in it.
I want to display the content of that table through JTable in swing .
When i tried to execute my program it gave me error
EXCEPTION_ACCESS_VIOLATION and with some memory locations and generated a bugreport.Can i display such object by Jtable .Please help me .

BugReport
........................................................
#
# An unexpected error has been detected by Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x60429546, pid=1232, tid=1464
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0-beta2-b86 mixed mode, sharing)
# Problematic frame:
# C [orageneric9.dll+0x129546]
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#

--------------- T H R E A D ---------------

Current thread (0x02bbf800): JavaThread "AWT-EventQueue-0" [_thread_in_native, id=1464]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000014

Registers:
EAX=0x00000000, EBX=0x03b282d4, ECX=0x00300958, EDX=0x00000000
ESP=0x03cff280, EBP=0x03cff280, ESI=0x03b365d0, EDI=0x03b36650
EIP=0x60429546, EFLAGS=0x00210216

Top of Stack: (sp=0x03cff280)
0x03cff280: 03cff380 60679272 03b282d4 00000000
0x03cff290: 03d739b0 03d73a30 00000000 03b32964
0x03cff2a0: 00000003 00300958 00001000 0000006c
0x03cff2b0: 03d74cd0 03d74cf0 03d74ce0 00000000
0x03cff2c0: 03cff2f4 03d46a19 03b365d0 03d74fc8
0x03cff2d0: 03b32964 00000003 03b282d4 00001001
0x03cff2e0: 0000006c 03d74cd0 03b34d7c 03d74ce0
0x03cff2f0: 00000000 00000000 00000000 03b35950

Instructions: (pc=0x60429546)
0x60429536: 66 8b 40 1e 5d c3 90 90 90 90 55 8b ec 8b 45 0c
0x60429546: 8b 40 14 5d c3 90 90 90 90 90 55 8b ec 8b 45 0c


Stack: [0x03cb0000,0x03d00000), sp=0x03cff280, free space=316k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [orageneric9.dll+0x129546]
C [OraClient9.Dll+0x79272]
C [OraClient9.Dll+0x192a]
C [OCI.dll+0x69c7]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j sun.jdbc.odbc.JdbcOdbc.execDirect(J[B[B)V+0
j sun.jdbc.odbc.JdbcOdbc.SQLExecDirect(JLjava/lang/String V+93
j sun.jdbc.odbc.JdbcOdbcStatement.execute(Ljava/lang/String Z+75
j sun.jdbc.odbc.JdbcOdbcStatement.executeQuery(Ljava/lang/String Ljava/sql/ResultSet;+51
j MyQuery$ViewTableHandler.displayContent()V+52
j MyQuery$1.mouseClicked(Ljava/awt/event/MouseEvent V+64
j java.awt.AWTEventMulticaster.mouseClicked(Ljava/awt/event/MouseEvent V+21
j java.awt.Component.processMouseEvent(Ljava/awt/event/MouseEvent V+74
j javax.swing.JComponent.processMouseEvent(Ljava/awt/event/MouseEvent V+23
j java.awt.Component.processEvent(Ljava/awt/AWTEvent V+81
j java.awt.Container.processEvent(Ljava/awt/AWTEvent V+18
j java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent V+562
j java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent V+42
j java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent V+2
j java.awt.LightweightDispatcher.retargetMouseEvent(Ljava/awt/Component;ILjava/awt/event/MouseEvent V+320
j java.awt.LightweightDispatcher.processMouseEvent(Ljava/awt/event/MouseEvent Z+157
j java.awt.LightweightDispatcher.dispatchEvent(Ljava/awt/AWTEvent Z+50
j java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent V+12
j java.awt.Window.dispatchEventImpl(Ljava/awt/AWTEvent V+19
j java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent V+2
j java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent V+46
j java.awt.EventDispatchThread.pumpOneEventForFilters(I)Z+156
j java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter V+30
j java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component V+11
j java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional V+4
j java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional V+3
j java.awt.EventDispatchThread.run()V+9
v ~StubRoutines::call_stub

--------------- P R O C E S S ---------------

Java Threads: ( => current thread )
0x02b65800 JavaThread "TimerQueue" daemon [_thread_blocked, id=1320]
0x00266000 JavaThread "DestroyJavaVM" [_thread_blocked, id=132]
=>0x02bbf800 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=1464]
0x02bbf400 JavaThread "AWT-Shutdown" [_thread_blocked, id=544]
0x02ba7c00 JavaThread "AWT-Windows" daemon [_thread_in_native, id=748]
0x02ba4000 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=1416]
0x02b32800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=268]
0x02b30000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=1668]
0x02b2ec00 JavaThread "Attach Listener" daemon [_thread_blocked, id=284]
0x02b2dc00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=936]
0x02aedc00 JavaThread "Finalizer" daemon [_thread_blocked, id=1440]
0x02aecc00 JavaThread "Reference Handler" daemon [_thread_blocked, id=1712]

Other Threads:
0x02ae3800 VMThread [id=852]
0x02b35000 WatcherThread [id=1708]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
def new generation total 960K, used 719K [0x24020000, 0x24120000, 0x24500000)
eden space 896K, 73% used [0x24020000, 0x240c3ef8, 0x24100000)
from space 64K, 100% used [0x24110000, 0x24120000, 0x24120000)
to space 64K, 0% used [0x24100000, 0x24100000, 0x24110000)
tenured generation total 4096K, used 357K [0x24500000, 0x24900000, 0x28020000)
the space 4096K, 8% used [0x24500000, 0x24559530, 0x24559600, 0x24900000)
compacting perm gen total 12288K, used 752K [0x28020000, 0x28c20000, 0x2c020000)
the space 12288K, 6% used [0x28020000, 0x280dc170, 0x280dc200, 0x28c20000)
ro space 8192K, 63% used [0x2c020000, 0x2c532500, 0x2c532600, 0x2c820000)
rw space 12288K, 56% used [0x2c820000, 0x2cee3e10, 0x2cee4000, 0x2d420000)

Dynamic libraries:
0x00400000 - 0x00423000 C:\WINNT\system32\java.exe
0x77f80000 - 0x77ffb000 C:\WINNT\system32\ntdll.dll
0x7c2d0000 - 0x7c332000 C:\WINNT\system32\ADVAPI32.dll
0x7c4e0000 - 0x7c599000 C:\WINNT\system32\KERNEL32.DLL
0x77d30000 - 0x77da1000 C:\WINNT\system32\RPCRT4.DLL
0x7c340000 - 0x7c396000 C:\Program Files\Java\jre1.6.0\bin\msvcr71.dll
0x6d7f0000 - 0x6da2f000 C:\Program Files\Java\jre1.6.0\bin\client\jvm.dll
0x77e10000 - 0x77e75000 C:\WINNT\system32\USER32.dll
0x77f40000 - 0x77f7c000 C:\WINNT\system32\GDI32.DLL
0x77570000 - 0x775a0000 C:\WINNT\system32\WINMM.dll
0x10000000 - 0x10018000 C:\WINNT\system32\MicIPCU.dll
0x6d310000 - 0x6d318000 C:\Program Files\Java\jre1.6.0\bin\hpi.dll
0x690a0000 - 0x690ab000 C:\WINNT\system32\PSAPI.DLL
0x6d7a0000 - 0x6d7ac000 C:\Program Files\Java\jre1.6.0\bin\verify.dll
0x6d3a0000 - 0x6d3bf000 C:\Program Files\Java\jre1.6.0\bin\java.dll
0x6d7e0000 - 0x6d7ef000 C:\Program Files\Java\jre1.6.0\bin\zip.dll
0x6d000000 - 0x6d1c2000 C:\Program Files\Java\jre1.6.0\bin\awt.dll
0x77800000 - 0x7781e000 C:\WINNT\system32\WINSPOOL.DRV
0x76620000 - 0x76631000 C:\WINNT\system32\MPR.DLL
0x75e60000 - 0x75e7a000 C:\WINNT\system32\IMM32.dll
0x77a50000 - 0x77b47000 C:\WINNT\system32\ole32.dll
0x51000000 - 0x5104d000 C:\WINNT\system32\ddraw.dll
0x78000000 - 0x78045000 C:\WINNT\system32\msvcrt.dll
0x728a0000 - 0x728a6000 C:\WINNT\system32\DCIMAN32.dll
0x6d2b0000 - 0x6d302000 C:\Program Files\Java\jre1.6.0\bin\fontmanager.dll
0x782f0000 - 0x78538000 C:\WINNT\system32\shell32.dll
0x70bd0000 - 0x70c35000 C:\WINNT\system32\SHLWAPI.DLL
0x71710000 - 0x71794000 C:\WINNT\system32\COMCTL32.DLL
0x6d3e0000 - 0x6d3ed000 C:\Program Files\Java\jre1.6.0\bin\JdbcOdbc.dll
0x1f7a0000 - 0x1f7da000 C:\WINNT\system32\ODBC32.dll
0x76b30000 - 0x76b6e000 C:\WINNT\system32\comdlg32.dll
0x1f840000 - 0x1f857000 C:\WINNT\system32\odbcint.dll
0x610a0000 - 0x61137000 D:\oracle\ora90\BIN\oracore9.dll
0x612a0000 - 0x61308000 D:\oracle\ora90\BIN\oranls9.dll
0x613a0000 - 0x613af000 D:\oracle\ora90\BIN\oraunls9.dll
0x60600000 - 0x60754000 D:\oracle\ora90\bin\OraClient9.Dll
0x60800000 - 0x60806000 D:\oracle\ora90\bin\oravsn9.dll
0x60500000 - 0x6057e000 D:\oracle\ora90\bin\oracommon9.dll
0x60300000 - 0x60493000 D:\oracle\ora90\bin\orageneric9.dll
0x61480000 - 0x61539000 D:\oracle\ora90\bin\oran9.dll
0x61400000 - 0x6142c000 D:\oracle\ora90\bin\oranl9.dll
0x61960000 - 0x6196f000 D:\oracle\ora90\bin\oranldap9.dll
0x615a0000 - 0x61628000 D:\oracle\ora90\bin\orannzsbb9.dll
0x75030000 - 0x75044000 C:\WINNT\system32\WS2_32.dll
0x75020000 - 0x75028000 C:\WINNT\system32\WS2HELP.DLL
0x62000000 - 0x62021000 D:\oracle\ora90\bin\oraldapclnt9.dll
0x616b0000 - 0x616c3000 D:\oracle\ora90\bin\orancrypt9.dll
0x75050000 - 0x75058000 C:\WINNT\system32\WSOCK32.dll
0x779b0000 - 0x77a4b000 C:\WINNT\system32\OLEAUT32.dll
0x62300000 - 0x62340000 D:\oracle\ora90\bin\ORATRACE9.dll
0x61730000 - 0x61767000 D:\oracle\ora90\bin\oranro9.dll
0x617c0000 - 0x617c6000 D:\oracle\ora90\bin\oranhost9.dll
0x617d0000 - 0x617d6000 D:\oracle\ora90\bin\oranoname9.dll
0x616a0000 - 0x616a6000 D:\oracle\ora90\bin\orancds9.dll
0x61820000 - 0x61826000 D:\oracle\ora90\bin\orantns9.dll
0x64000000 - 0x64007000 D:\oracle\ora90\bin\oranms.dll
0x64020000 - 0x64030000 D:\oracle\ora90\bin\oranmsp.dll
0x60a00000 - 0x60c04000 D:\oracle\ora90\bin\orapls9.dll
0x62500000 - 0x62507000 D:\oracle\ora90\bin\oraslax9.dll
0x61350000 - 0x61360000 D:\oracle\ora90\bin\orasnls9.dll
0x60810000 - 0x60816000 D:\oracle\ora90\bin\orawtc9.dll
0x62600000 - 0x62674000 D:\oracle\ora90\bin\orasql9.dll
0x1f7f0000 - 0x1f80a000 C:\WINNT\system32\odbccp32.dll
0x77820000 - 0x77827000 C:\WINNT\system32\VERSION.dll
0x759b0000 - 0x759b6000 C:\WINNT\system32\LZ32.DLL
0x61910000 - 0x6191c000 D:\oracle\ora90\bin\orantcp9.dll
0x782c0000 - 0x782cc000 C:\WINNT\System32\rnr20.dll
0x77980000 - 0x779a4000 C:\WINNT\system32\DNSAPI.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
0x03bb0000 - 0x03bbf000 C:\WINNT\system32\SECUR32.DLL
0x751c0000 - 0x751c6000 C:\WINNT\system32\NETRAP.DLL
0x77950000 - 0x7797a000 C:\WINNT\system32\WLDAP32.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 - 0x7c152000 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
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
0x61890000 - 0x6189e000 D:\oracle\ora90\bin\orannts9.dll
0x75500000 - 0x75504000 C:\WINNT\system32\security.dll
0x78280000 - 0x782b6000 C:\WINNT\system32\kerberos.dll
0x76670000 - 0x7667e000 C:\WINNT\system32\CRYPTDLL.DLL
0x77430000 - 0x77440000 C:\WINNT\system32\MSASN1.DLL
0x782d0000 - 0x782ef000 C:\WINNT\system32\msv1_0.dll
0x77440000 - 0x774b8000 C:\WINNT\system32\CRYPT32.DLL
0x04c00000 - 0x04c87000 D:\oracle\ora90\BIN\SQORA32.DLL
0x03d40000 - 0x03d5b000 D:\oracle\ora90\BIN\OCI.dll
0x03e70000 - 0x03e7d000 D:\oracle\ora90\bin\sqresUS.dll
0x6c370000 - 0x6c46b000 C:\WINNT\system32\MFC42.DLL
0x5fd00000 - 0x5fd0d000 C:\WINNT\system32\MFC42LOC.DLL
0x6d560000 - 0x6d573000 C:\Program Files\Java\jre1.6.0\bin\net.dll
0x6d580000 - 0x6d589000 C:\Program Files\Java\jre1.6.0\bin\nio.dll

VM Arguments:
java_command: MyQuery
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=C:\Program Files\Java\jdk1.5.0_04
PATH=D:\oracle\ora90\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Rational\common;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\Java\jdk1.5.0_04\bin;
USERNAME=amar
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 7, GenuineIntel



--------------- S Y S T E M ---------------

OS: Windows 2000 Build 2195 Service Pack 4

CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht

Memory: 4k page, physical 456532k(141644k free), swap 1078016k(790016k free)

vm_info: Java HotSpot(TM) Client VM (1.6.0-beta2-b86) for windows-x86, built on Jun 2 2006 00:36:31 by "java_re" with unknown MS VC++:1310


amar nath jha
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: JTable showing bug at runtime
 
Similar Threads
An unexpected error has been detected by HotSpot Virtual Machine:
An unexpected error has been detected by HotSpot Virtual Machine
print causes jre crash
applets action listeners not working
EXCEPTION_ACCESS_VIOLATION & MSAccess