An error occurred while disabling ie During rft script running.

Source: Internet
Author: User

Some time ago, when I used rft for automated testing, I encountered a strange problem. When you click the OK button in the pop-up interface using the script, there will be a certain probability that all IE interfaces will be closed, causing the script to fail to find a test object. When IE is disabled, the rft Virtual Machine generates a log report on the desktop. For convenience, the log Content is appended to the end of the article.

The emergence of this problem has a great impact on the effectiveness of automated testing. Each time the script runs, more than 20 scripts fail for this reason. After troubleshooting, two methods have been adopted:

1. Modify the JDK version of rft to be the same as that of the local JDK. The JDK version of rft is 1.5, and JDK 1.6 is installed on the local machine. I think the main impact is that IE uses JDK on the local machine, and the object checker should identify the objects on IE, which may be incompatible. Of course, this cannot be verified, just conjecture. Later, the JDK on the local machine was modified to 1.5. When the script was run again, the situation did not change.

Ii. when running the script, I accidentally found that the memory usage of IE remained high during the test. So I guess that, because the script runs in the form of logout and then login, and does not close IE, is it because the memory consumption of IE is too high that JVM reports an error and thus closes ie. So I tried to modify the processing logic of the script. Every time I log out and quit, I asked the script to automatically close IE and re-open it for testing, this is designed to avoid high memory usage by IE. After modification, the probability of script failure is significantly reduced.

 

Exception information log:

#
# An Unexpected error has been detected by Java Runtime Environment:
#
# Internal error (0xe06d7363), pid = 3852, tid = 3684
#
# Java VM: Java hotspot (TM) Client VM (10.0-B19 mixed mode, sharing windows-x86)
# Problematic frame:
# C [kernel32.dll + 0x12a5b]
#
# If you wowould 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 (0x03add800): javathread "thread-17" [_ thread_in_native, id = 3684, stack (0x06050000,0x06150000)]

Siginfo: predictioncode = 0xe06d7363, predictioninformation = 0x19930520 0x0614e5a0 0x050db5b4

Registers:
Eax = 0x0614e500, EBX = 0x133139dc, ECx = 0x00000000, EDX = 0x0614e5a0
ESP = 0x0614e4fc, EBP = 0x0614e550, ESI = 0x0614e590, EDI = 0x0614e590
EIP = 0x7c812a5b, eflags = 0x00000206

Top of Stack: (sp = 0x0614e4fc)
0x0614e4fc: 050d1fa4 e06d7363 00000001 00000000
0x0614e50c: 7c812a5b 00000003 19930520 0614e5a0
0x0614e51c: 050db5b4 ffffffff 7c9306eb 7c3416b3
0x0614e52c: 048e0000 00000003 048e0000 0000000c
0x0614e53c: 0614e584 7c92ee18 00010570 00000004
0x0614e54c: 0614e4a8 0614e590 050b9859 e06d7363
0x0614e55c: 00000001 00000003 0614e584 00000000
0x0614e56c: 133139dc e06d7363 00000001 00000000

Instructions: (Pc = 0x7c812a5b)
0x7c812a4b: 8d 7d C4 F3 A5 5f 8d 45 B0 50 FF 15 08 15 80 7c
0x7c812a5b: 5E C9 C2 10 00 85 ff 0f 8e 36 93 FF 8B 55 FC

STACK: [0x06050000,0x06150000], SP = 0x0614e4fc, free space = 1017 K
Native frames: (j = compiled Java code, j = interpreted, VV = VM code, c = native code)
C [kernel32.dll + 0x12a5b]
C [rtxiedomain. dll + 0x29859]
C [rtxiedomain. dll + 0x26522]
C [rtxiedomain. dll + 0x2196c]
C [rtxiedomain. dll + 0x1caa6]
C [rtxivsys. dll + 0x9a5d]
J com.rational.test.ft.domain.html. htmlproxy. getproperties (j) [ljava/lang/string;
J com.rational.test.ft.domain.html. htmlproxy. getproperty (ljava/lang/string;) ljava/lang/object;
V ~ Bufferblob: Interpreter
J com. Rational. Test. ft. Object. Manager. testobjectfinderagent $9. Send () ljava/lang/object;
J com. Rational. Test. ft. domain. channelrunnable. Run () V
J com. Rational. Test. ft. domain. threadchannel. open () V
V ~ Bufferblob: stubroutines (1)

Java frames: (j = compiled Java code, j = interpreted, VV = VM code)
J com.rational.test.ft.domain.html. htmlproxy. getproperties (j) [ljava/lang/string;
J com.rational.test.ft.domain.html. htmlproxy. getproperty (ljava/lang/string;) ljava/lang/object;
V ~ Bufferblob: Interpreter
J com. Rational. Test. ft. Object. Manager. testobjectfinderagent $9. Send () ljava/lang/object;
J com. Rational. Test. ft. domain. channelrunnable. Run () V
J com. Rational. Test. ft. domain. threadchannel. open () V
V ~ Bufferblob: stubroutines (1)

--------------- P r o c e s ---------------

Java threads: (=> current thread)
=> 0x03add800 javathread "thread-17" [_ thread_in_native, id = 3684, stack (0x06050000,0x06150000)]
0x043b8400 javathread "rationalfthelper" daemon [_ thread_blocked, id = 832, stack (0x05500000,0x05600000)]
0x04388000 javathread "cachecleanupthread" daemon [_ thread_blocked, id = 744, stack (0x04c00000, 0x04d00000)]
0x04368400 javathread "tracemsgqueuethread" daemon [_ thread_blocked, id = 3860, stack (0x04b00000, 0x04c00000)]
0x0435f400 javathread "testcontext" daemon [_ thread_blocked, id = 3348, stack (0x04a00000, 0x04b00000)]
0x04342000 javathread "AWT-Windows" daemon [_ thread_in_native, id = 3892, stack (0x04730000,0x04830000)]
0x03b1f000 javathread "java2d disposer" daemon [_ thread_blocked, id = 3968, stack (0x04530000,0x04630000)]
0x03a8bc00 javathread "low memory detector" daemon [_ thread_blocked, id = 3576, stack (0x04120000,0x04220000)]
0x03a86000 javathread "compilerthread0" daemon [_ thread_blocked, id = 904, stack (0x04020000,0x04120000)]
0x03a85000 javathread "Attach listener" daemon [_ thread_blocked, id = 3392, stack (0x03f20000, 0x04020000)]
0x03a8f800 javathread "signal dispatcher" daemon [_ thread_blocked, id = 2324, stack (0x03e20000, 0x03f20000)]
0x03a40400 javathread "finalizer" daemon [_ thread_blocked, id = 3520, stack (0x03d20000, 0x03e20000)]
0x03a3f400 javathread "reference handler" daemon [_ thread_blocked, id = 2300, stack (0x03c20000, 0x03d20000)]
0x01017800 javathread "Main" [_ thread_in_native, id = 3592, stack (0x00030000,0x00130000)]

Other threads:
0x03a3e000 vmthread [Stack: 0x03b20000, 0x03c20000] [ID = 640]
0x03a98800 watcherthread [Stack: 0x04220000,0x04320000] [ID = 768]

VM state: Not at safepoint (normal execution)

VM mutex/monitor currently owned by a thread: None

Heap
Def New Generation total 960 K, used 805 K [0x229d0000, 0x22ad0000, 0x22eb0000)
Eden space 896 K, 82% used [0x229d0000, 0x22a894d8, 0x22ab0000)
From space 64 K, 99% used [0x22ab0000, 0x22abfff8, 0x22ac0000)
To space 64 K, 0% used [0x22ac0000, 0x22ac0000, 0x22ad0000)
Tenured generation total 7828 K, used 5953 K [0x22eb0000, 0x23655000, 0x269d0000)
The space 7828 K, 76% used [0x22eb0000, 0x234804b0, 0x23480600, 0x23655000)
Compacting perm Gen total 12288 K, used 3921 K [0x269d0000, 0x275d0000, 0x2a9d0000)
The space 12288 K, 31% used [0x269d0000, 0x26da4460, 0x26da4600, 0x275d0000)
RO space 8192 K, 62% used [0x2a9d0000, 0x2aed2a28, 0x2aed2c00, 0x2b1d0000)
RW space 12288 K, 52% used [0x2b1d0000, 0x2b8186b8, 0x2b818800, 0x2bdd0000)

Dynamic libraries:
0x00400000-0x00419000 C:/program files/Internet Explorer/iexplore.exe
0x7c920000-0x7c9b4000 C:/Windows/system32/NTDLL. dll
0x7c800000-0x7c91d000 C:/Windows/system32/kernel32.dll
0x77be0000-0x77c38000 C:/Windows/system32/msvcrt. dll
0x77d10000-0x77d9f000 C:/Windows/system32/user32.dll
0x77ef0000-0x77f37000 C:/Windows/system32/gdi32.dll
0x77f40000-0x77fb6000 C:/Windows/system32/shlwapi. dll
0x77da0000-0x77e49000 C:/Windows/system32/advapi32.dll
0x77e50000-0x77ee2000 C:/Windows/system32/rpcrt4.dll
0x77fc0000-0x77fd1000 C:/Windows/system32/secur32.dll
0x7e550000-0x7e6bf000 C:/Windows/system32/shdocvw. dll
0x765e0000-0x76672000 C:/Windows/system32/crypt32.dll
0x76db0000-0x76dc2000 C:/Windows/system32/MSASN1.DLL
0x75430000-0x754a1000 C:/Windows/system32/cryptui. dll
0x76c00000-0x76c2e000 C:/Windows/system32/wintrust. dll
0x76c60000-0x76c88000 C:/Windows/system32/imagehlp. dll
0x770f0000-0x7717b000 C:/Windows/system32/oleaut32.dll
0x76990000-0x76acd000 C:/Windows/system32/ole32.dll
0x5fdd0000-0x5fe24000 C:/Windows/system32/netapi32.dll
0x76680000-0x76722000 C:/Windows/system32/wininet. dll
0x76f30000-0x76f5c000 C:/Windows/system32/wldap32.dll
0x77bd0000-0x77bd8000 C:/Windows/system32/version. dll
0x76300000-0x7631d000 C:/Windows/system32/imm32.dll
0x62c20000-0x62c29000 C:/Windows/system32/LPK. dll
0x73fa0000-0x7400b000 C:/Windows/system32/usp10.dll
0x77180000-0x77283000 C:/Windows/winsxs/x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03/comctl32.dll
0x7d590000-0x7dd83000 C:/Windows/system32/shell32.dll
0x5d170000-0x5d20a000 C:/Windows/system32/comctl32.dll
0x305e0000-0x305f6000 C:/program files/Kaspersky Lab/Kaspersky Anti-Virus 7.0/miscr3.dll
0x30480000-0x3048e000 C:/program files/Kaspersky Lab/Kaspersky Anti-Virus 7.0/fssync. dll
0x78130000-0x781cb000 C:/program files/Kaspersky Lab/Kaspersky Anti-Virus 7.0/msvcr80.dll
0x5adc0000-0x5adf7000 C:/Windows/system32/uxtheme. dll
0x74680000-0x746cb000 C:/Windows/system32/msctf. dll
0x75ef0000-0x75fed000 C:/Windows/system32/browseui. dll
0x307e0000-0x30807000 C:/program files/Kaspersky Lab/Kaspersky Anti-Virus 7.0/scrchpg. dll
0x20000000-0x2000f000 C:/Windows/system32/browselc. dll
0x76d70000-0x76d92000 C:/Windows/system32/apphelp. dll
0x76fa0000-0x7701f000 C:/Windows/system32/clbcatq. dll
0x77020000-0x770ba000 C:/Windows/system32/comres. dll
0x73640000-0x7425e000 C:/Windows/system32/msctfime. ime
0x76590000-0x765de000 C:/Windows/system32/cscui. dll
0x76570000-0x7658c000 C:/Windows/system32/cscdll. dll
0x76060000-0x761b6000 C:/Windows/system32/setupapi. dll
0x75c60000-0x75cff000 C:/Windows/system32/urlmon. dll
0x10000000-0x1001f000 E:/program files/IBM/sdp70/functionaltester/bin/rtxieenabler. dll
0x6d7c0000-0x6d83b000 C:/program files/Java/jre1.6.0 _ 05/bin/SSV. dll
0x7c340000-0x7c0000000 C:/program files/Java/jre1.6.0 _ 05/bin/msvcr71.dll
0x6d6b0000-0x6d6d1000 C:/program files/Java/jre1.6.0 _ 05/bin/npjpi160_05.dll
0x6d400000-0x6d41b000 C:/program files/Java/jre1.6.0 _ 05/bin/jpiexp. dll
0x6d1b0000-0x6d1c1000 C:/program files/Java/jre1.6.0 _ 05/bin/deploy. dll
0x71a40000-0x71a4b000 C:/Windows/system32/wsock32.dll
0x71a20000-0x71a37000 C:/Windows/system32/ws2_32.dll
0x71a10000-0x71a18000 C:/Windows/system32/ws2help. dll
0x719c0000-0x719fe000 C:/Windows/system32/mswsock. dll
0x76ef0000-0x76f17000 C:/Windows/system32/dnsapi. dll
0x30460000-0x3047b000 C:/program files/Kaspersky Lab/Kaspersky Anti-Virus 7.0/dnsq. dll
0x76f80000-0x76f88000 C:/Windows/system32/winrnr. dll
0x74cc0000-0x74cde000 C:/Windows/system32/wshbth. dll
0x6d450000-0x6d474000 C:/program files/Java/jre1.6.0 _ 05/bin/jpishare. dll
0x01770000-0x019c0000 C:/progra ~ 1/Java/jre16 ~ 1.0 _ 0/bin/client/JVM. dll
0x76b10000-0x76b3a000 C:/Windows/system32/winmm. dll
0x6d270000-0x6d278000 C:/progra ~ 1/Java/jre16 ~ 1.0 _ 0/bin/HPI. dll
0x76bc0000-0x76bcb000 C:/Windows/system32/psapi. dll
0x6d770000-0x6d77c000 C:/progra ~ 1/Java/jre16 ~ 1.0 _ 0/bin/verify. dll
0x6d310000-0x6d32f000 C:/progra ~ 1/Java/jre16 ~ 1.0 _ 0/bin/Java. dll
0x6d7b0000-0x6d7bf000 C:/progra ~ 1/Java/jre16 ~ 1.0 _ 0/bin/zip. dll
0x6d000000-0x6d12e000 C:/program files/Java/jre1.6.0 _ 05/bin/AWT. dll
0x72f70000-0x72f96000 C:/Windows/system32/winspool. DRV
0x736d0000-0x73719000 C:/Windows/system32/ddraw. dll
0x73b30000-0x73b36000 C:/Windows/system32/dciman32.dll
0x6d210000-0x6d263000 C:/program files/Java/jre1.6.0 _ 05/bin/fontmanager. dll
0x04830000-0x048c1000 E:/program files/IBM/sdp70/functionaltester/bin/rtxivsys. dll
0x74be0000-0x74c0c000 C:/Windows/system32/oleacc. dll
0x75ff0000-0x76055000 C:/Windows/system32/msvcp60.dll
0x6d3e0000-0x6d3f8000 C:/program files/Java/jre1.6.0 _ 05/bin/jpicom. dll
0x76eb0000-0x76eec000 C:/Windows/system32/rasapi32.dll
0x76e60000-0x76e72000 C:/Windows/system32/RASMAN. dll
0x76e80000-0x76eaf000 C:/Windows/system32/tapi32.dll
0x76e50000-0x76e5e000 C:/Windows/system32/rtutils. dll
0x77c40000-0x77c63000 C:/Windows/system32/msv1_0.dll
0x76d30000-0x76d48000 C:/Windows/system32/iphlpapi. dll
0x72240000-0x72245000 C:/Windows/system32/sensapi. dll
0x759d0000-0x75a7e000 C:/Windows/system32/userenv. dll
0x6d570000-0x6d583000 C:/program files/Java/jre1.6.0 _ 05/bin/net. dll
0x76f90000-0x76f96000 C:/Windows/system32/rasadhlp. dll
0x60fd0000-0x61025000 C:/Windows/system32/hnetcfg. dll
0x71a00000-0x71a08000 C:/Windows/system32/wshtcpip. dll
0x05040000-0x0507c000 C:/program files/Java/jre1.6.0 _ 05/bin/regutils. dll
0x7c9c0000-0x7cc7e000 C:/Windows/system32/MSI. dll
0x05090000-0x050e8000 E:/program files/IBM/sdp70/functionaltester/bin/rtxiedomain. dll
0x05600000-0x05b49000 C:/Windows/system32/xpsp2res. dll
0x04640000-0x046bc000 C:/Windows/system32/shdoclc. dll
0x74cf0000-0x74d81000 C:/Windows/system32/mlang. dll
0x75e00000-0x75eae000 C:/Windows/system32/sxs. dll
0x60800000-0x60809000 C:/Windows/system32/mslbui. dll
0x65d50000-0x65d57000 C:/Windows/system32/jsproxy. dll
0x75bc0000-0x75c2f000 C:/Windows/system32/jscript. dll
0x7e210000-0x7e506000 C:/Windows/system32/mshtml. dll
0x74620000-0x74647000 C:/Windows/system32/msls31.dll
0x74650000-0x7467a000 C:/Windows/system32/msimtf. dll
0x06c30000-0x06c9f000 C:/program files/common files/Microsoft shared/ink/penchs. dll
0x5c380000-0x5c3c2000 C:/Windows/IME/sptip. dll
0x06db0000-0x06dc1000 C:/Windows/IME/spgrmr. dll
0x325c0000-0x325d2000 C:/program files/Microsoft Office/office11/msoev. dll
0x30510000-0x3051b000 C:/program files/Kaspersky Lab/Kaspersky Anti-Virus 7.0/klscav. dll
0x30760000-0x30774000 C:/program files/Kaspersky Lab/Kaspersky Anti-Virus 7.0/prremote. dll
0x7c420000-0x7c4a7000 C:/program files/Kaspersky Lab/Kaspersky Anti-Virus 7.0/msvcp80.dll
0x30710000-0x30758000 C:/program files/Kaspersky Lab/Kaspersky Anti-Virus 7.0/prloader. dll
0x311f0000-0x31220000 C:/program files/Kaspersky Lab/Kaspersky Anti-Virus 7.0/prkernel. ppl
0x31080000-0x310f1000 C:/program files/Kaspersky Lab/Kaspersky Anti-Virus 7.0/Params. ppl
0x312c0000-0x312c9000 C:/program files/Kaspersky Lab/Kaspersky Anti-Virus 7.0/pxstub. ppl
0x31430000-0x31437000 C:/program files/Kaspersky Lab/Kaspersky Anti-Virus 7.0/tempfile. ppl
0x31010000-0x31026000 C:/program files/Kaspersky Lab/Kaspersky Anti-Virus 7.0/nfio. ppl
0x30d90000-0x30d96000 C:/program files/Kaspersky Lab/Kaspersky Anti-Virus 7.0/fsdrvplg. ppl
0x30be0000-0x30c98000 C:/program files/Kaspersky Lab/Kaspersky Anti-Virus 7.0/basegui. ppl
0x31440000-0x31448000 C:/program files/Kaspersky Lab/Kaspersky Anti-Virus 7.0/thpimpl. ppl
0x31660000-0x31669000 C:/program files/Kaspersky Lab/Kaspersky Anti-Virus 7.0/winreg. ppl
0x72c90000-0x72c99000 C:/Windows/system32/wdmaud. DRV
0x72c80000-0x72c88000 C:/Windows/system32/msacm32.drv
0x77bb0000-0x77bc5000 C:/Windows/system32/msacm32.dll
0x77ba0000-0x77ba7000 C:/Windows/system32/midimap. dll
0x753b0000-0x75421000 C:/Windows/system32/mshtmled. dll
0x5dd50000-0x5de63000 C:/Windows/system32/msxml3.dll
0x6c140000-0x6c176000 C:/Windows/system32/dxtrans. dll
0x76af0000-0x76b01000 C:/Windows/system32/ATL. dll
0x0aa80000-0x0aa8a000 C:/Windows/system32/ddrawex. dll
0x6c180000-0x6c1da000 C:/Windows/system32/dxtmsft. dll
0x30000000-0x303af000 C:/Windows/system32/macromed/flash/flash9f. ocx

VM arguments:
Jvm_args:-xbootclasspath/A: C:/progra ~ 1/Java/jre16 ~ 1.0 _ 0/lib/deploy. jar; C:/progra ~ 1/Java/jre16 ~ 1.0 _ 0/lib/plugin. jar-xmx64m-djavaplugin. maxheapsize = 64 m-xverify: Remote-djavaplugin. version = 1.6.0 _ 05-djavaplugin. nodotversion = 160_05-dbrowser = sun. plugin-dtrustproxy = true-dapplication. home = C:/progra ~ 1/Java/jre16 ~ 1.0 _ 0-djavaplugin. VM. Options =-djava. Class. Path = C:/progra ~ 1/Java/jre16 ~ 1.0 _ 0/classes-xbootclasspath/A: C:/progra ~ 1/Java/jre16 ~ 1.0 _ 0/lib/deploy. jar; C:/progra ~ 1/Java/jre16 ~ 1.0 _ 0/lib/plugin. jar-xmx64m-djavaplugin. maxheapsize = 64 m-xverify: Remote-djavaplugin. version = 1.6.0 _ 05-djavaplugin. nodotversion = 160_05-dbrowser = sun. plugin-dtrustproxy = true-dapplication. home = C:/progra ~ 1/Java/jre16 ~ 1.0 _ 0
Java_command: <Unknown>
Launcher type: Generic

Environment variables:
Java_home = C:/jdk1.6.0 _ 05
Classpath =.; C:/jdk1.6.0 _ 05/lib/tools. jar; C:/jdk1.6.0 _ 05/lib/dt. Jar
Path = C:/progra ~ 1/Java/jre16 ~ 1.0 _ 0/bin; E:/program files/IBM/sdp70shared/agentcontroller/bin; C:/jdk1.6.0 _ 05/bin; D: /Oracle/product/10.2.0/db_1/bin; C:/Windows/system32; C:/windows; C:/Windows/system32/WBEM; C: /program files/stormii/codec; C:/program files/stormii ;.
Username = Administrator
OS = windows_nt
Processor_identifier = x86 family 6 model 15 stepping 13, genuineintel

 

--------------- S y s t e m ---------------

OS: Windows XP build 2600 Service Pack 2

CPU: Total 2 (2 cores per CPU, 1 threads per core) family 6 model 15 stepping 13, cmov, cx8, fxsr, MMX, SSE, sse2, sse3, ssse3

Memory: 4 K page, physical 2095468 K (1263896 K free), swap 4037492 K (3236808 K free)

Vm_info: Java hotspot (TM) Client VM (10.0-b19) for windows-x86 JRE (1.6.0 _ 05-b13), built on Feb 22 2008 01:16:53 by "java_re" with ms vc ++ 7.1

Time: Sat Aug 16 11:48:28 2008
Elapsed time: 161 seconds

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.