Error : APP-FND-01926: The custom event WHEN-LOGON-CHANGED raised unhandled exception: ORA-06502: PL
In this Document
_afrLoop=440418974213449&id=1508865.1&_afrWindowMode=0&_adf.ctrl-state=9tvmuxok_4#SYMPTOM">Symptoms |
Cause |
Solution |
APPLIES TO:
Oracle Application Object Library - Version 11.5.9 to 12.1.3 [Release 11.5 to 12.1]
Oracle Applications Technology Stack - Version 11.5.9 to 12.1.3 [Release 11.5 to 12.1]
Information in this document applies to any platform.
SYMPTOMS
Problem Description:
-----------------------
When attempting to launch forms the following error occurs.
CAUSE
Site level profile option value for profile option: FND: Debug Log Level was incorrect. It was showing as 'Unexpected' in database where as it should show the numeric value 6 instead of 'Unexpected'. Once we enable level 12 trace for database then this cause of error can be determined. Profile option value can be checked using below sql.
2 FROM fnd_profile_option_values a, fnd_responsibility_tl b, fnd_application c,fnd_user d, fnd_profile_options e
3 WHERE e.profile_option_name = 'AFLOG_LEVEL'
4 AND e.profile_option_id = a.profile_option_id AND a.level_value = b.responsibility_id (+)
5 AND a.level_value = c.application_id (+) AND a.level_value = d.user_id (+)
6 ORDER BY profile_option_name;
PROFILE L LVALUE VALUE UPDATED_DATE
------------------------- ----------- ------------- ------------------ ---------------------------------
AFLOG_LEVEL Site Site Unexpected Mon DD YYYY HH:MM:SS
Profile option: FND: Debug Log Level should be set correctly. It should not null or should not be showing varchar value in database. It should show the numeric value and this is the reason of error "ORA-06502: PL/SQL: numeric or value error". Default value for this profile option is 'Unexpected' but when it saved in database then it will be save in numeric value which corresponds to 6.
The main cause of the reported error is corrupt or invalid CUSTOM.pll. First we should be making sure that CUSTOM.pll used is able to generate CUSTOM.plx successfully.
For 11i use the below command to generate the CUSTOM.plx from CUSTOM.pll :
module=$AU_TOP/resource/CUSTOM.pll \
userid=APPS/xxx \
output_file=$AU_TOP/resource/CUSTOM.plx \
module_type=library batch=yes compile_all=special
and For R12.0.x and R12.1.x use the below command :
module=$AU_TOP/resource/CUSTOM.pll \
userid=APPS/xxx \
output_file=$AU_TOP/resource/CUSTOM.plx \
module_type=library batch=yes compile_all=special
If there is any error during generation of CUSTOM.plx then it should be rectified first before checking the profile option value explained above. CUSTOM.pll should be correct one and should able to generate CUSTOM.plx as it is being read during launching of forms. If there will be any uncompiled packages written inside CUSTOM.pll then it will not read correctly during forms launch and will end in error.
SOLUTION
1. Update the profile option value of profile option: FND: Debug Log Level from Unexpected to 6 using below SQL commands.
Connect to SQLPLUS as APPS User :
SQL> select profile_option_id from fnd_profile_options where profile_option_name='AFLOG_LEVEL';
Take the Profile Option ID.
SQL> select * from fnd_profile_option_values where profile_option_id=3099;
SQL> update fnd_profile_option_values set PROFILE_OPTION_VALUE='6' where profile_option_id=3099 and level_id=10001;
SQL> commit;
SQL> SELECT SUBSTR(e.profile_option_name,1,25) PROFILE,DECODE(a.level_id,10001,'Site',10002,'Application',10003,'Resp',10004,'User') L,DECODE(a.level_id,10001,'Site',10002,c.application_short_name,10003,b.responsibility_name,10004,d.user_name) LValue,NVL(a.profile_option_value,'Is Null') Value,SUBSTR(a.last_update_date,1,25) UPDATED_DATE
FROM fnd_profile_option_values a, fnd_responsibility_tl b, fnd_application c,fnd_user d, fnd_profile_options e
WHERE e.profile_option_name = 'AFLOG_LEVEL'
AND e.profile_option_id = a.profile_option_id AND a.level_value = b.responsibility_id (+)
AND a.level_value = c.application_id (+) AND a.level_value = d.user_id (+)
ORDER BY profile_option_name;
It should show now the correct profile option value as 6.
2. Stop all appsTier services.
3. 'Regenerate Form Files' using adadmin utility. It should be successful.
4. Start all appsTier services.
5. Retest the issue.
版权声明:本文博客原创文章。博客,未经同意,不得转载。
Error : APP-FND-01926: The custom event WHEN-LOGON-CHANGED raised unhandled exception: ORA-06502: PL的更多相关文章
- Javascript 自定义事件 (custom event)
Javascript 中经常会用到自定义事件.如何创建一个简单的自定义事件呢?在创建自定义的事件之前,我们应该考虑一下和事件有关的东西.例如 click 事件,首先我们要能注册一个click事件(在一 ...
- javascript & global event & custom event
javascript & global event & custom event new CustomEvent object let event = new CustomEvent( ...
- Error creating bean with name 'com.cloud.feign.interfaces.xxxFeignClient': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalSt.PathVariable annotation was empty on
环境: Spring Cloud:Finchley.M8 Spring Boot:2.0.0.RELEASE 报错信息: Error creating bean with name 'com.clou ...
- custom event in javascript and jquery
javascript: // add a eventListener document.addEventListener("abc", function(){alert('this ...
- AndroidStudio编译error:app:validateReleaseSigning'Keystore file not found for signing config 'release
使用AndroidStudio编译时提示error: Error:Execution failed for task ‘:app:validateReleaseSigning’. > Keyst ...
- C# 如何添加自定义键盘处理事件 如何配置app.config ? | csharp key press event tutorial and app.config
本文首发于个人博客https://kezunlin.me/post/9f24ebb5/,欢迎阅读最新内容! csharp key press event tutorial and app.config ...
- JNI内存泄露JNI ERROR (app bug): local reference table overflow (max=512)
原因是没即时释放对象,原本的代码是这样 static jobject getMaps(JNIEnv *env,jclass obj) { jclass stringbuilder_class = (* ...
- 启动node程序报错:event.js:183 throw er; // unhandled 'error' event
启动node程序时,报如下错误:
- [jQuery] Custom event trigger
$(document).ready(function(){ // Get Weather $('button').on('show.weather', function() { var results ...
随机推荐
- POJ - 1422 Air Raid 二分图最大匹配
题目大意:有n个点,m条单向线段.如今问要从几个点出发才干遍历到全部的点 解题思路:二分图最大匹配,仅仅要一条匹配,就表示两个点联通,两个点联通仅仅须要选取当中一个点就可以,所以有多少条匹配.就能够减 ...
- EasyUI - DataGrid 组建 - [ 删除,修改 ]
效果: html代码: <div style="padding-top: 50px; width: 800px; margin: 0 auto;"> <!--使用 ...
- MSSQL - 逻辑主键、业务主键和复合主键
转载自:http://blog.csdn.net/sunrise918/article/details/5575054 这几天对逻辑主键.业务主键和复合主键进行了一些思考,也在网上搜索了一下相关的讨论 ...
- PHP 页面跳转到另一个页面的几种方法分享
如何在 PHP 中从一个页面重定向到另外一个页面呢?今天 清源 为大家列举出了三种办法,供大家来参考. 一.用HTTP头信息 也就是用PHP的HEADER函数.PHP里的HEADER函数的作用就是向 ...
- linux下C/C++IDE比较——Code::Blocks
工欲善其事,必先利其器.用了这么久的linux,现在比较主流的几个C/C++的IDE基本已都用过了,现在来对他们做一下简单的比较. 1.VIM首先要说的是VIM.我认为,VIM只是一个编辑器,不能算是 ...
- Mac+IPAD上使用wireshark抓包
首先先下载wireshark和Xquartz wireshark地址: http://www.wireshark.org/download.html Xquartz 地址:http://xquartz ...
- 浅谈sqlldr
1.安装oracle sqlldr 2.配置sqlldr环境 3java代码的实现 在windows下面sqlldr: sqlldr = “cmd /c start D:/oracle/produ ...
- TestNg JAVA 自动化单元测试框架Demo
TestNg TestNg 是java的一个自动化单元测试框架 参考:http://testng.org/doc/index.html 环境准备 既然是java 的自动化单元测试框架,就必须要有jav ...
- 纯win32实现PNG图片透明窗体
#include <windows.h> #include <gdiplus.h> /* GDI+ startup token */ ULONG_PTR gdiplusSta ...
- TObject简要说明-对象的创建流程
TObject = class //创建 constructor Create; //释放 procedure Free; //初始化实列 class functi ...