|
使用RFT在IE上进行自动化测试时,运行几个用例会随机出现IE异常终止,并且在桌面上会留下java虚拟机的异常日志。
RFT版本为6.1,对页面控件的使用全是通过find方法,并且在使用结束后用注销掉了。
请问可能有哪些因素引发的该问题,有什么方法可以解决。谢谢!
由于不能贴附件,粘贴部分异常日志如下:
Stack: [0x00030000,0x00130000), sp=0x0012e4dc, free space=1017k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [kernel32.dll+0x12a6b]
C [rtxIEDomain.dll+0x23c55]
C [rtxIEDomain.dll+0x210e2]
J com.rational.test.ft.domain.html.HtmlProxy$HtmlElementEnumeration.hasMoreElements()Z
J com.rational.test.ft.domain.html.HtmlProxy.addChildrenToVector(Ljava/util/Enumeration;Ljava/util/Vector;)V
J com.rational.test.ft.domain.html.HtmlProxy.getMappableChildren()[Lcom/rational/test/ft/domain/ProxyTestObject;
J com.rational.test.ft.object.manager.TestObjectFinderAgent$3.send()Ljava/lang/Object;
J com.rational.test.ft.domain.ChannelRunnable.run()V
J com.rational.test.ft.domain.ThreadChannel.open()V
v ~StubRoutines::call_stub
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J com.rational.test.ft.domain.html.HtmlProxy$HtmlElementEnumeration.hasMoreElements(J)Z
J com.rational.test.ft.domain.html.HtmlProxy$HtmlElementEnumeration.hasMoreElements()Z
J com.rational.test.ft.domain.html.HtmlProxy.addChildrenToVector(Ljava/util/Enumeration;Ljava/util/Vector;)V
J com.rational.test.ft.domain.html.HtmlProxy.getMappableChildren()[Lcom/rational/test/ft/domain/ProxyTestObject;
J com.rational.test.ft.object.manager.TestObjectFinderAgent$3.send()Ljava/lang/Object;
J com.rational.test.ft.domain.ChannelRunnable.run()V
J com.rational.test.ft.domain.ThreadChannel.open()V
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x0d155800 JavaThread "RationalFtHelper" daemon [_thread_blocked, id=3728]
0x0c8b0000 JavaThread "CacheCleanUpThread" daemon [_thread_blocked, id=4052]
0x0c8cf400 JavaThread "traceMsgQueueThread" daemon [_thread_blocked, id=2980]
0x0c8b5800 JavaThread "TestContext" daemon [_thread_blocked, id=1700]
0x0c892c00 JavaThread "AWT-Windows" daemon [_thread_in_native, id=3940]
0x0c88f800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=2964]
0x01b75400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3264]
0x01b70800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=1232]
0x01b6c000 JavaThread "Attach Listener" daemon [_thread_blocked, id=3484]
0x01b82c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2104]
0x01b5ac00 JavaThread "Finalizer" daemon [_thread_blocked, id=4004]
0x01b56800 JavaThread "Reference Handler" daemon [_thread_blocked, id=3960]
=>0x01adac00 JavaThread "main" [_thread_in_native, id=2652]
Other Threads:
0x01b53800 VMThread [id=2168]
0x01b7f800 WatcherThread [id=4080]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 960K, used 884K [0x03f90000, 0x04090000, 0x04470000)
eden space 896K, 91% used [0x03f90000, 0x0405d250, 0x04070000)
from space 64K, 99% used [0x04070000, 0x0407fff8, 0x04080000)
to space 64K, 0% used [0x04080000, 0x04080000, 0x04090000)
tenured generation total 4096K, used 3390K [0x04470000, 0x04870000, 0x07f90000)
the space 4096K, 82% used [0x04470000, 0x047bf968, 0x047bfa00, 0x04870000)
compacting perm gen total 12288K, used 9557K [0x07f90000, 0x08b90000, 0x0bf90000)
the space 12288K, 77% used [0x07f90000, 0x088e55c0, 0x088e5600, 0x08b90000)
No shared spaces configured. |
|