51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 1646|回复: 2
打印 上一主题 下一主题

[原创] QC9.0从TD8.0中移置项目后报错

[复制链接]
  • TA的每日心情
    开心
    2015-3-16 08:52
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]测试小兵

    跳转到指定楼层
    1#
    发表于 2011-4-25 17:07:49 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
    如题,每当我要在移置过来的项目中添加需求或是新建测试时都会出现如下错误:

    Messages:
    Failed to Post Req;
    Failed to create new requirement;
    Failed to reorder children items of entity 'REQ' with id #-1;
    [Mercury][SQLServer JDBC Driver][SQLServer]名为 'crs' 的游标已存在。;
    Stack Trace:
    java.sql.SQLException: [Mercury][SQLServer JDBC Driver][SQLServer]名为 'crs' 的游标已存在。
    at com.mercury.jdbc.base.BaseExceptions.createException(Unknown Source)
    at com.mercury.jdbc.base.BaseExceptions.getException(Unknown Source)
    at com.mercury.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
    at com.mercury.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
    at com.mercury.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source)
    at com.mercury.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
    at com.mercury.jdbc.sqlserver.SQLServerImplStatement.getNextResultType(Unknown Source)
    at com.mercury.jdbc.base.BaseStatement.commonTransitionToState(Unknown Source)
    at com.mercury.jdbc.base.BaseStatement.postImplExecute(Unknown Source)
    at com.mercury.jdbc.base.BasePreparedStatement.postImplExecute(Unknown Source)
    at com.mercury.jdbc.base.BaseStatement.commonExecute(Unknown Source)
    at com.mercury.jdbc.base.BaseStatement.executeUpdateInternal(Unknown Source)
    at com.mercury.jdbc.base.BasePreparedStatement.executeUpdate(Unknown Source)
    at com.mercury.optane.core.db.CTdPreparedStatement.executeUpdate(CTdPreparedStatement.java:524)
    at com.mercury.td.tdserver.tdutil.CTdServerGeneralFunctions.reorderChildItems(CTdServerGeneralFunctions.java:1225)
    wrapped in com.mercury.optane.core.CTdException: Failed to reorder children items of entity 'REQ' with id #-1
    at com.mercury.td.tdserver.tdutil.CTdServerGeneralFunctions.reorderChildItems(CTdServerGeneralFunctions.java:1235)
    at com.mercury.td.tdserver.api.logics.CRequirementLogic.reorderChildNodes(CRequirementLogic.java:1402)
    at com.mercury.td.tdserver.api.logics.CRequirementLogic.createRequirement(CRequirementLogic.java:1188)
    wrapped in com.mercury.optane.core.CTdException: Failed to create new requirement
    at com.mercury.td.tdserver.api.logics.CRequirementLogic.createRequirement(CRequirementLogic.java:1290)
    at com.mercury.td.tdserver.api.logics.CRequirementLogic.postRequirement(CRequirementLogic.java:347)
    at com.mercury.td.web.server.CTdServlet.redirectPostReq(CTdServlet.java:782)
    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 Post Req
    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)

    请众位高手求解....
    分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
    收藏收藏
    回复

    使用道具 举报

    该用户从未签到

    2#
    发表于 2011-4-26 12:21:39 | 只看该作者
    坐等高手解决.....
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    开心
    2015-3-16 08:52
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]测试小兵

    3#
     楼主| 发表于 2011-4-28 08:24:13 | 只看该作者
    不知道算不算解决了,我把移置过来的项目再在QC中复制了一份就可以了...
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条

    小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

    GMT+8, 2024-11-13 04:14 , Processed in 0.072677 second(s), 27 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

    快速回复 返回顶部 返回列表