FRM-40735: Do_Proc trigger raised un-handled exception ORA-06502

Hi Guys
i'm trying to upload a csv file and i'm getting this error.I have checked the Do_Proc1 trigger and i couldn't find the source of the problem
pls help!

It must be because of the following reasons:
1, Expecting a numeric value but got string
2. Value coming into the field is too large than the datatype can accomodate.
Modify the do_proc procedure and catch the exception and find the value which causes the error. Then it would be easier to handle.

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 WHEN BUTTON PRESSED TRIGGERRAISED UNHANDLED EXCEPTION ORA-01407

    WHILE I AM TRYING TO UPDATE A TABLE LIKE:
    update mis_dik_adeia
    set trexon_etos_days = (select days_per_year
    from mis_dik_adeia, mis_plafon_adeivn
    where mis_dik_adeia.adeia_id = mis_plafon_adeivn.adeia_id
    and mis_dik_adeia.adeia_id between aapo and aews
    and mis_dik_adeia.employee_id = apoerg
              and mis_dik_adeia.etos = etos1
              and mis_plafon_adeivn.years_yphr = ( select max( a.years_yphr ) from mis_plafon_adeivn a where a.adeia_id = mis_plafon_adeivn.adeia_id     and a.years_yphr <= eth ));
    AND THE COMPILER DOESN'T GIVE ANY ERROR, I TAKE THE BELOW ERROR!
    FRM-40735 WHEN BUTTON PRESSED TRIGGERRAISED UNHANDLED EXCEPTION ORA-01407

    there are two categories of errors: compile-errors and runtime-errors.
    In this case the syntax of statement seems OK (no compiler warnings) but running the code gives you a ORA-01407.
    Look in your manual which error occured in your form.
    Or use error_code and error_text in your Exception-Handling to get those errors in a better readable way.
    try it
    Gerd

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

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

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

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

  • 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 -Fromulation Calucation trigger raised exception - ORA-06502

    HI..
    i am getting above exception when i assign value like 1235.333336987413136 to the number(34) item, please give me a solution
    Regards
    Yashavanth

    i tried but still i am getting same error...
    please help me anybody
    Regards
    Yashavanth

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

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

Maybe you are looking for

  • Site-To_Site VPN problem

    Hello everyone I'm installing a new site-to-site VPN connection between two sites, having problems bringing the tunnel online. We have two ASA 5505 firewalls - one at our Central site, and another for our customer at the Remote site. I wiped both fir

  • Windows 7/8.1 OEM to Windows 10 Retail (Free) Discussion

    Microsoft has made it known that Windows 10 will be a free upgrade to Windows 7 and Windows 8.1 users. I think its time we have a discussion on the Dell Community Forums about Windows 10. Post #1 Windows 10 Digital Deployment and How to Leave Feedbac

  • ANN:  PHOTO MAGIC, updated for Adobe Fireworks CS3

    Made available by your friends at PVII. These tutorials are no-hand-holding, straight out recipes for some of the dazzling photo effects you can achieve in Fireworks. The program Help files show you how to operate the software. The objective of these

  • Error while launching the workflow from OAF controller class.

    Hi Everyone, I'm using the below code from the submit button event to launch the workflow. The workflow works fine when I submit for the first time, when i try to submit for the second time from the same session it throws me the error as "Workflow wi

  • How to buy discounted upgrade from CS5.5 to CS6

    I own CS5.5, and subscribe to CC as well. I'd like to upgrade my perpetual license to CS6 in case there are years when I don't want the CC subscription. I see in the FAQ that discounted upgrade is available, but I cannot find a link to upgrade pricin