FRM-40735:POST-QUERY triger raised unhandled exception ORA-06502
This is the code i am trying to execute:
Select product_description into :blk_lmtms_temple_products_rest.product_description
from table1 where product_code = :product_code;
table description is:
NAME Null? Type
PRODUCT_CODE VARCHAR2(6)
PRODUCT_DESCRIPTION VARCHAR2(105)
All recoreds in PRODUCT_DESCRIPTION field are less than 35.
size and type of :blk_lmtms_temple_products_rest.product_description is 35 and char.
Please give me some solution.
All recoreds in PRODUCT_DESCRIPTION field are less than 35.No they are not.
size and type of :blk_lmtms_temple_products_rest.product_description is 35 and
char.Why isn't same as that of "PRODUCT_DESCRIPTION" column width.
SQL> create table table1(
2 PRODUCT_CODE VARCHAR2(6),
3 PRODUCT_DESCRIPTION VARCHAR2(105));
Table created.
SQL> insert into table1 values ('X', rpad('Prod X', 40, '*'));
1 row created.
SQL> set line 1000
SQL> select * from table1;
PRODUC PRODUCT_DESCRIPTION
X Prod X**********************************
SQL> declare
2 x varchar2(35);
3 begin
4 select PRODUCT_DESCRIPTION into x from table1 where product_code = 'X';
5 dbms_output.put_line(x);
6 end;
7 /
declare
ERROR at line 1:
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at line 4
SQL>
Similar Messages
-
FRM 40735 Post Query trigger raised unhandled exception TOO_MANY_ROWS
I'm using Developer 2000 Forms 4.5 and after a query on the form; an error message is on the screen "FRM 40735 Post Query trigger raised unhandled exception TOO_MANY_ROWS". And form can't be closed.
How can I solve this problem?You must have a POST-QUERY trigger defined somewhere in your form.
In this trigger you probably do a "select into" that retrieves more than one row.
That explains the "too many rows" error.
When you do a query in the form, the POST-QUERY trigger fires for each row retrieved.
So if you do a query on a underlying table that has 100 rows, the POST-QUERY trigger fires 100 times. After 100 alerts, so to speak, you'll be able to close your form.
Solution off course is to correct the POST-QUERY trigger by making sure you only retrieve one row with the select into, or define a too_many_rows exception in that trigger.
Good luck. -
FRM-40735 POST- UPDATE trigger raised unhandled exception ORA- 01403
FRM-40735 POST- UPDATE trigger raised unhandled exception ORA- 01403
I am getting the above error when i am trying to change the Assignment Category field of
an employee from Junior Staff to Senior Staff.
Navigation People> Enter & Maintain> (B)Assignment.
Kindly assist me to resolve this error.
Plz note there is a promotion that is suppose to be given to some employees in our company as of
01-APR-2010 so i had to open the closed payroll periods and do the changes. I managed to change for all
the 9 employees but 1 employee's assignment is giving me an error as follows :
FRM-40735 POST- UPDATE trigger raised unhandled exception ORA- 01403
The error displays after i try to save the changes made to the Assignment Category from Junior Staff to Senior Staff.
NB: i have also tried to switch off the custom code...but its giving me same error.
Also the element links have been defined for employment category on the links window.
please help!!
Edited by: 594647 on Jul 20, 2010 10:26 PMRelease 12.1.1.
OS is Red Hat Ent Ed 4
i am trying to change the employee assignment category from Junior to Senior. so when i am updating the assignment details on the assignment screen (Navigation is People >Enter & Maintain> Assignment) and trying to save, the system gives error on the status bar of the application as follows:
FRM-40735 POST- UPDATE trigger raised unhandled exception ORA- 01403
NB: Error is appearing on the Assignment screen.
Please help!!
Edited by: 594647 on Jul 21, 2010 2:48 PM -
FRM-40735 when validate-item_trigger raised unhandled exception ORA 06502
Hi, after i migrated my form to 10g when I enter a new record into the form and want to save I get the following message:
Frm-40735 when validate-item_trigger raised unhandled exception ORA 06502
what could be the reason? It worked before in 6i but not in 10g please help I don't know what could be the problem?library is in form. I don't know how to use debugger... below is the code for WHEN-VALIDATE-ITEM trigger:
Thanks in advance for helping...
DECLARE
tmpcnt number;
tmpcnt_u number;
tmpcnt_b number;
v_login_id documents.login_id%type;
v_copy documents.copy%type;
alr_id alert;
alr_button number;
al_btn number;
BEGIN
IF (:dts_transactions.barcode IS NULL or :dts_transactions.barcode = ' ')
and (:dts_transactions.login_id IS NOT NULL or :dts_transactions.copy_nbr IS NOT NULL or :dts_transactions.recipient_person_name IS NOT NULL) THEN
alr_button := SHOW_ALERT('DELETE_ALERT');
IF alr_button = ALERT_BUTTON1 THEN
--go_item('dts_transactions.clear_line');
--execute_trigger('WHEN-BUTTON-PRESSED');
--:dts_transactions.login_id := null;
--:dts_transactions.copy_nbr := null;
--:dts_transactions.recipient_person_name := null;
--set_item_property(':dts_transaction.barcode', item_is_valid, PROPERTY_TRUE);
--set_item_property(':dts_transaction.recipient_person_name', item_is_valid, PROPERTY_TRUE);
--set_item_property(':dts_transaction.route_to_dcc', item_is_valid, PROPERTY_TRUE);
fire_timer('delete_line');
ELSIF alr_button = ALERT_BUTTON2 THEN
RAISE FORM_TRIGGER_FAILURE;
ELSIF alr_button = ALERT_BUTTON3 THEN
RAISE FORM_TRIGGER_FAILURE;
END IF;
return;
END IF;
IF :dts_transactions.barcode IS not NULL and :dts_transactions.barcode <> ' ' THEN
SELECT count(DOCUMENT_BAR_CODE)
INTO tmpcnt
FROM documents
WHERE document_bar_code = :dts_transactions.barcode;
IF tmpcnt = 0 THEN
SELECT count(UNIQUE_ID)
INTO tmpcnt_u
FROM dts_transactions
WHERE unique_id = :dts_transactions.barcode;
IF tmpcnt_u > 0 THEN
:dts_transactions.chk_barcode_range := 'Y';
set_item_property('dts_transactions.chk_barcode_range', item_is_valid , property_true);
ELSIF tmpcnt_u = 0 THEN
alr_id := find_alert('edit_clear');
set_alert_property(alr_id, alert_message_text,'Validation Trigger - Please enter valid barcode.
You must Edit or Clear value before leaving field.');
alr_button := Show_Alert( alr_id );
IF alr_button = ALERT_BUTTON2 THEN
:dts_transactions.barcode := Null;
raise form_trigger_failure;
ELSE
raise form_trigger_failure;
END IF;
END IF;
ELSE /*Check duplicated barcodes*/
SELECT count(bims_bar_code_id)
INTO tmpcnt_b
FROM documents
WHERE bims_bar_code_id = :dts_transactions.barcode
AND document_bar_code <> :dts_transactions.barcode;
IF tmpcnt_b > 0 THEN
show_msg('Duplicate barcodes found in database. You must select one of the barcode from the LOV that will pop up after this message to continue or talk to DTS support to resolve this issue.', 'STOP');
IF SHOW_LOV('lov_bims_barcode_from') THEN
null;
ELSE
raise form_trigger_failure;
END IF;
END IF;
END IF;
:parameter.p_unsaved_records := 'Y';
:dts_transactions.record_saved := 'N';
AUTO_FILL_ASSIGNED_INFO(:dts_transactions.barcode);
Fire_timer('next_row');
-- Fill in LOGIN_ID and COPY fields.
BEGIN
SELECT login_id, copy
INTO :dts_transactions.login_id, :dts_transactions.copy_nbr
FROM documents
WHERE document_bar_code = :dts_transactions.barcode
AND rownum = 1;
EXCEPTION
WHEN no_data_found THEN
:dts_transactions.login_id := NULL;
:dts_transactions.copy_nbr := NULL;
WHEN OTHERS THEN
NULL;
--- message(sqlerrm);
---raise form_trigger_failure;
--- Raise;
END; -
EBS - Payables - Version 12.1.3.
We Have many others Operating Units configured and no errors occurs.
This error occurs only if we set a new OU.
All profiles have been configured properly. (MO: Operating Unit, HR: Security Profile, etc..)
The trace shows:
SELECT PROFILE_OPTION_VALUE
FROM FND_PROFILE_OPTION_VALUES
WHERE PROFILE_OPTION_ID = 5852
AND APPLICATION_ID = 178
AND LEVEL_ID = 10003
AND LEVEL_VALUE = 124280
AND LEVEL_VALUE_APPLICATION_ID = 200
AND PROFILE_OPTION_VALUE IS NOT NULL
The PROFILE_OPTION_ID = 5852 is "ICX:Session Timeout".
If I set this profile the error does not occur. But its is very strange to have to configure it for a responsibility level.Hi All.
I discovered what the problem was.
The size of the name of the responsibility was with many characters.
Reduced the size and the error stopped occur.
Tks! -
Sir how I avoid I this error FRM-40735: POST-QUERY trigger raised unhandled
Hi master
Sir this error crate may problem for me
FRM-40735: POST-QUERY trigger raised unhandled exception ORA-01403
sir how I avoid I this error and show my message
or system not show this error and bypass this error
please send me code how I avoid this error
thanks
aamirThere may be many causes of this error. You better diagnose and remove them.
1- A field length may be less than what your query return a data into it.
2- A POST-CHANGE trigger on any data may return un-desired data (character into numrice field, longer value than a field etc).
likewise.
Regards
Sayeed
[email protected] -
FRM-40735:PRE-FORM trigger raise unhandled exception ORA-04067
FRM-40735:PRE-FORM trigger raise unhandled exception ORA-04067:not executed, stored, procedure "PUBLIC.FND_TIMEZONES" does not exist.
After I log into Applications, and when I click on responsibility, and when I'm in the Form to retreive the Navigator page, I got the above error.
If I click on any one of the menu from the list, I automatically gets log off. "your logon session has become invalid".
please help..Hi,
Yes this was working befor enable rapid clone feature.How did you enable this feature? Did you apply any patches?
Following Task has been made by me:
Enable Rapid Clone Featue -------> execute pre clone -------> change IP and Hostname --------> execute post clone-----------> change has been made sucessfully.
APPS.FND_TIMEZONE package is not avaliable .What does this query return?
SQL> select object_name, object_type, owner
from dba_objects
where object_name = 'FND_TIMEZONES';Regards,
Hussein -
FRM-40735: When validate item raised unhandled exception ora-04063
hi experts,
FRM-40735: When validate item raised unhandled exception ora-04063
I have noticed the below error on my instance while trying to test some functionality.
My EBS Version is R12.1.1 +11.1.0.7 db.
Please advise.
regards
Mohammed. Abdul MuqeetFRM-40735: When validate item raised unhandled exception ora-04063
I have noticed the below error on my instance while trying to test some functionality.How do you get this error?
What is the navigation path?
Please check the application.log file along with Apache log files for any errors.
Thanks,
Hussein -
FRM-40735: ON-ERROR triggers raised unhandled exception ORA-06508
I get the following error message: FRM-40735: ON-ERROR triggers raised unhandled exception ORA-06508
after login in a Web forms application.
I tried the solution as described in the Headstart Manual, e.g. recompiling the libraries in the specified order.
All the libraries are in the working directory and has been included in FORMS60_PATH.
All the involved stored procedures and packages are valid.
the same application works fine as C/S.
Any clue?
Used configuration:
Forms 6i
Designer 6i r 4.11
Headstart 6.5
Oracle 8.1.7.4
Oracle 9ias r 1 running on Sun Solaris 64bit version 5.8This is actually a pretty generic error and I would suggest running through the debugger to see the line of code it is actually failing at - that may make it easier to track.
Regards
Grant Ronald
Forms Product Management -
FRM-40735 ON-UPDATE triggered raised unhandled exceptions ora-01422
Hi Everyone,
when I;m trying to terminate an employee, i got this error "FRM-40735 ON-UPDATE triggered raised unhandled exceptions ora-01422"
Please can anyone provide me the solution for this.
Thank YouDid you go through this note Cancel Hire Errors ORA-06512, ORA-01422, FRM-40735: ON-UPDATE trigger raised unhandled exception ORA-01006 [ID 744522.1]
-
In R12.1.3 we get FRM-40735: ON-ERROR trigger raised unhandled exception.
Hello,
after we upgrade to R12.1.3 users are getting FRM-40735: ON-ERROR trigger raised unhandled exception ORA-01001, can you please help to resolve this issue immediately.Can you provide the list of patches you have applied?
In addition to the log files mentioned above, please confirm that you have no invalid objects in the database.
Loading the System Administrator Forms Responibility Produces Error FRM-40735,ORA-06508 (Doc ID 271652.1)
Oracle Application Return The following Error FRM-40735: ON-ERROR trigger raised unhandled exception ORA-6508 (Doc ID 797293.1)
After Migrating To Linux, Users Are Seeing FRM-40735 When Trying To Access Forms. (Doc ID 1282488.1)
Thanks,
Hussein -
FRM-40735 on-error raised unhandled exception ORA-06502
Hi there,
I have a form and all the items on canvas are base table items. If iam in normal mode and click on buttons, the LOVs show up correctly.
If i query records and i click on any of buttons to get LOV i get " FRM-40735 on-error raised unhandled exception ORA-06502". I checked insert_allowed,enabled,update_allowed properties and also format mask for each items and all are correct.
ANy help is appreciated.
ThanksUse the debugger to single step through your code line by line. The debugger will stop at the line where the error is occurring. Look at that line of code. You will probably see a problem with a data type or the data length.
-
FRM-40735: WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-06502.
Hi Expert,
Forms Version : 11.1.2.1.0
Client JRE : 1.6.0_45-b06 Java HotSpot(TM) Client VM
Run webutil_demo form, http://host:9001/forms/frmservlet?form=webutil_demo.fmx&config=webutil
it appears following error.
FRM-40735: WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-06502.
No error logged in java console client side.
I've try to re-compile webutil_demo.fmb
Unattaching and then re-attaching the plsql library webutil.pll to forms using a 11g Forms Builder (instead of earlier version) and then loading the form to the server and compiling form but error still exist.
Will you please help to give any suggestion?
Is there any trace can be enabled to find some more details?Welcome to OTN
Before posting on this forum please read
FRM-40735: WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-06502.
you'll get some hint here
Oracle/PLSQL: ORA-06502 Error -
FRM-40735: WHEN-CREATE-RECORD trigger raised unhandled exception ORA-06502.
Hi Guys,
I am a beginner in Oracle apps and have been trying to setup receivables module. I have completed all necessary setups such as system options, transaction types, transaction sources, Auto accounting etc.
Now, when I try to open transaction window, I am getting the following error
FRM-40735: WHEN-CREATE-RECORD trigger raised unhandled exception ORA-06502
RDBMS : 11.2.0.2.0
Oracle Applications : 12.1.3
Thanks in advance.. :-)Please see these docs.
Repair Orders Form Error: 'FRM-40735: When-Create-Record Trigger raised unhandled exception ORA-06502' For Instances With Alphanumeric Instance Numbers [ID 580147.1]
FRM-40735:WHEN-CREATE-RECORD Trigger Raised Unhandled Exception ORA-06502 [ID 125204.1]
Attempt To Open IGIPAPPF Approval Profile Form Fails With Error: FRM-40735 WHEN-CREATE-RECORD Trigger raised unhandled exception ORA-06502 [ID 418546.1]
Transactions Workbench Error: ORA-06502 [ID 1295626.1]
Transactions Workbench Error: Listing of FRM Errors [ID 1321612.1]
Forms Error: FRM-40735 [ID 1295620.1
Credit Transactions Form Errors Out With FRM-40735 [ID 1079945.1]
Thanks,
Hussein -
FRM-40735:WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-06502
Hi,
I am trying to run a form in which I have a button which when pressed should display another popup window with few text fields in it. I have a WHEN-BUTTON-PRESSED trigger on that particular button and its raising an exception called
FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-06502.
When I debug the form with breakpoints its displaying the popup window correctly, but if I run it in a browser as soon as click the button it raises the Unhandled exception given above.
Can anyone help with this? Urgent please....
ThanksIt is VERY good to handle your exceptions, specially a certain pre-defined exceptions like NO_DATA_FOUND, TOO_MANY_ROWS, ZERO_DIVIDE etc...
You can also find samples on how to create user-defined exceptions, just search the online forms help (press the question mark in forms builder) for "User-Defined"
But however you handle your exception never ever do
WHEN OTHERS THEN NULL;If you do that you are telling to forms that no matter what kind of error is thrown do nothing, now that's very dangerous.
You might also want to check Oracle's documentation on [url http://www.oracle.com/pls/db102/portal.portal_db?selected=5]Application Development and do a search on "Exception Handling"
Regards,
Tony
Message was edited by:
Tony Garabedian
Maybe you are looking for
-
Hi i was getting an app in the app store and did all the logins and confirmations and stuff, and when that was done a thing pops up in the middle of the screen that said "download now" and an OK button, but i can't click it.. and not anywhere else, s
-
Burning a Slideshow to disk using Aperture?
Hi, I recently bought Aperture 2. I really like it, I just have one question can you take a slideshow created within the program and burn it to DVD for playback in a DVD? Do I need to export it to idvd or imovie? Any insight into this area would be g
-
Standby implementation in Standard Edition
To All, I am Ashok(DBA) from Nepal. My country is a developing country and cannot afford Oracle Entreprise Edition in most of the instuations. So I need to implement Standby database in Oracle Standard Edition. I need this feature both in Windows and
-
In output determination analysis I am getting single output type three times with different messages. Any one can please through some light on this.
-
All DCs of ESS Mentioned as Dirty DCs in the track
Hi, We are using a Track in the ESS for the Changes. All were working fine , we were able to check in code and activate also. Some changes done in the Track and now i saw that all the DCs in the track are in the Broken state. In NWDS , we are gettin