FRM-40735 - unhandled exception ora-01422

Hi ALL,
I have stated getting the following error from one of our applicaiton:
FRM-40735 KEY-F6 trigger raised unhandled exception ora-01422
When I start this app using different user account other then the main user who own each and every table for the application I get the above error.
But there is no problem with the user account who owns the app. Even I have given DBA privilages to the other user but they still having the above error.
Any Idea?
Cheers!

There is an implicit cursor some where in your application that returns more than one row for a given condition.
For example,
Declare
v_ename varchar2(30);
Begin
select ename into
v_ename
from emp;
End;
In this case, there could be more than one row in the table 'emp'.Solution for your case:
Fix your select statement such that it retrieves only one row for the given condition or use a 'too_many_rows' exception handler.

Similar Messages

  • FRM-40735: WHEN-CREATE-RECORD trigger raised unhandled exception ORA-01422

    when i am searching AR module and
    Receivables - > Transactions - > Transactions
    i am getting this FRM-40735: WHEN-CREATE-RECORD trigger raised unhandled exception ORA-01422.
    what to do?

    user9095240 wrote:
    Hi,
    1. This form was working fine until patch 8407693 has been applied.
    2. Yes, I'm getting this error in every responsibility or user
    3. No, no personalizations
    I've read another time docs Hussein linked and as in "Troubleshooting Transaction Types In Oracle Receivables (Doc ID 1090878.1)" Patch Related paragraph, seems like I needĀ  Patch 8302210:R12.AD.B cause my admorgb.plsĀ  version is 120.21.12010000.2 instead of 120.21.12010000.3. I think replicate seed data program duplicated something in db. Is it possible?
    Regards
    With the information you have provided so far, it's hard to say that the cause of the issue is because of this file (version). However, if this is a test instance you may proceed and apply the patch and see if it helps.
    Thanks,
    Hussein

  • 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 You

    Did 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]

  • FRM-40735: WHEN-NEW-FORM-INSTANCE trigger raised unhandled exception ORA-01

    Hello,
    when I run my form I am getting the following error:
    FRM-40735: WHEN-NEW-FORM-INSTANCE trigger raised unhandled exception ORA-01422
    My WHEN-NEW-FORM-INSTANCE trigger is calling to procedures. below is the code in my trigger
    begin
    Get_User_Info;
    Get_org_num;
    end;
    what could be the problem ?
    thanks in advanced,
    AJ

    One of your procedures must be doing a "select into" but the select is returning more than one row. Examine the queries your procedures are doing.
    Gary

  • 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 PM

    Release 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-NEW-RECORD-INSTANCE trigger raised unhandled exception ORA-

    Hi,
    In R12 When trying to search existing users through Sysadmin or any other user ...we are getting the below errror...
    ORA-01403: no data found
    FRM-40735: WHEN-NEW-RECORD-INSTANCE trigger raised unhandled exception ORA-06510
    This error is not happening when we search for the SYSADMIN user....
    Any idea why this error happening...
    Also another error which is faced by users other than SYSADMIN is the below one when changing the responsability...
    APP-FND-01926---The custom event WHEN-RESPONSIBILITY-CHANGED raised unhandled exception:User Defined Exception
    Thanks
    Joseph
    Edited by: 783717 on Sep 27, 2010 10:49 PM

    Hi,
    In R12 When trying to search existing users through Sysadmin or any other user ...we are getting the below errror...
    ORA-01403: no data found
    FRM-40735: WHEN-NEW-RECORD-INSTANCE trigger raised unhandled exception ORA-06510
    This error is not happening when we search for the SYSADMIN user....
    Any idea why this error happening...What changes have been done recently?
    Please run AutoConfig and make sure it completes successfully.
    Also another error which is faced by users other than SYSADMIN is the below one when changing the responsability...
    APP-FND-01926---The custom event WHEN-RESPONSIBILITY-CHANGED raised unhandled exception:User Defined ExceptionCan you find any errors in the database log file?
    Please compile CUSTOM.pll (and other files) as per these docs and try again (as you are on R12 use frmcmp_batch.sh instead of f60gen).
    APP-FND-01926, ORA-06508 [ID 797242.1]
    APP-FND-01926: The custom event WHEN-LOGON-CHANGED raised unhandled exception: ORA-06508: PL/SQL: [ID 831159.1]
    APP-FND-01926 when logon changed ORA-06508 [ID 334295.1]
    Thanks,
    Hussein

  • FRM-40735 WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-065

    Please help....This error is comming when opening the form. The form is running on oracle 11g 64bits web logic.
    "FRM-40735 WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-065"

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

    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.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 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.
    Thanks

    Use 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: 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.8

    This 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-ERROR trigger unhandled exception ORA-06508

    Guru,
    Today we changed few customization in CUSTOM.pll and regenerated it , but we received the following error message after login to application irrespective of any responsiblity/form
    FRM-40735: ON-ERROR trigger unhandled exception ORA-06508
    So we reverted CUSTOM.pll change and recompiled successfuly. However we are still getting same error.
    Kindly give us little light on it.
    Regards,
    Raju

    Hi Raju,
    In addition to Hussein's post, Can you check the following notes, since you have changed & reverted the custom.pll
    - Cannot Log into Oracle Applictions after the Custom.pll has been Changed [ID 146038.1]
    Best Regards,

  • FRM-40735: WHEN-VALIDATE-ITEM trigger raised unhandled exception ORA-06508

    Hi all,
    In Production instance we have an issue on AP invoice workbench, gives an error (FRM-40735 Post-Query Trigger On Quering Invoice ) when we retrieve the existing invoice data entered.
    For this we compiled the invalid objects and applied the patch according to the metalink id [ID 1209736.1]
    After that we came up with new error FRM-40735: WHEN-VALIDATE-ITEM trigger raised unhandled exception ORA-06508.
    Can any one help us
    Thanks
    SAI

    Hi Thanks for the reply we have implemented the following things
    1) Please download and review the readme for Patch 8671468:R12.AP.B
    2) Please apply Patch 8671468:R12.AP.B in a test environment.
    3) Check the file versions , they have to be the same as given below.
    Patch/115/sql/aphanwfb.pls 120.64.12010000.11
    4) Please retest the issue.
    5) If the issue is resolved, please migrate the solution as appropriate to other environments.
    APXINWKB : When Entering Invoice Details, Get Error: FRM-40735: WHEN-VALIDATE-ITEM trigger raised unhandled exception ORA-06508 [ID 1284114.1]
    This is done no luck.
    Thanks
    Sai

  • FRM-40735: When-Validate-Item trigger raised unhandled exception ORA-01861

    Dear all, I runned a form designed by Developer 2000 version 4.5 and encountered a puzzling problem. The same program could be runned on one computer but not in another one. The error message is as below: FRM-40735: When-Validate-Item trigger raised unhandled exception ORA-01861. The OS of both computers are windows 2000 professional. The only difference between two computers is the patch files didn't installed on one of them. I don't know if it is the key point. Could you tell me why?
    Thank you!!!

    I sure wish people would post the entire text of the error message. "ORA-01861: literal does not match format string."
    What kind of field are you trying to validate? This message is usually due to a date format error. If you are trying to convert text into a date without using TO_DATE('some text','date-format'), then that is the problem. It sounds like you are, and the database default date format is different between the two systems.

  • FRM-40735: WHEN-VALIDATE-ITEM trigger raised unhandled exception ORA-04063.

    Hi All,
    After Cloning the 11i instace to 12.1.3 and when trying to create an absence
    am gettin the follwing Error
    ORA-01403: no data found
    FRM-40735: WHEN-VALIDATE-ITEM trigger raised unhandled exception ORA-04063.
    Please note I didnt get any of these kind of errors when cloned for CRP1 or CRP2.
    Thanks

    Hi,
    Its because of the invalid objects. We have compiled the invalid objects again and the issue got fixed.
    Thanks

  • 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;

Maybe you are looking for