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.

Similar Messages

  • FRM-40735: HR_GB_EVENT trigger raised unhandled exception ORA-04062

    Hello
    I need help on how to resolve this issue. I cannot save any transaction i make in oracle HRMS e.g any update or correction. I always have this error:
    FRM-40735: HR_GB_EVENT trigger raised unhanded exception ORA-04062.
    Can anyone please help?

    check -
    FRM-40735:HR_GB_EVENT trigger raised unhandled exception ORA-04063 After 12.1.1 Upgrade (Doc ID 1132565.1)
    When Trying To Update Assignment Screen Get Frm-40735: HR_GB_EVENT Trigger Raised (Doc ID 785508.1)

  • Frm-40735 post query raised unhandled exception ORA:12170.

    Hi all,
    I am newbie to ORACLE-FORMS. in my form i have some details of some books which are going to be published. for one product i have to edit the details of the author,publishing date etc., when i am going to edit the product i am getting the error.
    frm-40735 post query raised unhandled exception ORA:12170.
    when i look for this error i identified that in my form it is generating to ORA:12170, Tns:timed out error.
    due to this i am not able to edit the details.
    please help me how to resolve this issue.
    Thanks,
    Kumar.

    this is due to the table present in another database and for this we forgot to create the dblink after server migration.

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

    It 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

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

  • 40735 WHEN-NEW-FORM-INSTANCE-TRIGGER raised unhandled exception ORA-06502

    After migrationg my form from 6i to 10g I am getting the 40735 WHEN-NEW-FORM-INSTANCE-TRIGGER raised unhandled exception ORA-06502 err msg. the field is a date field and should be automatically populated with sysdate- 365. but when i open the form to run it is not populated automatically. i have to enter the date manually. the code in the NEW-FORM-INSTANCE trigger is as follows:
    declare
    record_id RecordGroup;
    error_cd number;
    begin
    -- Set the main window properties
    set_window_property(forms_mdi_window, window_state, maximize);
    -- Menu Security
    set_menu_items;
    select sysdate - 365
    into :start_date
    from dual;
    end;
    I check the property palate for the start_date field and it looks ok. the form is working fine in windows but the above message is comming out while running the form in Unix.
    Any help will be greatly apreciated.

    First thing, try qualifying the start_date with the block name
    declare
    record_id RecordGroup;
    error_cd number;
    begin
    -- Set the main window properties
    set_window_property(forms_mdi_window, window_state, maximize);
    -- Menu Security
    set_menu_items;
    select sysdate - 365
    into :block.start_date
    from dual;
    end;

  • When-button-pressed---trigger raised unhandled exception ORA-06502

    Dear all,
    I am trying to implement a hierarchical tree using the following codes on
    when-button-pressed
    DECLARE
    htree item;
    my_sql VARCHAR2 (200) := 'select 1, level, hee_name,null, to_char(hee_no)
    from hrm_employee
    connect by prior hee_id=hee_dirsup_id
                   start with hee_dirsup_id is null
                             order siblings by hee_name';
    BEGIN
    htree := FIND_ITEM ('trees.tree10');
    ftree.SET_TREE_PROPERTY (htree, ftree.query_text, my_sql);
    ftree.POPULATE_TREE ('htree');
    END;
    i am unable to see my hierarchical tree and i am having the above error message.
    Can anybody please help me sort this out? Is there any chunks of codes missing resulting to this error.
    I'll be very grateful for any help :)
    sheetal.

    Hi sheetal
    trigger raised unhandled exception ORA-06502
    Cause* :This error occurs when you try to assign a value to a variable, but the value is larger than the variable can handle.
    or if you are trying to assign a non-numeric value to a numeric variable.
    --=========================
    Action*: pls change the my_sql VARCHAR2 *(200)* to my_sql VARCHAR2 *(2000)*
    i am unable to see my hierarchical tree
    Pls have a look here at Andreas Weiden sample code....
    Hope this helps...
    Regards,
    Amatu Allah.

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

  • When trying to setup a new Operating Unit gives an error: FRM-40735: PRE-FORM trigger raised unhandled exception ORA-06502

    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!

  • When-new-form-Instance trigger raised unhandled exception ORA-04062

    Hi,
    We are facing ORA-04062 (FRM-40735 WHEN-NEW-FORM-INSTANCE trigger raised unhandled exception ORA 04062) while trying to run the first form of our Application.
    We are using a PL/SQL LIBRARY(.pll) for forms.
    We are using 10G Application Server,10G DB and Oracle 9i Forms.
    DB Version----10.1.0.4.0
    Application Server--9.0.4.0
    During compilation, we are following the below steps:
    1. Compile the .pll
    2.Compile Forms.
    When we are running these compiled version of forms and pll in Development server where we are compiling it,we are not facing any error.
    But when we are taking these compiled version of forms and pll to the Production Server,we are getting the above error.
    When we are compiling the .pll in Production server, Application runs fine.
    But we should not compile form or pll in Production server.
    Searching in Metalink(Note:73506.1) , we find a solution that remote_dependency_mode if set to signature this problem may be resolved.
    We tried that by chaning ' REMOTE_DEPENDENCIES_MODE=SIGNATURE' in Init.ora file in both Production and Development server.
    But the error still persist.
    I think the problem is regarding .pll.Because for the time being to test the application,I compiled the pll in Production and we didnot get any error while running the Application.
    But whenever we are tring to deploy the compiled version of pll (compiling in Development sever) and to run the application in Production, we are facing the error.
    Also, pll calls one standard database package in SYS.That standard package has VALID status both in Production and in Development.
    We donot have priviledge to change/compile that package.So,we didnot change anything in that package. We didnot change anything in .pll also.
    We are upgrading our forms from 6i to 9i.And now when we are trying to deploy it to Production we are facing ORA-04062 error.
    Can anyone please help ?

    Exactly what procedure or package in SYS are you calling that causes this problem?
    <p>Are both test and production databases at the same version?
    <p>Do you know what procedure or package is named in the error? If not, then you need to improve your on-error trigger processing. I use a PLL_On_Error trigger to capture and improve a number of Oracle messages. It is posted here:
    <p> Re: FRM-40735:Pre_Insert trigger raised unhandled exception ORA-20011
    <p>Note especially the part near the end that deals with FRM-40735. (Not sure, but you may also want to display DBMS_ERROR_TEXT in your situation.)
    <p>If that doesn't help find the actual problem, I would pull out my Re: Zdebug -- Download a Forms debugging message tool, and add messages before every call in the when-new-form-instance process to zero-in on the offending call.
    <p>If it really IS a call to a system process, I would then experiment with creating a server-side package or stored procedure that calls the process, and then call that stored procedure from my form. That way, you effectively insulate your form from system differences.

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

Maybe you are looking for

  • RSCRM_BAPI scheduling of extract jobs after an event

    Hi We are using RSCRM_BAPI to extract data from 3 BW queries and export the data to a CSV file so that it can be picked up and loaded to another system. The extracts run fine, but I am trying to find a way of including them within the BW process chai

  • Log apply service in 10g dataguard

    Very Good Morning to all ; I  have a doubt when applying redo data at standby site. (MAXIMUM PERFORMANCE) In physical standby database ,  I know , Redo Data is applied from  standby redo log (real time apply )  or  archive redo log ( redo apply)   1)

  • Touchpad works fine except top/bottom fast scr

    Just got the Zen Micro and I'm loving it! I set the touchpad sensitivity to high and don't find it too hard to use, but I can't get it to scroll quickly by holding the top or bottom of the touchpad (it just does nothing). I've tried all sensitivity s

  • What is the best way to handle a business full of Macs w/ app updates?

    So we have an office with OS X Server and about 20 macs. We're now on the era of App Store handling updates to the OS, among other things. This presents a problem, because the updates want an Apple ID, and will occasionally ask for credit card verifi

  • Windows Media Player to iTunes conversion

    I have over 2500 songs that I had for my Windows Media Player. When I bought an iPod, I started converting all my songs to iTunes. But, now I have 2500 songs in Window Media files and 2500 songs in iTunes. This is killing my memory for my computer. I