I am working with the last version of JeasyOpc on a server OPC RSLINX passing information of each tag to a database. Everything works fine, but it falls on the day of running, this depends of the workload. I know i need to handle well the memories, i have tried to optimize, but i need the advice of someone more experienced in java or Jeasyopc. pd. I changee the jre for the 1.7 . this is the log file. Thanks .
#
# An unexpected error has been detected by Java Runtime Environment:
#enter code here
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x03d337d9, pid=4456, tid=5864
#
# Java VM: Java HotSpot(TM) Client VM (10.0-b23 mixed mode windows-x86)
# Problematic frame:
# C [JCustomOpc.dll+0x637d9]
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
--------------- T H R E A D ---------------
Current thread (0x03573400): JavaThread "Thread-4" [_thread_in_native, id=5864, stack(0x03e50000,0x03ea0000)]
siginfo: ExceptionCode=0xc0000005, writing address 0xc503d337
Registers:
EAX=0x03d55f04, EBX=0xc503d337, ECX=0x03d55f37, EDX=0x03d3a501
ESP=0x03e9f828, EBP=0x03e9f858, ESI=0x0355d9cc, EDI=0x00000007
EIP=0x03d337d9, EFLAGS=0x00010206
Top of Stack: (sp=0x03e9f828)
0x03e9f828: 03cd31cf 03d36eb5 03573400 14eb7f58
0x03e9f838: 00000001 034cb23c 00000001 00000001
0x03e9f848: 0355d9c0 03d55f84 03d55f94 0355d9d8
0x03e9f858: 03e9f878 00b38492 035734f4 03e9f868
0x03e9f868: 14eb7f58 14eb7f58 14eb7f58 00000001
0x03e9f878: 03e9f968 00b45808 00000014 00000000
0x03e9f888: 03e9f8c8 7c91e900 7c9201c0 ffffffff
0x03e9f898: 7c9201bb 7c3416b3 003f0000 00000000
Instructions: (pc=0x03d337d9)
0x03d337c9: e0 e9 cd 21 fa ff b1 37 d3 03 bb 37 d3 03 c5 37
0x03d337d9: d3 03 89 37 d3 03 93 37 d3 03 9d 37 d3 03 a7 37
Stack: [0x03e50000,0x03ea0000], sp=0x03e9f828, free space=318k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [JCustomOpc.dll+0x637d9]
J javafish.clients.opc.JOpc.getDownloadGroupNative()Ljavafish/clients/opc/component/OpcGroup;
J javafish.clients.opc.JEasyOpc.run()V
v ~BufferBlob::Interpreter
v ~BufferBlob::StubRoutines (1)
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J javafish.clients.opc.JOpc.getDownloadGroupNative()Ljavafish/clients/opc/component/OpcGroup;
J javafish.clients.opc.JEasyOpc.run()V
v ~BufferBlob::Interpreter
v ~BufferBlob::StubRoutines (1)
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
=>0x03573400 JavaThread "Thread-4" [_thread_in_native, id=5864, stack(0x03e50000,0x03ea0000)]
0x03555400 JavaThread "Thread-3" [_thread_blocked, id=5384, stack(0x03c80000,0x03cd0000)]
0x03552400 JavaThread "Thread-2" [_thread_blocked, id=4144, stack(0x03c30000,0x03c80000)]
0x003f6400 JavaThread "DestroyJavaVM" [_thread_blocked, id=5848, stack(0x008d0000,0x00920000)]
0x034d7400 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=528, stack(0x03a30000,0x03a80000)]
0x034cd400 JavaThread "AWT-Windows" daemon [_thread_in_native, id=5408, stack(0x03970000,0x039c0000)]
0x034bd800 JavaThread "AWT-Shutdown" [_thread_blocked, id=2228, stack(0x03920000,0x03970000)]
0x0348d400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=6108, stack(0x038d0000,0x03920000)]
0x02e7f400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=5700, stack(0x030d0000,0x03120000)]
0x02e79c00 JavaThread "CompilerThread0" daemon [_thread_blocked, id=5816, stack(0x03080000,0x030d0000)]
0x02e78c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=1652, stack(0x03030000,0x03080000)]
0x02e77c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5108, stack(0x02fe0000,0x03030000)]
0x02e66800 JavaThread "Finalizer" daemon [_thread_blocked, id=3508, stack(0x02f90000,0x02fe0000)]
0x02e65400 JavaThread "Reference Handler" daemon [_thread_blocked, id=4232, stack(0x02f40000,0x02f90000)]
Other Threads:
0x02e60c00 VMThread [stack: 0x02ef0000,0x02f40000] [id=4324]
0x02e91400 WatcherThread [stack: 0x03120000,0x03170000] [id=4920]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 960K, used 360K [0x10020000, 0x10120000, 0x14d00000)
eden space 896K, 38% used [0x10020000, 0x10075f18, 0x10100000)
from space 64K, 26% used [0x10110000, 0x10114328, 0x10120000)
to space 64K, 0% used [0x10100000, 0x10100000, 0x10110000)
tenured generation total 4096K, used 2372K [0x14d00000, 0x15100000, 0x4e820000)
the space 4096K, 57% used [0x14d00000, 0x14f511a8, 0x14f51200, 0x15100000)
compacting perm gen total 12288K, used 11366K [0x4e820000, 0x4f420000, 0x52820000)
the space 12288K, 92% used [0x4e820000, 0x4f339b30, 0x4f339c00, 0x4f420000)
No shared spaces configured.
Dynamic libraries:
0x00400000 - 0x00423000 C:\Archivos de programa\Java\jre1.6.0_07\bin\javaw.exe
0x7c910000 - 0x7c9c5000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c903000 C:\WINDOWS\system32\kernel32.dll
0x77da0000 - 0x77e4c000 C:\WINDOWS\system32\ADVAPI32.dll
0x77e50000 - 0x77ee2000 C:\WINDOWS\system32\RPCRT4.dll
0x77fc0000 - 0x77fd1000 C:\WINDOWS\system32\Secur32.dll
0x7e390000 - 0x7e421000 C:\WINDOWS\system32\USER32.dll
0x77ef0000 - 0x77f39000 C:\WINDOWS\system32\GDI32.dll
0x76340000 - 0x7635d000 C:\WINDOWS\system32\IMM32.DLL
0x10000000 - 0x10017000 C:\WINDOWS\system32\APSHook.dll
0x7c340000 - 0x7c396000 C:\Archivos de programa\Java\jre1.6.0_07\bin\msvcr71.dll
0x6d7c0000 - 0x6da10000 C:\Archivos de programa\Java\jre1.6.0_07\bin\client\jvm.dll
0x76b00000 - 0x76b2e000 C:\WINDOWS\system32\WINMM.dll
0x6d270000 - 0x6d278000 C:\Archivos de programa\Java\jre1.6.0_07\bin\hpi.dll
0x76bb0000 - 0x76bbb000 C:\WINDOWS\system32\PSAPI.DLL
0x6d770000 - 0x6d77c000 C:\Archivos de programa\Java\jre1.6.0_07\bin\verify.dll
0x6d310000 - 0x6d32f000 C:\Archivos de programa\Java\jre1.6.0_07\bin\java.dll
0x6d7b0000 - 0x6d7bf000 C:\Archivos de programa\Java\jre1.6.0_07\bin\zip.dll
0x6d570000 - 0x6d583000 C:\Archivos de programa\Java\jre1.6.0_07\bin\net.dll
0x71a30000 - 0x71a47000 C:\WINDOWS\system32\WS2_32.dll
0x77be0000 - 0x77c38000 C:\WINDOWS\system32\msvcrt.dll
0x71a20000 - 0x71a28000 C:\WINDOWS\system32\WS2HELP.dll
0x719d0000 - 0x71a10000 C:\WINDOWS\system32\mswsock.dll
0x66740000 - 0x66799000 C:\WINDOWS\system32\hnetcfg.dll
0x71a10000 - 0x71a18000 C:\WINDOWS\System32\wshtcpip.dll
0x76ee0000 - 0x76f07000 C:\WINDOWS\system32\DNSAPI.dll
0x76d20000 - 0x76d39000 C:\WINDOWS\system32\iphlpapi.dll
0x76f70000 - 0x76f78000 C:\WINDOWS\System32\winrnr.dll
0x76f20000 - 0x76f4d000 C:\WINDOWS\system32\WLDAP32.dll
0x76f80000 - 0x76f86000 C:\WINDOWS\system32\rasadhlp.dll
0x68000000 - 0x68036000 C:\WINDOWS\system32\rsaenh.dll
0x76630000 - 0x766e5000 C:\WINDOWS\system32\USERENV.dll
0x597f0000 - 0x59845000 C:\WINDOWS\system32\netapi32.dll
0x6d750000 - 0x6d758000 C:\Archivos de programa\Java\jre1.6.0_07\bin\sunmscapi.dll
0x77a50000 - 0x77ae6000 C:\WINDOWS\system32\CRYPT32.dll
0x77af0000 - 0x77b02000 C:\WINDOWS\system32\MSASN1.dll
0x6d000000 - 0x6d12e000 C:\Archivos de programa\Java\jre1.6.0_07\bin\awt.dll
0x72f80000 - 0x72fa6000 C:\WINDOWS\system32\WINSPOOL.DRV
0x774b0000 - 0x775ed000 C:\WINDOWS\system32\ole32.dll
0x5b150000 - 0x5b188000 C:\WINDOWS\system32\uxtheme.dll
0x736e0000 - 0x7372b000 C:\WINDOWS\system32\ddraw.dll
0x73b40000 - 0x73b46000 C:\WINDOWS\system32\DCIMAN32.dll
0x6d210000 - 0x6d263000 C:\Archivos de programa\Java\jre1.6.0_07\bin\fontmanager.dll
0x746b0000 - 0x746fc000 C:\WINDOWS\system32\MSCTF.dll
0x75160000 - 0x7518e000 C:\WINDOWS\system32\msctfime.ime
0x7e6a0000 - 0x7eec1000 C:\WINDOWS\system32\shell32.dll
0x77f40000 - 0x77fb6000 C:\WINDOWS\system32\SHLWAPI.dll
0x773a0000 - 0x774a3000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll
0x58c30000 - 0x58cca000 C:\WINDOWS\system32\comctl32.dll
0x6d590000 - 0x6d599000 C:\Archivos de programa\Java\jre1.6.0_07\bin\nio.dll
0x03cd0000 - 0x03d4c000 C:\Documents and Settings\ingenieria\Escritorio\JEasyOpc\lib\JCustomOpc.dll
0x770f0000 - 0x7717b000 C:\WINDOWS\system32\oleaut32.dll
0x77bd0000 - 0x77bd8000 C:\WINDOWS\system32\version.dll
0x590d0000 - 0x590d7000 C:\WINDOWS\system32\Wship6.dll
0x76f90000 - 0x7700f000 C:\WINDOWS\system32\CLBCATQ.DLL
0x77010000 - 0x770e0000 C:\WINDOWS\system32\COMRes.dll
0x03ea0000 - 0x04176000 C:\WINDOWS\system32\xpsp2res.dll
0x03ac0000 - 0x03acc000 C:\Archivos de programa\Rockwell Software\RSLinx\RSOPCCON.DLL
0x0c390000 - 0x0c7d1000 C:\WINDOWS\system32\msi.dll
0x79000000 - 0x79045000 C:\WINDOWS\system32\MSCOREE.DLL
0x60610000 - 0x60616000 c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\fusion.dll
0x78130000 - 0x781cb000 C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700\MSVCR80.dll
0x79e70000 - 0x7a3d4000 c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
0x0c860000 - 0x0c87a000 C:\WINDOWS\system32\opcproxy.dll
VM Arguments:
jvm_args: -Xmx1000m -Dfile.encoding=Cp1252
java_command: Controlador.motor
Launcher Type: SUN_STANDARD
Environment Variables:
PATH=C:/Archivos de programa/Java/jre1.6.0_07/bin/client;C:/Archivos de programa/Java/jre1.6.0_07/bin;C:/Archivos de programa/Java/jre1.6.0_07/lib/i386;C:\Archivos de programa\Rockwell Software\RSCommon;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Archivos de programa\Intel\DMIX;c:\Archivos de programa\Microsoft SQL Server\90\Tools\binn\;C:\Archivos de programa\ActivIdentity\ActivClient\;C:\Archivos de programa\Hewlett-Packard\IAM\bin;C:\Archivos de programa\Siemens\FactoryLink\Common;C:\Archivos de programa\Siemens\Factorylink\Server\BIN;C:\Archivos de programa\Rockwell Automation\Common\Components;C:\Documents and Settings\ingenieria\Escritorio\eclipse;
USERNAME=ingenieria
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 10, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows XP Build 2600 Service Pack 3
CPU:total 4 (4 cores per cpu, 1 threads per core) family 6 model 7 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3
Memory: 4k page, physical 2097151k(2018032k free), swap 4194303k(3802640k free)
vm_info: Java HotSpot(TM) Client VM (10.0-b23) for windows-x86 JRE (1.6.0_07-b06), built on Jun 10 2008 01:14:11 by "java_re" with MS VC++ 7.1
time: Thu Apr 17 00:11:58 2014
elapsed time: 22087 seconds
Related
Found a below error in javaaccesbridge screen capturing.
This error occur randomly.
Please let me know cause of this error? Please suggest me how to fix it?
--------------- T H R E A D ---------------
Current thread (0x05d31800): JavaThread "Thread-6" daemon
[_thread_in_Java, id=16140, stack(0x04d60000,0x04db0000)]
siginfo: ExceptionCode=0xc0000005, reading address 0x08ed9e50
Registers: EAX=0x08ed9e50, EBX=0x028502ff, ECX=0x04daf708,
EDX=0x00000001 ESP=0x04daf624, EBP=0x04daf684, ESI=0x04daf710,
EDI=0x34780498 EIP=0x0218b335, EFLAGS=0x00010206
Top of Stack: (sp=0x04daf624) 0x04daf624: 05d31800 0218b877
00000002 05d31800 0x04daf634: 05c59ec8 05d31800 04daf7d4 05d31800
0x04daf644: 05c87b18 34780498 2ae9b7f8 04dafbc0 0x04daf654:
02859fa5 04dafbf4 04daf7d4 05d31800 0x04daf664: 02404148 023b3ed8
023b3f04 023b42cc 0x04daf674: 04dafc98 04daf7dc 0000000a 023b3ef8
0x04daf684: 04daf6c8 0221d551 04daf7d4 01daf6f0 0x04daf694:
04daf708 02881dc0 05c59ec8 05d31800
Instructions: (pc=0x0218b335) 0x0218b315: 85 c0 7e 29 56 8d 9b 00
00 00 00 8b 41 34 80 3c 0x0218b325: 02 00 74 10 8b 41 30 8d 34 90
8b 06 85 c0 74 02 0x0218b335: 8b 00 89 06 8b 41 38 42 3b d0 7c df
5e 8b 41 30 0x0218b345: c3 cc cc cc cc cc cc cc cc cc cc 55 8b ec
8b 45
Register to memory mapping:
EAX=0x08ed9e50 is an unknown value EBX=StubRoutines::call_stub
[0x028502ff, 0x028503b1[ (178 bytes)ECX=0x04daf708 is pointing into
the stack for thread: 0x05d31800 EDX=0x00000001 is an unknown value
ESP=0x04daf624 is pointing into the stack for thread: 0x05d31800
EBP=0x04daf684 is pointing into the stack for thread: 0x05d31800
ESI=0x04daf710 is pointing into the stack for thread: 0x05d31800
EDI=0x34780498 is an oop {method}
klass: {other class}
Stack: [0x04d60000,0x04db0000], sp=0x04daf624, free space=317k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
C=native code) V [jvm.dll+0xfb335] V [jvm.dll+0x18d551] V
[jvm.dll+0xfb90d] V [jvm.dll+0x96301] V [jvm.dll+0x97dbc] C
[Automation.JavaBridge-32.dll+0xc21b]
JNIEnv_::CallObjectMethod+0x1b C
[Automation.JavaBridge-32.dll+0x4cea]
AccessBridgeJavaEntryPoints::getAccessibleContextInfo+0x5a C
[Automation.JavaBridge-32.dll+0xd1d9]
JavaAccessBridge::processPackage+0x299 C
[Automation.JavaBridge-32.dll+0xe40f]
JavaAccessBridge::receiveMemoryPackage+0x5f C
[Automation.JavaBridge-32.dll+0xca12] AccessBridgeDialogProc+0xa2 C
[USER32.dll+0x8e71] CallNextHookEx+0xb1 C [USER32.dll+0x1f46c]
EnableMenuItem+0x3ac C [USER32.dll+0x1f2d7] EnableMenuItem+0x217 C
[USER32.dll+0x329f5] DrawTextExA+0xf5 C [USER32.dll+0x8e71]
CallNextHookEx+0xb1 C [USER32.dll+0x90d1] CallNextHookEx+0x311 C
[USER32.dll+0x932c] CallNextHookEx+0x56c C [USER32.dll+0x9529]
CallNextHookEx+0x769 C [ntdll.dll+0x40596]
KiUserCallbackDispatcher+0x36 C
[Automation.JavaBridge-32.dll+0xccdf]
JavaAccessBridge::javaRun+0x1af j
Automation.JavaAccessBridge.run()V+0 j java.lang.Thread.run()V+11 v
~StubRoutines::call_stub V [jvm.dll+0xfb88b] V [jvm.dll+0x18d551]
V [jvm.dll+0xfba31] V [jvm.dll+0xfba8b] V [jvm.dll+0xb5e89] V
[jvm.dll+0x119b74] V [jvm.dll+0x14217c] C [msvcr71.dll+0x9565]
endthreadex+0xa0 C [KERNEL32.DLL+0x17c04] BaseThreadInitThunk+0x24
C [ntdll.dll+0x5ab8f] RtlInitializeExceptionChain+0x8f C
[ntdll.dll+0x5ab5a] RtlInitializeExceptionChain+0x5a
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
=>0x05d31800 JavaThread "Thread-6" daemon [_thread_in_Java, id=16140, stack(0x04d60000,0x04db0000)] 0x05d33400 JavaThread
"EventQueueMonitor-ComponentEvtDispatch" daemon [_thread_blocked,
id=15116, stack(0x02550000,0x025a0000)] 0x00498800 JavaThread
"DestroyJavaVM" [_thread_blocked, id=18240,
stack(0x025e0000,0x02630000)] 0x05bb6800 JavaThread "TimerQueue"
daemon [_thread_blocked, id=14712, stack(0x05e50000,0x05ea0000)]
0x05ba0800 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=1228,
stack(0x05dc0000,0x05e10000)] 0x0241cc00 JavaThread "AWT-Windows"
daemon [_thread_in_native, id=1940, stack(0x056c0000,0x05710000)]
0x0241c400 JavaThread "AWT-Shutdown" [_thread_blocked, id=17868,
stack(0x05630000,0x05680000)] 0x0241bc00 JavaThread "Java2D
Disposer" daemon [_thread_blocked, id=15196,
stack(0x055a0000,0x055f0000)] 0x023ab800 JavaThread "Low Memory
Detector" daemon [_thread_blocked, id=11740,
stack(0x04f30000,0x04f80000)] 0x023aa400 JavaThread "C1
CompilerThread0" daemon [_thread_blocked, id=11376,
stack(0x04ea0000,0x04ef0000)] 0x023a9400 JavaThread "Attach
Listener" daemon [_thread_blocked, id=16920,
stack(0x04e10000,0x04e60000)] 0x023a7400 JavaThread "Signal
Dispatcher" daemon [_thread_blocked, id=5076,
stack(0x04ca0000,0x04cf0000)] 0x0239cc00 JavaThread "Finalizer"
daemon [_thread_blocked, id=10284, stack(0x04c10000,0x04c60000)]
0x0239b800 JavaThread "Reference Handler" daemon [_thread_blocked,
id=412, stack(0x04b00000,0x04b50000)]
Other Threads: 0x0235ec00 VMThread [stack: 0x04a70000,0x04ac0000]
[id=19372] 0x023c2400 WatcherThread [stack: 0x04fc0000,0x05010000]
[id=9724]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap def new generation total 14400K, used 7654K [0x24570000,
0x25500000, 0x29ac0000) eden space 12864K, 57% used [0x24570000,
0x24caf7b0, 0x25200000) from space 1536K, 15% used [0x25200000,
0x2523a140, 0x25380000) to space 1536K, 0% used [0x25380000,
0x25380000, 0x25500000) tenured generation total 31788K, used
20658K [0x29ac0000, 0x2b9cb000, 0x34570000) the space 31788K,
64% used [0x29ac0000, 0x2aeecaa0, 0x2aeecc00, 0x2b9cb000)
compacting perm gen total 12288K, used 2578K [0x34570000,
0x35170000, 0x38570000) the space 12288K, 20% used [0x34570000,
0x347f4a48, 0x347f4c00, 0x35170000)
ro space 10240K, 51% used [0x38570000, 0x38aa3000, 0x38aa3000, 0x38f70000)
rw space 12288K, 55% used [0x38f70000, 0x3960e4f8, 0x3960e600, 0x39b70000)
Code Cache [0x02850000, 0x02a18000, 0x04850000) total_blobs=1133
nmethods=918 adapters=150 free_code_cache=31719552
largest_free_block=320
Dynamic libraries: 0x00400000 - 0x00425000 C:\Program Files
(x86)\Java\jre6\bin\java.exe 0x77190000 - 0x772ff000
C:\Windows\SYSTEM32\ntdll.dll 0x766c0000 - 0x76800000
C:\Windows\SYSTEM32\KERNEL32.DLL 0x74f90000 - 0x75067000
C:\Windows\SYSTEM32\KERNELBASE.dll 0x577a0000 - 0x57840000
C:\Windows\system32\apphelp.dll 0x780c0000 - 0x78325000
C:\Windows\AppPatch\AcGenral.DLL 0x75330000 - 0x753f3000
C:\Windows\SYSTEM32\msvcrt.dll 0x76e30000 - 0x76e71000
C:\Windows\SYSTEM32\sechost.dll 0x74980000 - 0x7499e000
C:\Windows\SYSTEM32\SspiCli.dll 0x76e80000 - 0x76ec5000
C:\Windows\SYSTEM32\SHLWAPI.dll 0x6ee30000 - 0x6ef1d000
C:\Windows\SYSTEM32\UxTheme.dll 0x76f60000 - 0x770b3000
C:\Windows\SYSTEM32\USER32.dll 0x75070000 - 0x7517f000
C:\Windows\SYSTEM32\GDI32.dll 0x6ef80000 - 0x6efa3000
C:\Windows\SYSTEM32\WINMM.dll 0x669e0000 - 0x669f3000
C:\Windows\SYSTEM32\samcli.dll 0x768a0000 - 0x769c9000
C:\Windows\SYSTEM32\ole32.dll 0x75180000 - 0x75217000
C:\Windows\SYSTEM32\OLEAUT32.dll 0x62830000 - 0x62847000
C:\Windows\SYSTEM32\MSACM32.dll 0x74790000 - 0x74798000
C:\Windows\SYSTEM32\VERSION.dll 0x75400000 - 0x766bb000
C:\Windows\SYSTEM32\SHELL32.dll 0x6e710000 - 0x6e72b000
C:\Windows\SYSTEM32\USERENV.dll 0x6ee10000 - 0x6ee2a000
C:\Windows\SYSTEM32\dwmapi.dll 0x6e5c0000 - 0x6e70b000
C:\Windows\SYSTEM32\urlmon.dll 0x75220000 - 0x7529c000
C:\Windows\SYSTEM32\ADVAPI32.dll 0x6f200000 - 0x6f265000
C:\Windows\SYSTEM32\WINSPOOL.DRV 0x6b7b0000 - 0x6b7c6000
C:\Windows\SYSTEM32\MPR.dll 0x769d0000 - 0x76a8a000
C:\Windows\SYSTEM32\RPCRT4.dll 0x74970000 - 0x7497a000
C:\Windows\SYSTEM32\CRYPTBASE.dll 0x76a90000 - 0x76c0d000
C:\Windows\SYSTEM32\combase.dll 0x6ef50000 - 0x6ef73000
C:\Windows\SYSTEM32\WINMMBASE.dll 0x70440000 - 0x7044f000
C:\Windows\SYSTEM32\profapi.dll 0x6e2c0000 - 0x6e4f4000
C:\Windows\SYSTEM32\iertutil.dll 0x6e740000 - 0x6e99c000
C:\Windows\SYSTEM32\WININET.dll 0x74910000 - 0x74964000
C:\Windows\SYSTEM32\bcryptPrimitives.dll 0x752f0000 - 0x7532c000
C:\Windows\SYSTEM32\cfgmgr32.dll 0x6ef20000 - 0x6ef41000
C:\Windows\SYSTEM32\DEVOBJ.dll 0x70c90000 - 0x70d1b000
C:\Windows\SYSTEM32\SHCORE.DLL 0x752a0000 - 0x752c7000
C:\Windows\system32\IMM32.DLL 0x74c50000 - 0x74d62000
C:\Windows\SYSTEM32\MSCTF.dll 0x74830000 - 0x748aa000
C:\Windows\SYSTEM32\SYSFER.DLL 0x6d340000 - 0x6d5ce000
C:\ProgramData\Symantec\Symantec Endpoint
Protection\14.0.1904.0000.105\Data\Definitions\IPSDefs\20170316.021\IPSEng32.dll 0x004d0000 - 0x00526000 C:\Program Files
(x86)\Java\jre6\bin\msvcr71.dll 0x02090000 - 0x02340000 C:\Program
Files (x86)\Java\jre6\bin\client\jvm.dll 0x00530000 - 0x00553000
C:\Program Files (x86)\Java\jre6\bin\splashscreen.dll 0x024e0000 -
0x024ec000 C:\Program Files (x86)\Java\jre6\bin\verify.dll
0x02740000 - 0x0275f000 C:\Program Files
(x86)\Java\jre6\bin\java.dll 0x02840000 - 0x0284f000 C:\Program
Files (x86)\Java\jre6\bin\zip.dll 0x747a0000 - 0x747a9000
C:\Windows\SYSTEM32\kernel.appcore.dll 0x05010000 - 0x0515c000
C:\Program Files (x86)\Java\jre6\bin\awt.dll 0x66b40000 -
0x66d46000
C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.9600.17415_none_a9ed7f470139b3c1\COMCTL32.dll
0x05b20000 - 0x05b76000 C:\Program Files
(x86)\Java\jre6\bin\fontmanager.dll 0x05f30000 - 0x05f43000
C:\Program Files (x86)\Java\jre6\bin\net.dll 0x74d80000 -
0x74dcf000 C:\Windows\SYSTEM32\WS2_32.dll 0x74de0000 - 0x74de7000
C:\Windows\SYSTEM32\NSI.dll 0x6f380000 - 0x6f3cb000
C:\Windows\system32\mswsock.dll 0x04d10000 - 0x04d19000 C:\Program
Files (x86)\Java\jre6\bin\nio.dll 0x70300000 - 0x70319000
C:\Windows\SYSTEM32\CRYPTSP.dll 0x702d0000 - 0x70300000
C:\Windows\system32\rsaenh.dll 0x70c70000 - 0x70c8e000
C:\Windows\SYSTEM32\bcrypt.dll 0x76ed0000 - 0x76f5d000
C:\Windows\SYSTEM32\clbcatq.dll 0x02450000 - 0x02475000 C:\Program
Files (x86)\Java\jre6\bin\jpeg.dll 0x02480000 - 0x0249a000
C:\Program Files (x86)\Java\jre6\bin\instrument.dll 0x024b0000 -
0x024b9000 C:\Program Files (x86)\Java\jre6\bin\management.dll
0x0f330000 - 0x0f3a2000 C:\Program Files (x86)\Automation Anywhere
Enterprise 10.3\Client\Java\Automation.JavaBridge-32.dll 0x02500000
0x02506000 C:\Program Files (x86)\Java\jre6\bin\jawt.dll 0x05740000 - 0x05763000 C:\Program Files
(x86)\Java\jre6\bin\dcpr.dll 0x74dd0000 - 0x74dd6000
C:\Windows\system32\PSAPI.DLL
VM Arguments: java_command: D:\E
Drive\SAS\SwingSet2\SwingSet2\SwingSet2.jar Launcher Type:
SUN_STANDARD
Environment Variables: PATH=C:\Program Files (x86)\Intel\iCLS
Client\;C:\Program Files\Intel\iCLS
Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
Files\Intel\WiFi\bin\;C:\Program Files\Common
Files\Intel\WirelessCommon\;C:\Program Files (x86)\Intel\Intel(R)
Management Engine Components\DAL;C:\Program Files\Intel\Intel(R)
Management Engine Components\DAL;C:\Program Files
(x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program
Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program
Files (x86)\Skype\Phone\;USERPROFILE.dnx\bin;C:\Program
Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL
Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL
Server\130\Tools\Binn\;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\Program
Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program
Files\Microsoft SQL Server\Client
SDK\ODBC\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL
Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL
Server\120\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL
Server\120\Tools\Binn\ManagementStudio\;C:\Program Files
(x86)\Microsoft SQL Server\120\DTS\Binn\ USERNAME=Mahen
OS=Windows_NT PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 61
Stepping 4, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows 8 , 64 bit Build 9200
CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 61
stepping 4, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1,
sse4.2, popcnt, ht
Memory: 4k page, physical 16478568k(8574852k free), swap
18968936k(8387300k free)
vm_info: Java HotSpot(TM) Client VM (20.45-b01) for windows-x86 JRE
(1.6.0_45-b06), built on Mar 26 2013 13:40:03 by "java_re" with MS
VC++ 7.1 (VS2003)
time: Fri Mar 17 19:18:57 2017 elapsed time: 261 seconds
There appears to be a bug in AccessBridgeDialogProc that affects 64-bit versions that persists through Java 8 but seems to be fixed in Java 9.
I'm trying to convert doc(docx) files into htmls with newest jacob, jdk1.6, my laptop is windows 7 X64 professional with office 2007 installed.
Here's my Java codes:
public static void main(String[] args) {
// TODO Auto-generated method stub
// #Autowired
String docfile = "d:\\CSMIS阿里云资源.docx";
String htmlfile = "d:\\a.html";
ActiveXComponent app = new ActiveXComponent("Word.Application");
System.out.println("*******converting...*****");
try {
app.setProperty("Visible", new Variant(false));
Dispatch docs = app.getProperty("Documents").toDispatch();
Dispatch doc = Dispatch.invoke(docs, "Open", Dispatch.Method,
new Object[]{docfile,new Variant(false),new Variant(true)},
new int[1]).toDispatch();
Dispatch.invoke(doc, "SaveAs", Dispatch.Method,
new Object[]{htmlfile,new Variant(8)}, new int[1]);
Dispatch.call(doc, "Close", new Variant(false));
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
} finally {
app.invoke("Quit", new Variant[]{});
}
System.out.println("*********convert ended****");
}
errors is below:
An unexpected error has been detected by Java Runtime Environment:
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x77c5df85, pid=7616, tid=6200
Java VM: Java HotSpot(TM) Client VM (11.3-b02 mixed mode windows-x86)
Problematic frame:
C [ntdll.dll+0x2df85]
If you would like to submit a bug report, please visit:
http://java.sun.com/webapps/bugreport/crash.jsp
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.
--------------- T H R E A D ---------------
Current thread (0x0270f000): JavaThread "main" [_thread_in_native, id=6200, stack(0x02460000,0x024b0000)]
siginfo: ExceptionCode=0xc0000005, writing address 0x0cc30000
Registers:
EAX=0x00000000, EBX=0x024af1b4, ECX=0x00000001, EDX=0x00000000
ESP=0x024af038, EBP=0x024af06c, ESI=0x765cb20c, EDI=0x0cc30000
EIP=0x77c5df85, EFLAGS=0x00010202
Top of Stack: (sp=0x024af038)
0x024af038: 024af0b4 7577521a 0cc30000 00000000
0x024af048: 00000004 00000001 765c6840 00683c14
0x024af058: 00000000 765c6892 00000000 00000007
0x024af068: 476cf088 024af484 757f00d4 024af1b0
0x024af078: 6825a95f 00000000 024af7a8 00000000
0x024af088: 00000000 76927190 0065d870 76836e8c
0x024af098: 00000006 024af0b0 00000000 769271a8
0x024af0a8: 76927190 0278fdb9 00000000 024af088
Instructions: (pc=0x77c5df85)
0x77c5df75: c8 c1 e0 10 03 c1 8b ca 83 e2 03 c1 e9 02 74 06
0x77c5df85: f3 ab 85 d2 74 0a 88 07 83 c7 01 83 ea 01 75 f6
Stack: [0x02460000,0x024b0000], sp=0x024af038, free space=316k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [ntdll.dll+0x2df85]
C [RPCRT4.dll+0xb00d4]
C [OLEAUT32.dll+0x342c7]
C [OLEAUT32.dll+0x34294]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.jacob.com.Dispatch.invokev(Ljava/lang/Object;Ljava/lang/String;III[Lcom/jacob/com/Variant;[I)Lcom/jacob/com/Variant;+0
j com.jacob.activeX.ActiveXComponent.getProperty(Ljava/lang/String;)Lcom/jacob/com/Variant;+39
j com.casco.test.Test.main([Ljava/lang/String;)V+41
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x0c9f1c00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=5744, stack(0x0d1f0000,0x0d240000)]
0x0c9ef800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=8212, stack(0x0d160000,0x0d1b0000)]
0x0c9e2400 JavaThread "JDWP Command Reader" daemon [_thread_in_native, id=6492, stack(0x0d0d0000,0x0d120000)]
0x0c9e2000 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=7140, stack(0x0cfd0000,0x0d020000)]
0x0260fc00 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_blocked, id=8880, stack(0x0cf40000,0x0cf90000)]
0x02602800 JavaThread "Attach Listener" daemon [_thread_blocked, id=8532, stack(0x0c990000,0x0c9e0000)]
0x025f7c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=8084, stack(0x0c900000,0x0c950000)]
0x025bb400 JavaThread "Finalizer" daemon [_thread_blocked, id=3372, stack(0x0c870000,0x0c8c0000)]
0x025ba000 JavaThread "Reference Handler" daemon [_thread_blocked, id=7424, stack(0x0c7e0000,0x0c830000)]
=>0x0270f000 JavaThread "main" [_thread_in_native, id=6200, stack(0x02460000,0x024b0000)]
Other Threads:
0x025b6c00 VMThread [stack: 0x0c750000,0x0c7a0000] [id=4720]
0x0c9f2c00 WatcherThread [stack: 0x0d280000,0x0d2d0000] [id=9096]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 960K, used 351K [0x04710000, 0x04810000, 0x04bf0000)
eden space 896K, 32% used [0x04710000, 0x04757dd0, 0x047f0000)
from space 64K, 100% used [0x047f0000, 0x04800000, 0x04800000)
to space 64K, 0% used [0x04800000, 0x04800000, 0x04810000)
tenured generation total 4096K, used 652K [0x04bf0000, 0x04ff0000, 0x08710000)
the space 4096K, 15% used [0x04bf0000, 0x04c931a0, 0x04c93200, 0x04ff0000)
compacting perm gen total 12288K, used 3551K [0x08710000, 0x09310000, 0x0c710000)
the space 12288K, 28% used [0x08710000, 0x08a87d20, 0x08a87e00, 0x09310000)
No shared spaces configured.
Dynamic libraries:
0x00400000 - 0x00424000 D:\Java\Myeclipse\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin\javaw.exe
0x77c30000 - 0x77db0000 C:\windows\SysWOW64\ntdll.dll
0x76c30000 - 0x76d40000 C:\windows\syswow64\kernel32.dll
0x77150000 - 0x77197000 C:\windows\syswow64\KERNELBASE.dll
0x770b0000 - 0x77150000 C:\windows\syswow64\ADVAPI32.dll
0x76f00000 - 0x76fac000 C:\windows\syswow64\msvcrt.dll
0x75620000 - 0x75639000 C:\windows\SysWOW64\sechost.dll
0x75740000 - 0x75830000 C:\windows\syswow64\RPCRT4.dll
0x755c0000 - 0x75620000 C:\windows\syswow64\SspiCli.dll
0x755b0000 - 0x755bc000 C:\windows\syswow64\CRYPTBASE.dll
0x76650000 - 0x76750000 C:\windows\syswow64\USER32.dll
0x772b0000 - 0x77340000 C:\windows\syswow64\GDI32.dll
0x772a0000 - 0x772aa000 C:\windows\syswow64\LPK.dll
0x77010000 - 0x770ad000 C:\windows\syswow64\USP10.dll
0x76b30000 - 0x76b90000 C:\windows\system32\IMM32.DLL
0x75640000 - 0x7570c000 C:\windows\syswow64\MSCTF.dll
0x73f00000 - 0x73f2c000 C:\Windows\SysWOW64\nvinit.dll
0x0f000000 - 0x0f006000 C:\Program Files (x86)\NVIDIA Corporation\CoProcManager\detoured.dll
0x6bd20000 - 0x6bd4b000 C:\Program Files (x86)\NVIDIA Corporation\CoProcManager\nvd3d9wrap.dll
0x76d40000 - 0x76edd000 C:\windows\syswow64\SETUPAPI.dll
0x77800000 - 0x77827000 C:\windows\syswow64\CFGMGR32.dll
0x765c0000 - 0x7664f000 C:\windows\syswow64\OLEAUT32.dll
0x767e0000 - 0x7693c000 C:\windows\syswow64\ole32.dll
0x76ff0000 - 0x77002000 C:\windows\syswow64\DEVOBJ.dll
0x6db80000 - 0x6db9f000 C:\Program Files (x86)\NVIDIA Corporation\CoProcManager\nvdxgiwrap.dll
0x73ec0000 - 0x73eff000 C:\PROGRA~2\Citrix\ICACLI~1\RSHook.dll
0x73e70000 - 0x73eb1000 C:\Program Files (x86)\Citrix\ICA Client\ShellHook.dll
0x773b0000 - 0x77407000 C:\windows\syswow64\SHLWAPI.dll
0x75970000 - 0x765bb000 C:\windows\syswow64\SHELL32.dll
0x68000000 - 0x68038000 C:\windows\system32\QIPCAP.DLL
0x7c340000 - 0x7c396000 D:\Java\Myeclipse\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\msvcr71.dll
0x6d8b0000 - 0x6db06000 D:\Java\Myeclipse\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\client\jvm.dll
0x714f0000 - 0x71522000 C:\windows\system32\WINMM.dll
0x71bb0000 - 0x71bfc000 C:\windows\system32\apphelp.dll
0x6d340000 - 0x6d348000 D:\Java\Myeclipse\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\hpi.dll
0x77560000 - 0x77565000 C:\windows\syswow64\PSAPI.DLL
0x6d430000 - 0x6d459000 D:\Java\Myeclipse\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\jdwp.dll
0x6d750000 - 0x6d756000 D:\Java\Myeclipse\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\npt.dll
0x6d860000 - 0x6d86c000 D:\Java\Myeclipse\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\verify.dll
0x6d3e0000 - 0x6d3ff000 D:\Java\Myeclipse\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\java.dll
0x6d8a0000 - 0x6d8af000 D:\Java\Myeclipse\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\zip.dll
0x6d2b0000 - 0x6d2b7000 D:\Java\Myeclipse\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\dt_socket.dll
0x77570000 - 0x775a5000 C:\windows\syswow64\WS2_32.dll
0x76ef0000 - 0x76ef6000 C:\windows\syswow64\NSI.dll
0x70350000 - 0x70360000 C:\windows\system32\NLAapi.dll
0x6aa80000 - 0x6aa90000 C:\windows\system32\napinsp.dll
0x6aa60000 - 0x6aa72000 C:\windows\system32\pnrpnsp.dll
0x73010000 - 0x7304c000 C:\windows\System32\mswsock.dll
0x71130000 - 0x71174000 C:\windows\system32\DNSAPI.dll
0x6aa50000 - 0x6aa58000 C:\windows\System32\winrnr.dll
0x6e8a0000 - 0x6e8ad000 C:\windows\system32\wshbth.dll
0x73af0000 - 0x73b0c000 C:\windows\system32\IPHLPAPI.DLL
0x73ae0000 - 0x73ae7000 C:\windows\system32\WINNSI.DLL
0x707c0000 - 0x707f8000 C:\windows\System32\fwpuclnt.dll
0x71120000 - 0x71126000 C:\windows\system32\rasadhlp.dll
0x727b0000 - 0x727b5000 C:\windows\System32\wshtcpip.dll
0x10000000 - 0x10018000 D:\Java\jdk1.6.0_07\bin\jacob.dll
0x76ba0000 - 0x76c23000 C:\windows\syswow64\CLBCatQ.DLL
0x73cf0000 - 0x73d07000 C:\windows\system32\CRYPTSP.dll
0x73cb0000 - 0x73ceb000 C:\windows\system32\rsaenh.dll
0x73d10000 - 0x73d1e000 C:\windows\system32\RpcRtRemote.dll
VM Arguments:
jvm_args: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:8239 -Dfile.encoding=UTF-8 -Xbootclasspath/p:D:\Java\Myeclipse\Common\plugins\com.genuitec.eclipse.j2eedt.core_8.5.0.me201003231033\data\libraryset\EE_5\javaee.jar;D:\Java\Myeclipse\Common\plugins\com.genuitec.eclipse.j2eedt.core_8.5.0.me201003231033\data\libraryset\EE_5\jsf-impl.jar;D:\Java\Myeclipse\Common\plugins\com.genuitec.eclipse.j2eedt.core_8.5.0.me201003231033\data\libraryset\EE_5\jsf-api.jar;D:\Java\Myeclipse\Common\plugins\com.genuitec.eclipse.j2eedt.core_8.5.0.me201003231033\data\libraryset\EE_5\jstl-1.2.jar
java_command: com.casco.test.Test
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=D:\Java\jdk1.6.0_07
PATH=D:\Java\Myeclipse\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin;D:/Java/Myeclipse/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client;D:/Java/Myeclipse/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin;D:\csoft\app\60874\product\11.2.0\dbhome_1\bin;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Lenovo\Fingerprint Manager Pro\;C:\Program Files\Condusiv Technologies\ExpressCache\;C:\Program Files (x86)\Common Files\Lenovo;C:\SWTOOLS\ReadyApps;D:\csoft\TortoiseSVN\bin;D:\Java\jdk1.6.0_07\bin;c:\Program Files (x86)\Common Files\Ulead Systems\MPEG;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\
USERNAME=60874
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 69 Stepping 1, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows NT 6.1 Build 7601 Service Pack 1
CPU:total 4 (8 cores per cpu, 2 threads per core) family 6 model 5 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, ht
Memory: 4k page, physical 4194303k(2356048k free), swap 4194303k(4194303k free)
vm_info: Java HotSpot(TM) Client VM (11.3-b02) for windows-x86 JRE (1.6.0_13-b03), built on Mar 9 2009 01:15:24 by "java_re" with MS VC++ 7.1
time: Tue Jun 09 10:31:41 2015
elapsed time: 1 seconds
If you want to convert doc/docx files to HTML, you could try using the following:
public static void wordToHtml(String docfile, String htmlfile)
{
// word
ActiveXComponent app = new ActiveXComponent("Word.Application");
try
{ //word
app.setProperty("Visible", new Variant(false));
Dispatch docs = app.getProperty("Documents").toDispatch();
//word
Dispatch doc = Dispatch.invoke(
docs,
"Open",
Dispatch.Method,
new Object[] { docfile, new Variant(false),
new Variant(true) }, new int[1]).toDispatch();
//html
Dispatch.invoke(doc, "SaveAs", Dispatch.Method, new Object[] {
htmlfile, new Variant(8) }, new int[1]);
Variant f = new Variant(false);
Dispatch.call(doc, "Close", f);
}
catch (Exception e)
{
e.printStackTrace();
}
finally
{
app.invoke("Quit", new Variant[] {});
}
}
Have been using it for some time and never had any problem.
Source: http://html.programdevelop.com/628031/
I am trying to start Tomcat from within eclipse using the Mongrel plugin.
Mongrel plugin adds start/stop/restart buttons on the eclipse main window. When I click on the start button I get this error.
I have multiple jdks / jres on the machine. Is this causing the error ?
I think I have configured my environment variables correctly.
JAVA_HOME, PATH etc.
Error I am getting on the eclipse console window:
Jan 6, 2015 1:44:42 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Sun\SDK\jdk\jre\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Sun\SDK\jdk\jre\bin;C:/Sun/SDK/jdk/bin/../jre/bin/client;C:/Sun/SDK/jdk/bin/../jre/bin;C:\Sun\SDK\jdk\bin;C:\Program Files (x86)\Java\jdk1.6.0_25\jre\bin\client
=============== DEBUG MESSAGE: illegal bytecode sequence - method not verified ================
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_PRIV_INSTRUCTION (0xc0000096) at pc=0x026326e1, pid=9276, tid=6124
#
# JRE version: 6.0_21-b07
# Java VM: Java HotSpot(TM) Client VM (17.0-b17 mixed mode windows-x86 )
# Problematic frame:
# j javax.servlet.jsp.JspFactory.<clinit>()V+-308868101
#
# An error report file with more information is saved as:
# C:\WebDev\tomcat\hs_err_pid9276.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
The contents of the error report file are as shown below:
--------------- T H R E A D ---------------
Current thread (0x0018e000): JavaThread "main" [_thread_in_Java, id=6124, stack(0x001f0000,0x00240000)]
siginfo: ExceptionCode=0xc0000096
Registers:
EAX=0x00000000, EBX=0x00000072, ECX=0x00000008, EDX=0x002d0000
ESP=0x0023edcc, EBP=0x0023ee08, ESI=0x14cc284b, EDI=0x0023ee0c
EIP=0x026326e1, EFLAGS=0x00010216
Top of Stack: (sp=0x0023edcc)
0x0023edcc: 0023ee0c 14cc284b 0023ee08 0023edec
0x0023eddc: 00000072 7ff00000 00000008 00000000
0x0023edec: 026326db 6daf2834 14cc3de0 00000000
0x0023edfc: 14cc1ae0 00000000 0023ee10 0023ee2c
0x0023ee0c: 026302cb 0023ee60 0023ee3c 6d9a3364
0x0023ee1c: 00001fa0 02630266 0018e000 14cc1ae0
0x0023ee2c: 0023eea4 6d9a3abc 0023ee60 0023efb8
0x0023ee3c: 0000000a 14cc1ae0 0263d270 0023ef28
Instructions: (pc=0x026326e1)
0x026326d1: 68 34 28 af 6d e8 00 00 00 00 60 e8 cf 3a 29 6b
0x026326e1: f4 66 90 00 00 00 00 00 00 00 00 00 00 00 00 c0
Stack: [0x001f0000,0x00240000], sp=0x0023edcc, free space=13b0023e774k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
j javax.servlet.jsp.JspFactory.<clinit>()V+-308868101
v ~StubRoutines::call_stub
V [jvm.dll+0xf3abc]
V [jvm.dll+0x1865b1]
V [jvm.dll+0xf3b3d]
V [jvm.dll+0xe331c]
V [jvm.dll+0xe37cb]
V [jvm.dll+0xe3aac]
V [jvm.dll+0xe3bf2]
V [jvm.dll+0xe39fa]
V [jvm.dll+0xe3bf2]
V [jvm.dll+0xeedd3]
j org.apache.jasper.compiler.JspRuntimeContext.<clinit>()V+0
v ~StubRoutines::call_stub
V [jvm.dll+0xf3abc]
V [jvm.dll+0x1865b1]
V [jvm.dll+0xf3b3d]
V [jvm.dll+0xe331c]
V [jvm.dll+0xe37cb]
V [jvm.dll+0xe3aac]
V [jvm.dll+0xe3bf2]
V [jvm.dll+0x11acb2]
V [jvm.dll+0x123019]
C [java.dll+0x13bc]
j java.lang.Class.forName0(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;+0
j java.lang.Class.forName(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;+32
j org.apache.catalina.core.JasperListener.lifecycleEvent(Lorg/apache/catalina/LifecycleEvent;)V+22
j org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Ljava/lang/String;Ljava/lang/Object;)V+178
j org.apache.catalina.core.StandardServer.initialize()V+31
j org.apache.catalina.startup.Catalina.load()V+333
j org.apache.catalina.startup.Catalina.load([Ljava/lang/String;)V+9
v ~StubRoutines::call_stub
V [jvm.dll+0xf3abc]
V [jvm.dll+0x1865b1]
V [jvm.dll+0xf3b3d]
V [jvm.dll+0x1a0ebb]
V [jvm.dll+0x1a18d6]
V [jvm.dll+0x11f423]
C [java.dll+0x7127]
j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+161
j org.apache.catalina.startup.Bootstrap.load([Ljava/lang/String;)V+104
j org.apache.catalina.startup.Bootstrap.main([Ljava/lang/String;)V+125
v ~StubRoutines::call_stub
V [jvm.dll+0xf3abc]
V [jvm.dll+0x1865b1]
V [jvm.dll+0xf3b3d]
V [jvm.dll+0xfd385]
V [jvm.dll+0x104fdd]
C [javaw.exe+0x2155]
C [javaw.exe+0x8614]
C [kernel32.dll+0x1338a]
C [ntdll.dll+0x3bf32]
C [ntdll.dll+0x3bf05]
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x01e77000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=11008, stack(0x18ef0000,0x18f40000)]
0x01e73c00 JavaThread "CompilerThread0" daemon [_thread_blocked, id=10620, stack(0x18e60000,0x18eb0000)]
0x01e60400 JavaThread "JDWP Command Reader" daemon [_thread_in_native, id=11512, stack(0x18dd0000,0x18e20000)]
0x01e5ec00 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=11088, stack(0x18d40000,0x18d90000)]
0x01e5a000 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_blocked, id=12748, stack(0x18aa0000,0x18af0000)]
0x01e4e000 JavaThread "Attach Listener" daemon [_thread_blocked, id=13936, stack(0x188d0000,0x18920000)]
0x01e4b400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=13672, stack(0x18840000,0x18890000)]
0x01e20000 JavaThread "Finalizer" daemon [_thread_blocked, id=3636, stack(0x187b0000,0x18800000)]
0x01e1b400 JavaThread "Reference Handler" daemon [_thread_blocked, id=12956, stack(0x18720000,0x18770000)]
=>0x0018e000 JavaThread "main" [_thread_in_Java, id=6124, stack(0x001f0000,0x00240000)]
Other Threads:
0x01e19000 VMThread [stack: 0x18690000,0x186e0000] [id=10372]
0x18f48800 WatcherThread [stack: 0x19180000,0x191d0000] [id=2520]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 4928K, used 4066K [0x04630000, 0x04b80000, 0x09b80000)
eden space 4416K, 83% used [0x04630000, 0x049c84a0, 0x04a80000)
from space 512K, 75% used [0x04a80000, 0x04ae06e8, 0x04b00000)
to space 512K, 0% used [0x04b00000, 0x04b00000, 0x04b80000)
tenured generation total 10944K, used 1704K [0x09b80000, 0x0a630000, 0x14630000)
the space 10944K, 15% used [0x09b80000, 0x09d2a380, 0x09d2a400, 0x0a630000)
compacting perm gen total 12288K, used 6772K [0x14630000, 0x15230000, 0x18630000)
the space 12288K, 55% used [0x14630000, 0x14ccd198, 0x14ccd200, 0x15230000)
No shared spaces configured.
Dynamic libraries:
0x00400000 - 0x00424000 C:\Sun\SDK\jdk\jre\bin\javaw.exe
0x773a0000 - 0x77520000 C:\Windows\SysWOW64\ntdll.dll
0x76550000 - 0x76660000 C:\Windows\syswow64\kernel32.dll
0x75f60000 - 0x75fa7000 C:\Windows\syswow64\KERNELBASE.dll
0x768c0000 - 0x76960000 C:\Windows\syswow64\ADVAPI32.dll
0x74f80000 - 0x7502c000 C:\Windows\syswow64\msvcrt.dll
0x75fb0000 - 0x75fc9000 C:\Windows\SysWOW64\sechost.dll
0x74cd0000 - 0x74dc0000 C:\Windows\syswow64\RPCRT4.dll
0x74a60000 - 0x74ac0000 C:\Windows\syswow64\SspiCli.dll
0x74a50000 - 0x74a5c000 C:\Windows\syswow64\CRYPTBASE.dll
0x761b0000 - 0x762b0000 C:\Windows\syswow64\USER32.dll
0x75d20000 - 0x75db0000 C:\Windows\syswow64\GDI32.dll
0x77370000 - 0x7737a000 C:\Windows\syswow64\LPK.dll
0x74ba0000 - 0x74c3d000 C:\Windows\syswow64\USP10.dll
0x74b40000 - 0x74ba0000 C:\Windows\system32\IMM32.DLL
0x762b0000 - 0x7637c000 C:\Windows\syswow64\MSCTF.dll
0x7c340000 - 0x7c396000 C:\Sun\SDK\jdk\jre\bin\msvcr71.dll
0x6d8b0000 - 0x6db57000 C:\Sun\SDK\jdk\jre\bin\client\jvm.dll
0x73ad0000 - 0x73b02000 C:\Windows\system32\WINMM.dll
0x73b10000 - 0x73b5c000 C:\Windows\system32\apphelp.dll
0x6d860000 - 0x6d86c000 C:\Sun\SDK\jdk\jre\bin\verify.dll
0x6d3e0000 - 0x6d3ff000 C:\Sun\SDK\jdk\jre\bin\java.dll
0x6d340000 - 0x6d348000 C:\Sun\SDK\jdk\jre\bin\hpi.dll
0x75d10000 - 0x75d15000 C:\Windows\syswow64\PSAPI.DLL
0x6d430000 - 0x6d459000 C:\Sun\SDK\jdk\jre\bin\jdwp.dll
0x6d750000 - 0x6d756000 C:\Sun\SDK\jdk\jre\bin\npt.dll
0x6d8a0000 - 0x6d8af000 C:\Sun\SDK\jdk\jre\bin\zip.dll
0x6d2b0000 - 0x6d2b7000 C:\Sun\SDK\jdk\jre\bin\dt_socket.dll
0x75fd0000 - 0x76005000 C:\Windows\syswow64\WS2_32.dll
0x761a0000 - 0x761a6000 C:\Windows\syswow64\NSI.dll
0x72b60000 - 0x72b70000 C:\Windows\system32\NLAapi.dll
0x72b50000 - 0x72b60000 C:\Windows\system32\napinsp.dll
0x72b30000 - 0x72b42000 C:\Windows\system32\pnrpnsp.dll
0x74140000 - 0x7417c000 C:\Windows\System32\mswsock.dll
0x73570000 - 0x735b4000 C:\Windows\system32\DNSAPI.dll
0x72b20000 - 0x72b28000 C:\Windows\System32\winrnr.dll
0x72b10000 - 0x72b1d000 C:\Windows\system32\wshbth.dll
0x73f80000 - 0x73f9c000 C:\Windows\system32\IPHLPAPI.DLL
0x73f70000 - 0x73f77000 C:\Windows\system32\WINNSI.DLL
0x73c20000 - 0x73c58000 C:\Windows\System32\fwpuclnt.dll
0x72db0000 - 0x72db6000 C:\Windows\system32\rasadhlp.dll
0x74130000 - 0x74135000 C:\Windows\System32\wshtcpip.dll
0x6d610000 - 0x6d619000 C:\Sun\SDK\jdk\jre\bin\management.dll
VM Arguments:
jvm_args: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:59526 -Dcatalina.home=C:\WebDev\tomcat -Djava.endorsed.dirs=C:\WebDev\tomcat\endorsed -Dcatalina.base=C:\WebDev\tomcat -Djava.io.tmpdir=C:\WebDev\tomcat\temp -DECommJVMProperties=C:\WebDev\deployments\FANWebEAR\FANWebWebApp\WEB-INF\appConfig\JVMProps.props -Dfile.encoding=Cp1252 -Xbootclasspath:C:\Sun\SDK\jdk\jre\lib\rt.jar;C:\Sun\SDK\jdk\jre\lib\jsse.jar;C:\Sun\SDK\jdk\jre\lib\jce.jar;C:\Sun\SDK\jdk\jre\lib\charsets.jar;C:\Sun\SDK\lib\javaee.jar
java_command: org.apache.catalina.startup.Bootstrap -config C:\WebDev\tomcat\servers\FAN\conf\server.xml start
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=C:\Sun\SDK\jdk
CLASSPATH=.;C:\Sun\SDK\jdk\lib;C:\PROGRA~1\EIT\SQLLIB\java\db2java.zip;C:\PROGRA~1\EIT\SQLLIB\java\db2jcc.jar;C:\PROGRA~1\EIT\SQLLIB\java\sqlj.zip;C:\PROGRA~1\EIT\SQLLIB\java\db2jcc_license_cu.jar;C:\PROGRA~1\EIT\SQLLIB\bin;C:\PROGRA~1\EIT\SQLLIB\java\common.jar;C:\Program Files (x86)\MySQL\Connector J 5.1.29\mysql-connector-java-5.1.29-bin.jar
PATH=C:\Sun\SDK\jdk\jre\bin;C:/Sun/SDK/jdk/bin/../jre/bin/client;C:/Sun/SDK/jdk/bin/../jre/bin;C:\Sun\SDK\jdk\bin;C:\Program Files (x86)\Java\jdk1.6.0_25\jre\bin\client
USERNAME=dt202173
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows 7 Build 7601 Service Pack 1
CPU:total 4 (8 cores per cpu, 2 threads per core) family 6 model 58 stepping 9, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht
Memory: 4k page, physical 8248860k(2392088k free), swap 16495864k(9130856k free)
vm_info: Java HotSpot(TM) Client VM (17.0-b17) for windows-x86 JRE (1.6.0_21-b07), built on Jul 17 2010 01:10:15 by "java_re" with MS VC++ 7.1 (VS2003)
time: Tue Jan 06 13:44:42 2015
elapsed time: 0 seconds
Got this resolved. Putting the answer out here and hope this might help someone.
Basically I had multiple JRE's on my machine and due to a misconfiguration on my side, Tomcat was trying to use files from 2 different JRE's.
To fix it, I went into eclipse Preferences -> Mongrel -> JVM settings. Under the Boot classpath, I put the rt.jar from the jre which tomcat was using to launch.
I wanted to insert multiple records in MS Access file from java Servlet. The batchupdate runs perfectly for first 10 records but the next batch update gives the following error:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6966ef76, pid=5688, tid=5368
#
# JRE version: 6.0_33-b03
# Java VM: Java HotSpot(TM) Client VM (20.8-b03 mixed mode windows-x86 )
# Problematic frame:
# C [odbcjt32.dll+0x1ef76]
#
# An error report file with more information is saved as:
# D:\SOFT\Eclipse IDE for Java EE\hs_err_pid5688.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Here is my sample code I am using:
statement = dbConnection.prepareStatement(insertQuery);
for(int i = 0; i < DataCache.seriesTable.getRows().size(); i++) {
ArrayList<String> row = DataCache.seriesTable.getRow(i);
for(int j = 0; j < row.size(); j++) {
statement.setString(j+1, row.get(j));
}
statement.addBatch();
if ((i + 1) % 5 == 0) {
statement.executeBatch(); // Execute every 5 items.
}
}
int[] n = statement.executeBatch();
Any idea how to get rid of this issue?
Here are the contents of "D:\SOFT\Eclipse IDE for Java EE\hs_err_pid5688.log" file.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6966ef76, pid=5688, tid=5368
#
# JRE version: 6.0_33-b03
# Java VM: Java HotSpot(TM) Client VM (20.8-b03 mixed mode windows-x86 )
# Problematic frame:
# C [odbcjt32.dll+0x1ef76]
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
--------------- T H R E A D ---------------
Current thread (0x184c9400): JavaThread "http-8080-2" daemon [_thread_in_native, id=5368, stack(0x18b60000,0x18bb0000)]
siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
Registers:
EAX=0x00000000, EBX=0x0000000e, ECX=0x0000000a, EDX=0x00000005
ESP=0x18baf258, EBP=0x18baf274, ESI=0x18940340, EDI=0x189402d8
EIP=0x6966ef76, EFLAGS=0x00010246
Top of Stack: (sp=0x18baf258)
0x18baf258: 00000000 18940340 189402d8 00000000
0x18baf268: 00000000 00000001 00000001 18baf2a8
0x18baf278: 6966f95b 00000000 0000000e 00000001
0x18baf288: 00000001 000000ff 00000000 184ea710
0x18baf298: 00000000 00000000 0029d830 0029b240
0x18baf2a8: 18baf2e8 700be766 189402d8 0000000e
0x18baf2b8: 00000001 00000001 00000001 000000ff
0x18baf2c8: 00000000 184ea710 00000000 00000000
Instructions: (pc=0x6966ef76)
0x6966ef56: 52 e8 34 ea ff ff 85 c0 0f 84 56 ff ff ff 66 83
0x6966ef66: 7d 08 00 8b 40 20 75 14 83 f8 ff 75 08 8b 45 24
0x6966ef76: 83 38 ff 75 07 c7 45 f0 01 00 00 00 0f bf 4d 14
0x6966ef86: 6a 00 6a 00 51 6a 02 53 56 8d 87 30 03 00 00 50
Register to memory mapping:
EAX=0x00000000 is an unknown value
EBX=0x0000000e is an unknown value
ECX=0x0000000a is an unknown value
EDX=0x00000005 is an unknown value
ESP=0x18baf258 is pointing into the stack for thread: 0x184c9400
EBP=0x18baf274 is pointing into the stack for thread: 0x184c9400
ESI=0x18940340 is an unknown value
EDI=0x189402d8 is an unknown value
Stack: [0x18b60000,0x18bb0000], sp=0x18baf258, free space=316k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [odbcjt32.dll+0x1ef76] SQLNumParams+0x946
C [odbcjt32.dll+0x1f95b] SQLBindParameter+0x9b
C [ODBC32.dll+0x2e766] SQLBindParameter+0x1df
C [ODBC32.dll+0x2e5fd] SQLBindParameter+0x76
C [JdbcOdbc.dll+0x2c24] Java_sun_jdbc_odbc_JdbcOdbc_bindInParameterString+0x106
j sun.jdbc.odbc.JdbcOdbc.bindInParameterString(JII[BII[B[B[J)V+0
j sun.jdbc.odbc.JdbcOdbc.SQLBindInParameterString(JIIII[B[B[J)V+110
j sun.jdbc.odbc.JdbcOdbcPreparedStatement.setChar(IIILjava/lang/String;)V+135
j sun.jdbc.odbc.JdbcOdbcPreparedStatement.setString(ILjava/lang/String;)V+39
j sun.jdbc.odbc.JdbcOdbcPreparedStatement.setObject(ILjava/lang/Object;II)V+376
j sun.jdbc.odbc.JdbcOdbcPreparedStatement.setObject(ILjava/lang/Object;I)V+5
j sun.jdbc.odbc.JdbcOdbcPreparedStatement.emulateExecuteBatch()[I+268
j sun.jdbc.odbc.JdbcOdbcPreparedStatement.executeBatchUpdate()[I+564
j sun.jdbc.odbc.JdbcOdbcStatement.executeBatch()[I+1
j com.SDAM.servlets.Upload_Data_File.saveSeriesData()V+100
j com.SDAM.servlets.Upload_Data_File.extractSeriesData(Ljava/sql/Connection;)V+149
j com.SDAM.servlets.Upload_Data_File.processRequest(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+278
j com.SDAM.servlets.Upload_Data_File.doPost(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+3
j javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+139
j javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+30
j org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+376
j org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+101
j org.apache.catalina.core.StandardWrapperValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+804
j org.apache.catalina.core.StandardContextValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+365
j org.apache.catalina.core.StandardHostValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+64
j org.apache.catalina.valves.ErrorReportValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+6
j org.apache.catalina.core.StandardEngineValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+42
j org.apache.catalina.connector.CoyoteAdapter.service(Lorg/apache/coyote/Request;Lorg/apache/coyote/Response;)V+158
j org.apache.coyote.http11.Http11Processor.process(Ljava/net/Socket;)V+514
j org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Ljava/net/Socket;)Z+82
j org.apache.tomcat.util.net.JIoEndpoint$Worker.run()V+41
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
V [jvm.dll+0xfadcb]
V [jvm.dll+0x18c3e1]
V [jvm.dll+0xfaf71]
V [jvm.dll+0xfafcb]
V [jvm.dll+0xb5569]
V [jvm.dll+0x1190a4]
V [jvm.dll+0x14108c]
C [msvcr71.dll+0x9565] endthreadex+0xa0
C [kernel32.dll+0x51174] BaseThreadInitThunk+0x12
C [ntdll.dll+0x5b3f5] RtlInitializeExceptionChain+0x63
C [ntdll.dll+0x5b3c8] RtlInitializeExceptionChain+0x36
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j sun.jdbc.odbc.JdbcOdbc.bindInParameterString(JII[BII[B[B[J)V+0
j sun.jdbc.odbc.JdbcOdbc.SQLBindInParameterString(JIIII[B[B[J)V+110
j sun.jdbc.odbc.JdbcOdbcPreparedStatement.setChar(IIILjava/lang/String;)V+135
j sun.jdbc.odbc.JdbcOdbcPreparedStatement.setString(ILjava/lang/String;)V+39
j sun.jdbc.odbc.JdbcOdbcPreparedStatement.setObject(ILjava/lang/Object;II)V+376
j sun.jdbc.odbc.JdbcOdbcPreparedStatement.setObject(ILjava/lang/Object;I)V+5
j sun.jdbc.odbc.JdbcOdbcPreparedStatement.emulateExecuteBatch()[I+268
j sun.jdbc.odbc.JdbcOdbcPreparedStatement.executeBatchUpdate()[I+564
j sun.jdbc.odbc.JdbcOdbcStatement.executeBatch()[I+1
j com.SDAM.servlets.Upload_Data_File.saveSeriesData()V+100
j com.SDAM.servlets.Upload_Data_File.extractSeriesData(Ljava/sql/Connection;)V+149
j com.SDAM.servlets.Upload_Data_File.processRequest(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+278
j com.SDAM.servlets.Upload_Data_File.doPost(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+3
j javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+139
j javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+30
j org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+376
j org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+101
j org.apache.catalina.core.StandardWrapperValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+804
j org.apache.catalina.core.StandardContextValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+365
j org.apache.catalina.core.StandardHostValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+64
j org.apache.catalina.valves.ErrorReportValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+6
j org.apache.catalina.core.StandardEngineValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+42
j org.apache.catalina.connector.CoyoteAdapter.service(Lorg/apache/coyote/Request;Lorg/apache/coyote/Response;)V+158
j org.apache.coyote.http11.Http11Processor.process(Ljava/net/Socket;)V+514
j org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Ljava/net/Socket;)Z+82
j org.apache.tomcat.util.net.JIoEndpoint$Worker.run()V+41
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x184aa400 JavaThread "http-8080-7" daemon [_thread_blocked, id=3684, stack(0x18df0000,0x18e40000)]
0x184a9c00 JavaThread "http-8080-6" daemon [_thread_blocked, id=2220, stack(0x18da0000,0x18df0000)]
0x184a9400 JavaThread "http-8080-5" daemon [_thread_blocked, id=5920, stack(0x18d50000,0x18da0000)]
0x184a9000 JavaThread "http-8080-4" daemon [_thread_blocked, id=5112, stack(0x18c00000,0x18c50000)]
0x184ed400 JavaThread "http-8080-3" daemon [_thread_blocked, id=4956, stack(0x18bb0000,0x18c00000)]
=>0x184c9400 JavaThread "http-8080-2" daemon [_thread_in_native, id=5368, stack(0x18b60000,0x18bb0000)]
0x184c3c00 JavaThread "http-8080-1" daemon [_thread_blocked, id=5892, stack(0x18b10000,0x18b60000)]
0x1851c800 JavaThread "TP-Monitor" daemon [_thread_blocked, id=3596, stack(0x18ac0000,0x18b10000)]
0x1851c400 JavaThread "TP-Processor4" daemon [_thread_in_native, id=4256, stack(0x18a70000,0x18ac0000)]
0x1851bc00 JavaThread "TP-Processor3" daemon [_thread_blocked, id=5900, stack(0x18a20000,0x18a70000)]
0x18520800 JavaThread "TP-Processor2" daemon [_thread_blocked, id=5576, stack(0x188d0000,0x18920000)]
0x184af000 JavaThread "TP-Processor1" daemon [_thread_blocked, id=700, stack(0x18880000,0x188d0000)]
0x184b7800 JavaThread "http-8080-Acceptor-0" daemon [_thread_in_native, id=2364, stack(0x18830000,0x18880000)]
0x184afc00 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_blocked, id=3148, stack(0x180e0000,0x18130000)]
0x18400c00 JavaThread "GC Daemon" daemon [_thread_blocked, id=708, stack(0x18090000,0x180e0000)]
0x0194c400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=1964, stack(0x17f30000,0x17f80000)]
0x01952800 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=5404, stack(0x17e80000,0x17ed0000)]
0x0193a400 JavaThread "JDWP Command Reader" daemon [_thread_in_native, id=5256, stack(0x17e30000,0x17e80000)]
0x01939400 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=5760, stack(0x17dc0000,0x17e10000)]
0x01937400 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_blocked, id=3956, stack(0x17d70000,0x17dc0000)]
0x0192b000 JavaThread "Attach Listener" daemon [_thread_blocked, id=5712, stack(0x17c60000,0x17cb0000)]
0x0192a000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5516, stack(0x17c10000,0x17c60000)]
0x018fa400 JavaThread "Finalizer" daemon [_thread_blocked, id=5284, stack(0x17bc0000,0x17c10000)]
0x018f8c00 JavaThread "Reference Handler" daemon [_thread_blocked, id=3564, stack(0x17b70000,0x17bc0000)]
0x003e9400 JavaThread "main" [_thread_in_native, id=448, stack(0x00370000,0x003c0000)]
Other Threads:
0x018f5800 VMThread [stack: 0x17b20000,0x17b70000] [id=3760]
0x0194e000 WatcherThread [stack: 0x18040000,0x18090000] [id=1532]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 4992K, used 4236K [0x039e0000, 0x03f40000, 0x08f30000)
eden space 4480K, 83% used [0x039e0000, 0x03d87c10, 0x03e40000)
from space 512K, 96% used [0x03e40000, 0x03ebb4f0, 0x03ec0000)
to space 512K, 0% used [0x03ec0000, 0x03ec0000, 0x03f40000)
tenured generation total 10944K, used 6149K [0x08f30000, 0x099e0000, 0x139e0000)
the space 10944K, 56% used [0x08f30000, 0x09531738, 0x09531800, 0x099e0000)
compacting perm gen total 12288K, used 10772K [0x139e0000, 0x145e0000, 0x179e0000)
the space 12288K, 87% used [0x139e0000, 0x144653b0, 0x14465400, 0x145e0000)
No shared spaces configured.
Code Cache [0x01960000, 0x01af8000, 0x03960000)
total_blobs=697 nmethods=539 adapters=102 free_code_cache=31904832 largest_free_block=192
Dynamic libraries:
0x00400000 - 0x00425000 C:\Program Files\Java\jre6\bin\javaw.exe
0x77660000 - 0x7779c000 C:\Windows\SYSTEM32\ntdll.dll
0x77310000 - 0x773e4000 C:\Windows\system32\kernel32.dll
0x75a20000 - 0x75a6a000 C:\Windows\system32\KERNELBASE.dll
0x777f0000 - 0x77890000 C:\Windows\system32\ADVAPI32.dll
0x77440000 - 0x774ec000 C:\Windows\system32\msvcrt.dll
0x76f80000 - 0x76f99000 C:\Windows\SYSTEM32\sechost.dll
0x75c20000 - 0x75cc1000 C:\Windows\system32\RPCRT4.dll
0x75e00000 - 0x75ec9000 C:\Windows\system32\USER32.dll
0x773f0000 - 0x7743e000 C:\Windows\system32\GDI32.dll
0x774f0000 - 0x774fa000 C:\Windows\system32\LPK.dll
0x75b80000 - 0x75c1d000 C:\Windows\system32\USP10.dll
0x76d10000 - 0x76d2f000 C:\Windows\system32\IMM32.DLL
0x76e20000 - 0x76eec000 C:\Windows\system32\MSCTF.dll
0x7c340000 - 0x7c396000 C:\Program Files\Java\jre6\bin\msvcr71.dll
0x6d7f0000 - 0x6da9f000 C:\Program Files\Java\jre6\bin\client\jvm.dll
0x73c40000 - 0x73c72000 C:\Windows\system32\WINMM.dll
0x756c0000 - 0x7570b000 C:\Windows\system32\apphelp.dll
0x6d7a0000 - 0x6d7ac000 C:\Program Files\Java\jre6\bin\verify.dll
0x6d320000 - 0x6d33f000 C:\Program Files\Java\jre6\bin\java.dll
0x6d370000 - 0x6d399000 C:\Program Files\Java\jre6\bin\jdwp.dll
0x6d690000 - 0x6d696000 C:\Program Files\Java\jre6\bin\npt.dll
0x6d7e0000 - 0x6d7ef000 C:\Program Files\Java\jre6\bin\zip.dll
0x6d200000 - 0x6d207000 C:\Program Files\Java\jre6\bin\dt_socket.dll
0x777a0000 - 0x777d5000 C:\Windows\system32\WS2_32.dll
0x75df0000 - 0x75df6000 C:\Windows\system32\NSI.dll
0x73f20000 - 0x73f30000 C:\Windows\system32\NLAapi.dll
0x75200000 - 0x7523c000 C:\Windows\System32\mswsock.dll
0x750c0000 - 0x75104000 C:\Windows\system32\DNSAPI.dll
0x71be0000 - 0x71be8000 C:\Windows\System32\winrnr.dll
0x71bd0000 - 0x71be0000 C:\Windows\system32\napinsp.dll
0x71bb0000 - 0x71bc2000 C:\Windows\system32\pnrpnsp.dll
0x003c0000 - 0x003d9000 C:\Program Files\Bonjour\mdnsNSP.dll
0x73700000 - 0x7371c000 C:\Windows\system32\Iphlpapi.DLL
0x736f0000 - 0x736f7000 C:\Windows\system32\WINNSI.DLL
0x73590000 - 0x735c8000 C:\Windows\System32\fwpuclnt.dll
0x71ba0000 - 0x71ba6000 C:\Windows\system32\rasadhlp.dll
0x74d40000 - 0x74d45000 C:\Windows\System32\wshtcpip.dll
0x6d550000 - 0x6d559000 C:\Program Files\Java\jre6\bin\management.dll
0x6d780000 - 0x6d788000 C:\Program Files\Java\jre6\bin\sunmscapi.dll
0x75900000 - 0x75a1c000 C:\Windows\system32\CRYPT32.dll
0x75870000 - 0x7587c000 C:\Windows\system32\MSASN1.dll
0x6d600000 - 0x6d613000 C:\Program Files\Java\jre6\bin\net.dll
0x751f0000 - 0x751f6000 C:\Windows\System32\wship6.dll
0x75240000 - 0x75256000 C:\Windows\system32\CRYPTSP.dll
0x74fe0000 - 0x7501b000 C:\Windows\system32\rsaenh.dll
0x74e10000 - 0x74e27000 C:\Windows\system32\USERENV.dll
0x75760000 - 0x7576b000 C:\Windows\system32\profapi.dll
0x75740000 - 0x7574c000 C:\Windows\system32\CRYPTBASE.dll
0x6d360000 - 0x6d36d000 C:\Program Files\Java\jre6\bin\JdbcOdbc.dll
0x70090000 - 0x7011a000 C:\Windows\system32\ODBC32.dll
0x72840000 - 0x72878000 C:\Windows\system32\odbcint.dll
0x753e0000 - 0x753f7000 C:\Windows\system32\bcrypt.dll
0x74f20000 - 0x74f5d000 C:\Windows\system32\bcryptprimitives.dll
0x6ffa0000 - 0x6ffe5000 C:\PROGRA~1\COMMON~1\MICROS~1\OFFICE14\ACEODBC.DLL
0x733c0000 - 0x73463000 C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.5570_none_509463cabcb6ef2a\MSVCR90.dll
0x75b00000 - 0x75b7b000 C:\Windows\system32\COMDLG32.dll
0x77280000 - 0x772d7000 C:\Windows\system32\SHLWAPI.dll
0x745b0000 - 0x7474e000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7600.16385_none_421189da2b7fabfc\COMCTL32.dll
0x75ed0000 - 0x76b19000 C:\Windows\system32\SHELL32.dll
0x77500000 - 0x7765c000 C:\Windows\system32\ole32.dll
0x5cca0000 - 0x5de7e000 C:\Program Files\Common Files\Microsoft Shared\office14\mso.dll
0x19070000 - 0x192b0000 C:\Windows\system32\msi.dll
0x61e60000 - 0x6226f000 C:\Program Files\Common Files\Microsoft Shared\office14\Cultures\office.odf
0x73990000 - 0x7399f000 C:\Program Files\Common Files\Microsoft Shared\OFFICE14\1033\ACEODBCI.DLL
0x747d0000 - 0x747db000 C:\Program Files\Common Files\Microsoft Shared\OFFICE14\ACEERR.DLL
0x61ab0000 - 0x61cca000 C:\Program Files\Common Files\Microsoft Shared\OFFICE14\ACECORE.DLL
0x73330000 - 0x733be000 C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.5570_none_509463cabcb6ef2a\MSVCP90.dll
0x76ef0000 - 0x76f7f000 C:\Windows\system32\OLEAUT32.dll
0x624c0000 - 0x62592000 C:\Program Files\Common Files\Microsoft Shared\OFFICE14\1033\ACEWSTR.DLL
0x709f0000 - 0x70a0e000 C:\Windows\system32\odbccp32.dll
0x74cb0000 - 0x74cb9000 C:\Windows\system32\VERSION.dll
0x756a0000 - 0x756ba000 C:\Windows\system32\SspiCli.dll
0x74470000 - 0x744b0000 C:\Windows\system32\uxtheme.dll
0x58770000 - 0x5cc9a000 C:\Program Files\Common Files\Microsoft Shared\office14\MSORES.DLL
0x72b60000 - 0x72b76000 C:\Windows\system32\DavClnt.DLL
0x747e0000 - 0x747e8000 C:\Windows\system32\DAVHLPR.dll
0x60120000 - 0x60382000 C:\Program Files\Common Files\Microsoft Shared\office14\1033\MSOINTL.DLL
0x741c0000 - 0x741d3000 C:\Windows\system32\dwmapi.dll
0x696a0000 - 0x69743000 C:\PROGRA~1\COMMON~1\MICROS~1\OFFICE14\ACEEXCL.DLL
0x70470000 - 0x704a2000 C:\Program Files\Common Files\Microsoft Shared\OFFICE14\1033\ACEINTL.DLL
0x76d90000 - 0x76e13000 C:\Windows\system32\CLBCatQ.DLL
0x71d90000 - 0x71ee7000 C:\Windows\System32\msxml6.dll
0x69650000 - 0x6969e000 C:\Windows\system32\odbcjt32.dll
0x5fc30000 - 0x5fdb5000 C:\Windows\system32\msjet40.dll
0x693c0000 - 0x69458000 C:\Windows\system32\mswstr10.dll
0x71450000 - 0x71456000 C:\Windows\system32\odbcji32.dll
0x709d0000 - 0x709e1000 C:\Windows\system32\msjter40.dll
0x70940000 - 0x70946000 C:\Windows\system32\MSJINT40.DLL
0x692e0000 - 0x69328000 C:\Windows\system32\msjtes40.dll
0x1ded0000 - 0x1dedb000 C:\Windows\system32\VBAJET32.DLL
0x230d0000 - 0x23132000 C:\Windows\system32\expsrv.dll
0x777e0000 - 0x777e5000 C:\Windows\system32\PSAPI.DLL
VM Arguments:
jvm_args: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:52879 -Dcatalina.base=D:\SOFT\Eclipse IDE for Java EE\Workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0 -Dcatalina.home=C:\apache-tomcat-6.0.32 -Dwtp.deploy=D:\SOFT\Eclipse IDE for Java EE\Workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps -Djava.endorsed.dirs=C:\apache-tomcat-6.0.32\endorsed -Dfile.encoding=Cp1252
java_command: org.apache.catalina.startup.Bootstrap start
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_25
CLASSPATH=C:\apache-tomcat-6.0.32\lib\servlet-api.jar;C:\apache-tomcat-6.0.32\lib\jsp-api.jar;.;
PATH=C:/Program Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:/Program Files/Java/jre6/lib/i386;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseSVN\bin;C:\Ruby192\bin;C:\Program Files\Java\jdk1.6.0_25\bin;E:\ApacheAnt\bin;D:\SOFT\Eclipse IDE for Java EE;
USERNAME=khawar.raza
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 7, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows 7 Build 7600
CPU:total 4 (4 cores per cpu, 1 threads per core) family 6 model 23 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1
Memory: 4k page, physical 3088716k(1133348k free), swap 6175668k(3980664k free)
vm_info: Java HotSpot(TM) Client VM (20.8-b03) for windows-x86 JRE (1.6.0_33-b03), built on May 9 2012 09:39:57 by "java_re" with MS VC++ 7.1 (VS2003)
time: Thu Jun 21 12:32:43 2012
elapsed time: 54 seconds
try closing when done:
statement.close();
Edit sorry, for some reason, I misunderstood your question. From the error message:
# The crash happened outside the Java Virtual Machine in native code.
I googled for the error, but this is as far as I was able to get:
http://www.java-forums.org/eclipse/312-exception_access_violation-0xc0000005.html
Some posts report that it could be a bug in JVM and you need to upgrade. Others suggest a corrupted DLL.
The first thing I would do, is test it on another machine, and move from there.
Not a lot of help, I know !
I have find the solution. Actually I was using MS Access as DBMS which is very slow and I think this was the real issue. The insertion speed of Java was incompatible with MS Access. MS Access overwhelmed with huge amount of data as I am inserting more than 200000 records at a time and due to this overwhelming, MS Access could not handle such huge amount of data and ACCESS VIOLATION was being raised. I replaced MS Access with MySQl and now its looking fine.
Thanks to all.
I had the same error, saving data from a scraping program. It was completely random but seemed to happen with increasing frequency.
After a day of trying various things, I finally tried going into Access and doing a Compact and Repair Database. That seems to have done the trick. So that may be a solution for someone else also.
I'm trying SWTBot out with a sample project according to the SWTBot User Guide. My problem is that when I run the second test (MessageCreateTest) the JVM crashes and I get the following error:
A fatal error has been detected by the Java Runtime Environment:
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000007fefd644929, pid=4852, tid=5556
JRE version: 6.0_18-b07
Java VM: Java HotSpot(TM) 64-Bit Server VM (16.0-b13 mixed mode windows-amd64 )
Problematic frame:
C [SHELL32.dll+0xa4929]
An error report file with more information is saved as:
D:\work\v8\workspace\test_workspace\org.rcpmail.test\hs_err_pid4852.log
If you would like to submit a bug report, please visit:
http://java.sun.com/webapps/bugreport/crash.jsp
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.
My test class:
package org.rcpmail.test;
import org.eclipse.swtbot.eclipse.finder.SWTWorkbenchBot;
import org.junit.Before;
import org.junit.Test;
public class MessageCreateTest {
private SWTWorkbenchBot bot;
#Test
public void canCreateAMessage() throws Exception {
bot.menu("File").menu("Open Another Message View").click();
}
#Before
public void setup() {
bot = new SWTWorkbenchBot();
}
}
I checked out the error log file which I include here:
--------------- T H R E A D ---------------
Current thread (0x000000000053b800): JavaThread "main" [_thread_in_native, id=5556, stack(0x0000000002370000,0x0000000002470000)]
siginfo: ExceptionCode=0xc0000005, reading address 0x0000000000000000
Registers:
EAX=0x000000007ffffffe, EBX=0x0000000000000010, ECX=0x000000000246cc90, EDX=0x0000000000000104
ESP=0x000000000246cb08, EBP=0x000000000246cc90, ESI=0x0000000000000010, EDI=0x0000000000000000
EIP=0x000007fefd644929, EFLAGS=0x0000000000010202
Top of Stack: (sp=0x000000000246cb08)
0x000000000246cb08: 000007fefd8f961d 000000000000013f
0x000000000246cb18: 000000000000013c 000050446227f7fe
0x000000000246cb28: 00000000001a5710 0000000000291930
0x000000000246cb38: 0000000000000202 0000000000291998
0x000000000246cb48: 000007fefd8f9700 0000000000000010
0x000000000246cb58: 000000000246cf48 0000000000271b58
0x000000000246cb68: 0000000000000000 000000000246cb80
0x000000000246cb78: 00000000324d0080 000007fefd9f3124
0x000000000246cb88: 0000000000000000 0028002000730025
0x000000000246cb98: 0000000000000029 000000000028a1d0
0x000000000246cba8: 00000000001a57b4 000000000028a1d0
0x000000000246cbb8: 0000000000000104 000000000246ce90
0x000000000246cbc8: 00000000001a5710 00000000000000e9
0x000000000246cbd8: 000000000246cbe0 00000000001a0230
0x000000000246cbe8: 00000000000011f5 0055005c003a0043
0x000000000246cbf8: 0073007200650073 006500640065005c
Instructions: (pc=0x000007fefd644929)
0x000007fefd644919: d2 4c 2b c1 90 90 90 49 8d 04 12 49 3b c3 74 18
0x000007fefd644929: 41 0f b7 04 08 66 41 3b c3 74 0d 66 89 01 48 83
Stack: [0x0000000002370000,0x0000000002470000], sp=0x000000000246cb08, free space=3f20000000000000000k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [SHELL32.dll+0xa4929]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j org.eclipse.swt.internal.win32.OS.VtblCall(IJ)I+0
j org.eclipse.swt.widgets.TaskBar.getDirectory(JJ[CZ)J+141
j org.eclipse.swt.widgets.TaskBar.getDirectory([C)Ljava/lang/String;+204
j org.eclipse.swt.widgets.TaskBar.setMenu(Lorg/eclipse/swt/widgets/Menu;)V+97
j org.eclipse.swt.widgets.TaskItem.setMenu(Lorg/eclipse/swt/widgets/Menu;)V+53
v ~StubRoutines::call_stub
j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+161
j org.eclipse.mylyn.internal.commons.ui.TaskBarManager$TaskBarMenuManager.setMenuOnTaskItem(Lorg/eclipse/swt/widgets/Widget;Lorg/eclipse/swt/widgets/Menu;)V+45
j org.eclipse.mylyn.internal.commons.ui.TaskBarManager$TaskBarMenuManager.update(ZZ)V+68
j org.eclipse.jface.action.MenuManager.update(Z)V+3
j org.eclipse.mylyn.internal.tasks.ui.TasksUiPlugin.addSystemTaskBarActions()V+55
j org.eclipse.mylyn.internal.tasks.ui.TasksUiPlugin.access$6(Lorg/eclipse/mylyn/internal/tasks/ui/TasksUiPlugin;)V+1
j org.eclipse.mylyn.internal.tasks.ui.TasksUiPlugin$TasksUiInitializationJob.runInUIThread(Lorg/eclipse/core/runtime/IProgressMonitor;)Lorg/eclipse/core/runtime/IStatus;+211
j org.eclipse.ui.progress.UIJob$1.run()V+53
j org.eclipse.swt.widgets.RunnableLock.run()V+11
j org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Z)Z+29
j org.eclipse.swt.widgets.Display.runAsyncMessages(Z)Z+5
j org.eclipse.swt.widgets.Display.readAndDispatch()Z+91
j org.eclipse.ui.internal.Workbench.runEventLoop(Lorg/eclipse/jface/window/Window$IExceptionHandler;Lorg/eclipse/swt/widgets/Display;)V+9
j org.eclipse.ui.internal.Workbench.runUI()I+555
j org.eclipse.ui.internal.Workbench.access$4(Lorg/eclipse/ui/internal/Workbench;)I+1
j org.eclipse.ui.internal.Workbench$7.run()V+55
j org.eclipse.core.databinding.observable.Realm.runWithDefault(Lorg/eclipse/core/databinding/observable/Realm;Ljava/lang/Runnable;)V+12
j org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+18
j org.eclipse.ui.PlatformUI.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+2
j org.rcpmail.Application.start(Lorg/eclipse/equinox/app/IApplicationContext;)Ljava/lang/Object;+12
j org.eclipse.swtbot.eclipse.core.UITestApplication.start(Lorg/eclipse/equinox/app/IApplicationContext;)Ljava/lang/Object;+87
j org.eclipse.equinox.internal.app.EclipseAppHandle.run(Ljava/lang/Object;)Ljava/lang/Object;+135
j org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ljava/lang/Object;)Ljava/lang/Object;+103
j org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ljava/lang/Object;)Ljava/lang/Object;+29
j org.eclipse.core.runtime.adaptor.EclipseStarter.run(Ljava/lang/Object;)Ljava/lang/Object;+149
j org.eclipse.core.runtime.adaptor.EclipseStarter.run([Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;+183
v ~StubRoutines::call_stub
j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+161
j org.eclipse.equinox.launcher.Main.invokeFramework([Ljava/lang/String;[Ljava/net/URL;)V+211
j org.eclipse.equinox.launcher.Main.basicRun([Ljava/lang/String;)V+126
j org.eclipse.equinox.launcher.Main.run([Ljava/lang/String;)I+4
j org.eclipse.equinox.launcher.Main.main([Ljava/lang/String;)V+10
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x000000002c122800 JavaThread "Worker-2" [_thread_blocked, id=4932, stack(0x0000000032360000,0x0000000032460000)]
0x000000002ce35800 JavaThread "Worker-1" [_thread_blocked, id=1396, stack(0x0000000032260000,0x0000000032360000)]
0x000000002d696000 JavaThread "WorkbenchTestable" [_thread_blocked, id=5784, stack(0x0000000032160000,0x0000000032260000)]
0x000000002ecc6800 JavaThread "Worker-0" [_thread_in_vm, id=5760, stack(0x0000000031960000,0x0000000031a60000)]
0x000000002d346000 JavaThread "Worker-JM" [_thread_blocked, id=6064, stack(0x000000002e760000,0x000000002e860000)]
0x000000002cc27800 JavaThread "[Timer] - Main Queue Handler" daemon [_thread_blocked, id=5176, stack(0x000000002e660000,0x000000002e760000)]
0x000000002d18f000 JavaThread "Bundle File Closer" daemon [_thread_blocked, id=5568, stack(0x000000002e460000,0x000000002e560000)]
0x000000002cdcc800 JavaThread "Start Level Event Dispatcher" daemon [_thread_blocked, id=5164, stack(0x000000002e360000,0x000000002e460000)]
0x000000002c9b8800 JavaThread "Framework Event Dispatcher" daemon [_thread_blocked, id=5944, stack(0x000000002e260000,0x000000002e360000)]
0x000000002cda6000 JavaThread "State Saver" [_thread_blocked, id=1036, stack(0x000000002e160000,0x000000002e260000)]
0x000000002b7cb800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=4904, stack(0x000000002bd60000,0x000000002be60000)]
0x000000002b7ca800 JavaThread "CompilerThread1" daemon [_thread_blocked, id=1128, stack(0x000000002bc60000,0x000000002bd60000)]
0x000000002b7b5800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=5652, stack(0x000000002bb60000,0x000000002bc60000)]
0x000000002b7b1800 JavaThread "Attach Listener" daemon [_thread_blocked, id=4332, stack(0x000000002ba60000,0x000000002bb60000)]
0x000000002b7aa800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=288, stack(0x000000002b960000,0x000000002ba60000)]
0x0000000000527000 JavaThread "Finalizer" daemon [_thread_blocked, id=4720, stack(0x000000002b660000,0x000000002b760000)]
0x0000000000520800 JavaThread "Reference Handler" daemon [_thread_blocked, id=5248, stack(0x000000002b560000,0x000000002b660000)]
=>0x000000000053b800 JavaThread "main" [_thread_in_native, id=5556, stack(0x0000000002370000,0x0000000002470000)]
Other Threads:
0x000000000051c000 VMThread [stack: 0x000000002b460000,0x000000002b560000] [id=2328]
0x000000002b7cc800 WatcherThread [stack: 0x000000002be60000,0x000000002bf60000] [id=5404]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
PSYoungGen total 139008K, used 71391K [0x000000001fe90000, 0x000000002a930000, 0x000000002a930000)
eden space 130048K, 48% used [0x000000001fe90000,0x0000000023b8fe48,0x0000000027d90000)
from space 8960K, 99% used [0x000000002a070000,0x000000002a928048,0x000000002a930000)
to space 11520K, 0% used [0x00000000292b0000,0x00000000292b0000,0x0000000029df0000)
PSOldGen total 49600K, used 30640K [0x000000000a930000, 0x000000000d9a0000, 0x000000001fe90000)
object space 49600K, 61% used [0x000000000a930000,0x000000000c71c020,0x000000000d9a0000)
PSPermGen total 34816K, used 34638K [0x0000000005530000, 0x0000000007730000, 0x000000000a930000)
object space 34816K, 99% used [0x0000000005530000,0x0000000007703bd0,0x0000000007730000)
Dynamic libraries:
0x0000000000400000 - 0x000000000042e000 D:\work\v8\tool\win7-64\jdk1.6.0_18\bin\javaw.exe
0x0000000076ed0000 - 0x0000000077079000 C:\Windows\SYSTEM32\ntdll.dll
0x0000000076a00000 - 0x0000000076b1f000 C:\Windows\system32\kernel32.dll
0x000007fefc9d0000 - 0x000007fefca3c000 C:\Windows\system32\KERNELBASE.dll
0x000007fefd100000 - 0x000007fefd1db000 C:\Windows\system32\ADVAPI32.dll
0x000007fefcd10000 - 0x000007fefcdaf000 C:\Windows\system32\msvcrt.dll
0x000007fefd0b0000 - 0x000007fefd0cf000 C:\Windows\SYSTEM32\sechost.dll
0x000007fefd470000 - 0x000007fefd59d000 C:\Windows\system32\RPCRT4.dll
0x0000000076dd0000 - 0x0000000076eca000 C:\Windows\system32\USER32.dll
0x000007fefe5f0000 - 0x000007fefe657000 C:\Windows\system32\GDI32.dll
0x000007fefce20000 - 0x000007fefce2e000 C:\Windows\system32\LPK.dll
0x000007fefce30000 - 0x000007fefcef9000 C:\Windows\system32\USP10.dll
0x000007fefd0d0000 - 0x000007fefd0fe000 C:\Windows\system32\IMM32.DLL
0x000007fefcfa0000 - 0x000007fefd0a9000 C:\Windows\system32\MSCTF.dll
0x000000006d890000 - 0x000000006df35000 D:\work\v8\tool\win7-64\jdk1.6.0_18\jre\bin\server\jvm.dll
0x000007fef9ea0000 - 0x000007fef9edb000 C:\Windows\system32\WINMM.dll
0x000000006d800000 - 0x000000006d80e000 D:\work\v8\tool\win7-64\jdk1.6.0_18\jre\bin\verify.dll
0x000000006d450000 - 0x000000006d477000 D:\work\v8\tool\win7-64\jdk1.6.0_18\jre\bin\java.dll
0x000000006d3b0000 - 0x000000006d3ba000 D:\work\v8\tool\win7-64\jdk1.6.0_18\jre\bin\hpi.dll
0x0000000077090000 - 0x0000000077097000 C:\Windows\system32\PSAPI.DLL
0x000000006d850000 - 0x000000006d862000 D:\work\v8\tool\win7-64\jdk1.6.0_18\jre\bin\zip.dll
0x000007fefc170000 - 0x000007fefc187000 C:\Windows\system32\CRYPTSP.dll
0x000007fefbe70000 - 0x000007fefbeb7000 C:\Windows\system32\rsaenh.dll
0x000007fefbbe0000 - 0x000007fefbbfe000 C:\Windows\system32\USERENV.dll
0x000007fefc8a0000 - 0x000007fefc8af000 C:\Windows\system32\profapi.dll
0x000007fefc7d0000 - 0x000007fefc7df000 C:\Windows\system32\CRYPTBASE.dll
0x000000006d6a0000 - 0x000000006d6b7000 D:\work\v8\tool\win7-64\jdk1.6.0_18\jre\bin\net.dll
0x000007fefcdd0000 - 0x000007fefce1d000 C:\Windows\system32\WS2_32.dll
0x000007fefe660000 - 0x000007fefe668000 C:\Windows\system32\NSI.dll
0x000007fefc110000 - 0x000007fefc165000 C:\Windows\system32\mswsock.dll
0x000007fefc100000 - 0x000007fefc107000 C:\Windows\System32\wship6.dll
0x000007fefacc0000 - 0x000007fefacd5000 C:\Windows\system32\NLAapi.dll
0x000007fef78d0000 - 0x000007fef78e5000 C:\Windows\system32\napinsp.dll
0x000007fef78b0000 - 0x000007fef78c9000 C:\Windows\system32\pnrpnsp.dll
0x000007fefbf90000 - 0x000007fefbfeb000 C:\Windows\system32\DNSAPI.dll
0x000007fef78a0000 - 0x000007fef78ab000 C:\Windows\System32\winrnr.dll
0x000007fefbab0000 - 0x000007fefbab7000 C:\Windows\System32\wshtcpip.dll
0x000007fefa900000 - 0x000007fefa927000 C:\Windows\system32\IPHLPAPI.DLL
0x000007fefa7c0000 - 0x000007fefa7cb000 C:\Windows\system32\WINNSI.DLL
0x000007fef8460000 - 0x000007fef8468000 C:\Windows\system32\rasadhlp.dll
0x000007fefa680000 - 0x000007fefa6d3000 C:\Windows\System32\fwpuclnt.dll
0x000000006d6c0000 - 0x000000006d6cb000 D:\work\v8\tool\win7-64\jdk1.6.0_18\jre\bin\nio.dll
0x0000000072000000 - 0x0000000072012000 D:\work\v8\tool\win7-64\eclipse-custom-3.6.0\plugins\org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.2.R36x_v20101222\eclipse_1312.dll
0x000007fefb0b0000 - 0x000007fefb2a4000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9ac\COMCTL32.dll
0x000007fefd3f0000 - 0x000007fefd461000 C:\Windows\system32\SHLWAPI.dll
0x000007fefb9e0000 - 0x000007fefb9ec000 C:\Windows\system32\VERSION.dll
0x000000002c4a0000 - 0x000000002c53b000 D:\work\v8\workspace\test_workspace\.metadata\.plugins\org.eclipse.pde.core\pde-junit\org.eclipse.osgi\bundles\611\1\.cp\swt-win32-3659.dll
0x000007fefd1e0000 - 0x000007fefd3e3000 C:\Windows\system32\ole32.dll
0x000007fefe670000 - 0x000007fefe747000 C:\Windows\system32\OLEAUT32.dll
0x000007fefcf00000 - 0x000007fefcf97000 C:\Windows\system32\comdlg32.dll
0x000007fefd5a0000 - 0x000007fefe328000 C:\Windows\system32\SHELL32.dll
0x0000000076c70000 - 0x0000000076dca000 C:\Windows\system32\WININET.dll
0x00000000770a0000 - 0x00000000770a3000 C:\Windows\system32\Normaliz.dll
0x00000000767f0000 - 0x00000000769fd000 C:\Windows\system32\iertutil.dll
0x0000000076b20000 - 0x0000000076c6d000 C:\Windows\system32\urlmon.dll
0x000007fefafd0000 - 0x000007fefb026000 C:\Windows\system32\uxtheme.dll
0x000007fefaa10000 - 0x000007fefaa28000 C:\Windows\system32\dwmapi.dll
0x00000000003e0000 - 0x00000000003fe000 D:\work\v8\workspace\test_workspace\.metadata\.plugins\org.eclipse.pde.core\pde-junit\org.eclipse.osgi\bundles\611\1\.cp\swt-gdip-win32-3659.dll
0x000007fefadb0000 - 0x000007fefafc5000 C:\Windows\WinSxS\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.17514_none_2b24536c71ed437a\gdiplus.dll
0x000007fef2af0000 - 0x000007fef2b44000 C:\Windows\system32\oleacc.dll
0x000007fefb5a0000 - 0x000007fefb6cc000 C:\Windows\system32\propsys.dll
0x000007fefcc70000 - 0x000007fefcd09000 C:\Windows\system32\CLBCatQ.DLL
0x000007fef46a0000 - 0x000007fef486a000 C:\Windows\system32\explorerframe.dll
0x000007fefab10000 - 0x000007fefab53000 C:\Windows\system32\DUser.dll
0x000007fefabc0000 - 0x000007fefacb2000 C:\Windows\system32\DUI70.dll
0x000007fef7c60000 - 0x000007fef7c71000 D:\work\v8\workspace\test_workspace\.metadata\.plugins\org.eclipse.pde.core\pde-junit\org.eclipse.osgi\bundles\95\1\.cp\jWinHttp-1.0.0.dll
0x000007fef90c0000 - 0x000007fef9131000 C:\Windows\system32\WINHTTP.dll
0x000007fef9050000 - 0x000007fef90b4000 C:\Windows\system32\webio.dll
0x000007fefa650000 - 0x000007fefa661000 C:\Windows\system32\dhcpcsvc6.DLL
0x000007fefa5d0000 - 0x000007fefa5e8000 C:\Windows\system32\dhcpcsvc.DLL
0x000007fefc740000 - 0x000007fefc765000 C:\Windows\system32\SspiCli.dll
0x000007fefbd70000 - 0x000007fefbd7a000 C:\Windows\system32\credssp.dll
0x000007fefc950000 - 0x000007fefc986000 C:\Windows\system32\CFGMGR32.dll
0x000007fefc880000 - 0x000007fefc894000 C:\Windows\system32\RpcRtRemote.dll
0x000007fefa010000 - 0x000007fefa017000 C:\Windows\system32\msimg32.dll
0x000007fefe3b0000 - 0x000007fefe587000 C:\Windows\system32\SETUPAPI.dll
0x000007fefca40000 - 0x000007fefca5a000 C:\Windows\system32\DEVOBJ.dll
0x000007fefb080000 - 0x000007fefb0ad000 C:\Windows\system32\ntmarta.dll
0x000007fefe590000 - 0x000007fefe5e2000 C:\Windows\system32\WLDAP32.dll
VM Arguments:
jvm_args: -Dosgi.requiredJavaVersion=1.5 -Xms40m -Xmx512m -Declipse.pde.launch=true -Declipse.p2.data.area=#config.dir\p2 -Dfile.encoding=Cp1250
java_command: org.eclipse.equinox.launcher.Main -os win32 -ws win32 -arch x86_64 -nl hu_HU -consoleLog -version 3 -port 56944 -testLoaderClass org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader -loaderpluginname org.eclipse.jdt.junit4.runtime -classNames org.rcpmail.test.MessageCreateTest -application org.eclipse.swtbot.eclipse.core.swtbottestapplication -product org.rcpmail.product -data D:\work\v8\workspace\test_workspace/../junit-workspace -configuration file:D:/work/v8/workspace/test_workspace/.metadata/.plugins/org.eclipse.pde.core/pde-junit/ -dev file:D:/work/v8/workspace/test_workspace/.metadata/.plugins/org.eclipse.pde.core/pde-junit/dev.properties -os win32 -ws win32 -arch x86_64 -nl hu_HU -consoleLog -testpluginname org.rcpmail.test
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=D:\work\v8\tool\win7-64\jdk1.6.0_18
PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;;D:\work\v8\;D:\work\v8\tool\win7-64\jdk1.6.0_18\bin;D:\work\v8\tool\win7-64\eclipse-custom-3.6.0;D:\work\v8\tool\win7-64\apache-ant-1.8.0\bin;\bin;D:\work\v8\tool\win7-64\svn-win32-1.6.6\bin
USERNAME=edem
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 30 Stepping 5, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows 7 Build 7601 Service Pack 1
CPU:total 4 (8 cores per cpu, 2 threads per core) family 6 model 30 stepping 5, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht
Memory: 4k page, physical 8379508k(5484476k free), swap 16757168k(13043912k free)
vm_info: Java HotSpot(TM) 64-Bit Server VM (16.0-b13) for windows-amd64 JRE (1.6.0_18-b07), built on Dec 17 2009 13:24:11 by "java_re" with MS VC++ 8.0 (VS2005)
time: Mon Aug 01 15:36:17 2011
elapsed time: 5 seconds
I tried out every possible permutations to solve this problem but nothing seems to help.
I tried:
switching workspaces
different version of eclipse
changing jvm / application parameters
I cannot change the java installation however because we are working with a fixed version. Do you have any idea where could be the problem?
What I have here is the sample RCP Mail program and its test according to the link i pasted above.
The error indicates that you are using a 64 bit JVM.
Java VM: Java HotSpot(TM) 64-Bit Server VM (16.0-b13 mixed mode windows-amd64 )
And the error comes form a 32 bit dll.
Problematic frame:
C [SHELL32.dll+0xa4929]
So I would guess that the problem is, that the code somehow loads a 32 bit library but you need a 64 bit one. Installing a 64 bit version of eclipse might help, but perhaps this is not sufficient as SWT Bot might load the DLL in a special way. If so I would expect you are not the first one running into this issue (but I was not the other one ;) ).