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

时间:2021-01-27 22:52:24

报错信息:

+---------------------------------------------------------------------------+
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


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


查看日志信息:

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


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

查了一下

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



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

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

附上metalink


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

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

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