FSG报表打印报错,log文件显示java.sql.SQLException: No corresponding LOB data found

报错信息:

+---------------------------------------------------------------------------+
Plsql 程序的日志信息开始
+---------------------------------------------------------------------------+
+---------------------------------------------------------------------------+
PlSql 程序的日志信息结尾
+---------------------------------------------------------------------------+




+---------------------------------------------------------------------------+
正在执行请求完成选项...


Output file size: 
84652




未打印输出文件,因为:
已禁用此报表的打印选项。


+------------- 1) PUBLISH -------------+
节点 HANDDEV 上的请求 8635834 于 15-08-2014 10:02:03 开始进行后期处理。
请求 8635834 的后期处理于 15-08-2014 10:02:03 失败,并显示错误消息:
One or more post-processing actions failed. Consult the OPP service log for details.
+--------------------------------------+


+------------- 2) PRINT   -------------+
+--------------------------------------+




已完成执行请求完成选项。


+---------------------------------------------------------------------------+
已完成并发请求
当前的系统时间为 15-08-2014 10:02:03


+---------------------------------------------------------------------------+


查看日志信息:



metalink上查找,发现是一个bug,但是只有说是版本,

Oracle General Ledger - Version 11.5.10.2 to 11.5.10.2 [Release 11.5.10]
BI Publisher (formerly XML Publisher) - Version 11.5 to 11.5 [Release 11.5

查了一下




不是bug,其实,我们检查了fsg报表模板,发现英文模板存在,但是中文不存在,所以出错。

解决办法:把英文模板改为中文,或者复制一个英文模板,改为中文,搞定

附上metalink


FSG: 'Program - Publish FSG Report': One Step Publish To XML Document After XML Publisher 5.6 Upgrade Fails With No Corresponding LOB Data Found (文档 ID 398905.1)转到底部

In this Document

Symptoms
 Changes
 Cause
 Solution
 Still Have Questions?
 References

APPLIES TO:

Oracle General Ledger - Version 11.5.10.2 to 11.5.10.2 [Release 11.5.10]
BI Publisher (formerly XML Publisher) - Version 11.5 to 11.5 [Release 11.5]
Information in this document applies to any platform.
Program - Publish FSG Report (XML / BI Publisher)
Program: RGRARG - Financial Statement Generator (FSG)


SYMPTOMS

You upgraded XML Publisher to 5.6.



You attempt to publish a FSG Report in one step.

It fails with error the error:
java.sql.SQLException: No corresponding LOB data found :SELECT L.FILE_DATA FILE_DATA, DBMS_LOB.GETLENGTH(L.FILE_DATA) FILE_LENGTH, L.LANGUAGE LANGUAGE, L.TERRITORY TERRITORY, B.DEFAULT_LANGUAGE DEFAULT_LANGUAGE, B.DEFAULT_TERRITORY DEFAULT_TERRITORY,B.TEMPLATE_TYPE_CODE TEMPLATE_TYPE_CODE, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.START_DATE START_DATE, B.END_DATE END_DATE, B.TEMPLATE_STATUS TEMPLATE_STATUS, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.DS_APP_SHORT_NAME DS_APP_SHORT_NAME, B.DATA_SOURCE_CODE DATA_SOURCE_CODE, L.LOB_TYPE LOB_TYPE FROM XDO_LOBS L, XDO_TEMPLATES_B B WHERE (L.LOB_TYPE = 'TEMPLATE' OR L.LOB_TYPE = 'MLS_TEMPLATE') AND L.APPLICATION_SHORT_NAME= :1 AND L.LOB_CODE = :2 AND L.APPLICATION_SHORT_NAME = B.APPLICATION_SHORT_NAME AND L.LOB_CODE = B.TEMPLATE_CODE AND ( (L.LANGUAGE = :3 AND L.TERRITORY = :4 ) OR (L.LANGUAGE = :5 AND L.TERRITORY = :6) OR (L.LANGUAGE= B.DEFAULT_LANGUAGE AND L.TERRITORY= B.DEFAULT_TERRITORY ) ) 
at oracle.apps.xdo.oa.schema.server.TemplateInputStream.initStream(TemplateInputStream.java:357) 
at oracle.apps.xdo.oa.schema.server.TemplateInputStream.<init>(TemplateInputStream.java:193) 
at oracle.apps.xdo.oa.schema.server.TemplateHelper.getTemplateFile(TemplateHelper.java:1223) 
at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3547) 
at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3614) 
at oracle.apps.xdo.oa.cp.JCP4XMLPublisher.runProgram(JCP4XMLPublisher.java:814) 
at oracle.apps.fnd.cp.request.Run.main(Run.java:148) 

Steps to reproduce:

1. General ledger responsibility 
2. Other : Request : Submit a new request :Single request
3. "Program - Publish FSG Report" and enter the parameters

CHANGES

Upgraded XML Publisher to 5.

CAUSE

The cause of this problem has been identified in unpublished Bug 5097575 FSG PUBLISHER DOES NOT WORK IN 5.6.1 BUT WORK IN XML PUBLISHER 5.6.
It is caused by XML Publisher, which requires different parameters.

SOLUTION

To Implement the solution take the following steps:
------------------

Apply Patch 5585863 FSG FUNCTIONALITY FOR R11i INCLUDING XML AS OF 10/17/06.

Note:  This patch delivers logic to enable you to submit the Program - Publish FSG Report with XDO versions 5.0, 5.5, 5.6.0 and 5.6.1. 

1. Download and install Patch: 5585863.

2. Read the readme.txt and ensure all prerequisites are met. 

3. Install on a TEST instance experiencing the same issue, after having done appropriate backups.

4. Bounce the server

5. Test the issue

6. If the issue is resolved, migrate to other instances as appropriate.




Still Have Questions?

 

To discuss this information further with Oracle experts and industry peers, we encourage you to review, join or start a discussion in the  My Oracle Support General Ledger Community.

To provide feedback on this note, click on the  Rate this document link.



REFERENCES

BUG:5097575 - FSG PUBLISHER DOES NOT WORK IN 5.6.1 BUT WORK IN XML PUBLISHER 5.6
BUG:5097575 - FSG PUBLISHER DOES NOT WORK IN 5.6.1 BUT WORK IN XML PUBLISHER 5.6
BUG:5585863 - PROGRAM - PUBLISH FSG REPORT DOES NOT WORK FOR XDO 5.6
NOTE:337999.1 - About XML Publisher Release 5.6
NOTE:362431.1 - Publish FSG Report Fails After XML Publisher 5.6.1 Upgrade


转载于:https://www.cnblogs.com/wanghang/p/6299257.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值