51Testing软件测试论坛

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

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

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

[求助] QC在生成报告的时候出错了

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2008-8-28 08:52:43 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
win2003 server
oracle9i

我在qc上建立了一个域,域下面三个子系统,其中一个子系统生成文档报告没问题;但是其他的两个使用文档生成器做的时候就不可以,不知道怎么问题,我把报错发上来看看:

报错代码:
Messages:
Failed to List Repository Files;
SQL error executing statement SELECT RP_ID,RP_PARENT_PATH,RP_NAME,RP_PATH_ID,RP_MODIFIED_TIME,LENGTH(RP_DATA) AS DATA_LENGTH FROM (SELECT * FROM (SELECT * FROM REPOSITORY WHERE RP_PARENT_PATH='0/1/5/' AND RP_NAME='TDTmplt.tcf' AND RP_PATH_ID=0 UNION ALL SELECT REPOSITORY.* FROM (SELECT REPOSITORY.*, RP_PARENT_PATH || TO_CHAR(RP_PATH_ID)||'/' AS FILE_PPATH FROM REPOSITORY WHERE (RP_PARENT_PATH = '0/1/5/') AND RP_NAME ='TDTmplt.tcf' AND RP_PATH_ID <> 0) FOLDER INNER JOIN REPOSITORY ON REPOSITORY.RP_PARENT_PATH LIKE FOLDER.FILE_PPATH || '%') D) D ORDER BY RP_PARENT_PATH;
[Mercury][Oracle JDBC Driver][Oracle]ORA-00932: inconsistent datatypes
;

Stack Trace:
java.sql.SQLException: [Mercury][Oracle JDBC Driver][Oracle]ORA-00932: inconsistent datatypes

at com.mercury.jdbc.base.BaseExceptions.createException(Unknown Source)
at com.mercury.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.mercury.jdbc.oracle.OracleImplStatement.execute(Unknown Source)
at com.mercury.jdbc.base.BaseStatement.commonExecute(Unknown Source)
at com.mercury.jdbc.base.BaseStatement.executeQueryInternal(Unknown Source)
at com.mercury.jdbc.base.BasePreparedStatement.executeQuery(Unknown Source)
at com.mercury.optane.core.db.CTdPreparedStatement.executeQuery(CTdPreparedStatement.java:510)
at com.mercury.optane.core.db.spring.JDBCTemplate.executeQuery(JDBCTemplate.java:554)
        wrapped in com.mercury.optane.core.db.CTdDbException: SQL error executing statement SELECT RP_ID,RP_PARENT_PATH,RP_NAME,RP_PATH_ID,RP_MODIFIED_TIME,LENGTH(RP_DATA) AS DATA_LENGTH FROM (SELECT * FROM (SELECT * FROM REPOSITORY WHERE RP_PARENT_PATH='0/1/5/' AND RP_NAME='TDTmplt.tcf' AND RP_PATH_ID=0 UNION ALL SELECT REPOSITORY.* FROM (SELECT REPOSITORY.*, RP_PARENT_PATH || TO_CHAR(RP_PATH_ID)||'/' AS FILE_PPATH FROM REPOSITORY WHERE (RP_PARENT_PATH = '0/1/5/') AND RP_NAME ='TDTmplt.tcf' AND RP_PATH_ID <> 0) FOLDER INNER JOIN REPOSITORY ON REPOSITORY.RP_PARENT_PATH LIKE FOLDER.FILE_PPATH || '%') D) D ORDER BY RP_PARENT_PATH
at com.mercury.optane.core.db.spring.JDBCTemplate.executeQuery(JDBCTemplate.java:560)
at com.mercury.optane.core.db.spring.JDBCTemplate.executeQuery(JDBCTemplate.java:442)
at com.mercury.optane.core.db.spring.JDBCTemplate.executeQuery(JDBCTemplate.java:429)
at com.mercury.optane.core.db.spring.JDBCTemplate.executeQuery(JDBCTemplate.java:357)
at com.mercury.optane.core.file.db.DBFileTree.listFilteredTable(DBFileTree.java:540)
at com.mercury.optane.core.file.db.DBFileTree.list(DBFileTree.java:514)
at com.mercury.optane.core.estorage.DBRepository.listFiles(DBRepository.java:58)
at com.mercury.td.tdserver.api.logics.CStreamingLogic.getFilesList(CStreamingLogic.java:100)
at com.mercury.td.web.server.CTdServlet.redirectListRepositoryFiles(CTdServlet.java:1321)
at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
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 List Repository Files
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)

[ 本帖最后由 lht821008 于 2008-8-28 08:54 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?(注-册)加入51Testing

x
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

3#
发表于 2009-12-26 22:10:14 | 只看该作者
郁闷,这个有点唐突啊
回复 支持 反对

使用道具 举报

该用户从未签到

2#
 楼主| 发表于 2008-9-2 22:38:20 | 只看该作者
已经解决,重启服务得到解决。
回复 支持 反对

使用道具 举报

本版积分规则

关闭

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

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

GMT+8, 2024-11-28 00:55 , Processed in 0.083273 second(s), 29 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

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