51Testing软件测试论坛

标题: 急!QC 9.0无法删除test历史result! - 在线等! [打印本页]

作者: infosys    时间: 2009-4-20 14:21
标题: 急!QC 9.0无法删除test历史result! - 在线等!
环境:
QTP脚本8.2
QC 9.0
QC 有admin权限

最近作QTP脚本的版本升级,然后要把QC上老版本的脚本作备份和删除。现在发生这种情况
请大家帮忙解决一下!Thx!



以下是QC报错信息,有谁能读懂是什么意思?
Messages:
Failed to Delete Run;
Failed to delete Run(s);
Failed to delete Run(s);

Stack Trace:
java.lang.NullPointerException
        wrapped in com.mercury.optane.core.CTdException: Failed to delete Run(s)
at com.mercury.td.tdserver.api.logics.CRunLogic.privateDeleteRuns(CRunLogic.java:1538)
at com.mercury.td.tdserver.api.logics.CRunLogic.deleteRun(CRunLogic.java:449)
        wrapped in com.mercury.optane.core.CTdException: Failed to delete Run(s)
at com.mercury.td.tdserver.api.logics.CRunLogic.deleteRun(CRunLogic.java:470)
at com.mercury.td.web.server.CTdServlet.redirectDeleteRun(CTdServlet.java:902)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.mercury.optane.core.web.CAbsServlet.executeFunction(CAbsServlet.java:554)
        wrapped in com.mercury.optane.core.CTdException: Failed to Delete Run
at com.mercury.optane.core.web.CAbsServlet.executeFunction(CAbsServlet.java:560)
at com.mercury.optane.core.web.CAbsServlet.processRequest(CAbsServlet.java:535)
at com.mercury.td.web.server.CTdServlet.processRequest(CTdServlet.java:319)
at com.mercury.optane.core.web.CAbsServlet.doPost(CAbsServlet.java:418)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:481)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:534)
作者: peterz    时间: 2009-4-20 14:29
先备份一下,然后去数据库里试试。看看能否删除
作者: infosys    时间: 2009-4-20 15:08
原帖由 peterz 于 2009-4-20 14:29 发表
先备份一下,然后去数据库里试试。看看能否删除


脚本已经备份好了,但是怎么去数据库内删除,能不能详细介绍一下。
本人已长期不碰数据库了
以下是我们QC的DB server:
Database Type:MS-SQL
Connection String: jdbc:mercury:sqlserver://g1w1148:2048

能不能详细说明一下,谢谢!




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2