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

Similar Messages

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

  • 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 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 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: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_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:PRE-FORM trigger raised unhandled expception ORA-06508-SATYAM

    Hi,
    This is Sateesh, presently working on Designer migration project from Designer 2000 V1.3.2 to Designer 10g with headstart.I successfully completed the migration of repository from 1.3.2 to 6i and also migrated the headstart to 6i using simple upgrade method.After this i successfully migrated the repository from 6i to 10g and I compiled all the libraries using forms10g and then i generated all the 10g forms through designer.then 10g forms and libraries are deployed in Oracle Application Server and then we are trying to access the application then we are getting the messsage for most of the forms, i.e FRM-40735:PRE-FORM trigger raised unhandled expception ORA-06508. Can you please help me out in this regard.
    Regards
    K.Sateesh Kumar

    Yes,
    that's right. FRM-40735 is a generic error message generated in case of form failure.
    This may be as a result of failure while calling sub-programs in a form or any other problem.
    For my case I had a call to a built in Package for which the user didnt have the privileges to execute that package.
    So how did I find out?
    EXCEPTION
    WHEN OTHERS THEN
    MESSAGE('SQLERRM: ' || SQLERRM);
    exception handling does the trick. I got the real error that was causing the problem.
    Error was: SQLERRM: xxx package does not exist. This made me think in the lines of either privileges or synonym problem. I found out that the user in the db doent have the execution privileges.
    GRANT ALL ON xxxpackage TO xxxuser;
    This is a nice forum. I love it and thanks to everyone.

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

  • FRM-40735: ON-POPULATE-DETAILS trigger raised unhandled exception ORA-06508

    Dear All,
    I checked this forum before i post this thread. But i didn't get any solutions.
    Recently we have migrated our production database from 10gR2 to 11g EE R11.2.0.1.0 - 64bit.
    We are continuing 10gR2 version as our oracle application server after migration.
    Now we are facing a problem - When we open a screen and query the records we are getting an error as
    FRM-40735: On-Populate-Details trigger raised unhandled exception ORA-06508.
    Then the details are not populating.
    We are getting this error indefinitely. In the same screen if we close it and open then its not throwing an error.
    After some times it shows the same error. may be in any form. Due to this we can't even debug the code part.
    Command used to compile all plls
    for %%i IN (*.pll) do frmcmp module=%%i userid=userid/pw@connectstg batch=yes module_type=LIBRARY compile_all=yes window_state=Minimize
    Same way we compiled the forms mmbs. OLBS no change.
    We tried manually compilation of plls too.
    We didn't made any change in the On-Populate-Details. Frequently irregular indefinite
    Thanks in Advance,
    Regards
    Balaji M

    The "ORA-06508: PL/SQL: could not find program unit being called" error is caused when Forms can't find the program unit being called or the status of the program unit is "Invalid." Have you checked the particular program unit being called to ensure it's status is "Valid?"
    Also, the On-Populate-Details triggers is system generated. You might need to drop and recreate the related Releationship in order to fix the issue.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • 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-NEW-FORM-INSTANCE trigger raised unhandled except ORA-06508

    Dear Colleague,
    I am migrating a Forms application from Forms 9i to Forms 10g. Most of my forms were originally created using the Oracle Designer Forms generator. I am also using the Webutil plugin. I just finished configuring Webutil, tested it and it seems to be working fine.
    I am able to compile all code and generate a Form executable. However at runtime, I get an error as soon as the first line of code in the WHEN-NEW-FORM-INSTANCE trigger.
    The error is:
    FRM-40735: WHEN-NEW-FORM-INSTANCE trigger raised unhandled exception ORA-06508
    and the beginning of the code is as follows. Using the debugger, I found out that the line:
    CGBS2$.SET_COORD_STYLE( 'P' );
    initiates an error.
    /* CGLY$INIT_CANVASES */
    /* Call procedure to ensure correct canvases are visible */
    BEGIN
    CGBS2$.SET_COORD_STYLE( 'P' );
    CGBS2$.SET_QRY_ON_ENTRY( 'Y' );
    CGBS2$.SET_NAV_FROM_BLOCK( 'PROJ_BLOCK' );
    CGLY$CANVAS_MANAGEMENT;
    END;
    Is the error telling me that this procedure was not found? How can I proceed to find the cause and solution of my problem? Are one of the Oracle Designer Forms Generator libraries missing?
    I would appreciate a tip to help me begin seeing the light at the end of the tunnel.
    Thanks and regards,
    Randy

    Randy,
    Glad I could help and you've got your Form running.
    @user9230833
    It is consider "bad form" to usurp another's post. Please create your own Forum post and include a link or links to any relevant posts. As to Randy's situation, he simply compiled the Forms 9i Library module (.pll) with Forms 10g's compiler. This may not be the cause of your error. When you post your own question, please include your Forms version (full version [eg; 10.1.2.0.2] not the release [6i, 9i, 10g, etc]). Also include any sample code that might help us help you! ;-)
    Craig....

  • FRM-40735: when-button-pressed trigger raised unhandled exception ORA-06508

    Hi,
    I built a report using Reports Builder, and a form that calls this report. When I try to run the rdf file (report), using [b]rp2rro.rp2rro_run_product I get the error:
    FRM-40735: when-button-pressed trigger raised unhandled exception ORA-06508.
    How fix it?
    []'s
    Sandro

    Hi Mark,
    The debbuger stopped at line that was causing the error (rp2rro.rp2rro_run_product(REPORTS, 'myReport', SYNCHRONOUS, RUNTIME, FILESYSTEM,v_paramList , NULL);
    The data type passed in arguments and its lenght that's ok... I don't know what I should do...
    Sandro

  • FRM-40735: WHEN-BUTTON-PRESSED raised unhandled exception INVALID_NUMBER

    Hi I get the FRM-40735: WHEN-BUTTON-PRESSED raised unhandled exception INVALID_NUMBER error message for block that has duplicate records.
    It works where the block returns no duplicate records.
    I'm guessing the error occurs because more than one duplicate records exists. How can I handle this?
    Below is the function that I'm using to check for duplicate values:
    FUNCTION find_dup (card_in IN varchar2)
    RETURN BOOLEAN IS
    get_card number;
    BEGIN
    select card_no into get_card from strike.member where
    prop_no = :member.prop_no
    and card_no in (select card_no from strike.member
    where prop_no = :member.prop_no
    having count(*) >1 group by card_no);
    RETURN TRUE;
    end if;
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    RETURN FALSE;
    END;
    Below is the trigger used where a check is made for duplicate records before proceeding.
    WHEN-BUTTON-PRESSED trigger has below:
    if find_dup(:member.card_no) then -- guessing it finds more than one card_no value. Help how can I handle this?
    go_block('dup_member');
    execute_query;
    :global.dup_delete := 'Y';
    go_item('dup_member.prop_no');
    else
    message(' No Duplicate Records To View!');
    bell;
    go_block('member');
    hide_view('dup_canvas');
    raise form_trigger_failure;
    end if;
    Edited by: user648524 on Oct 27, 2008 1:33 PM

    It looks to me like strike.member.card_no may not actually be a number, and you are trying to select it into get_card.
    Try changing your get_card definition to:
    get_card    strike.member.card_no%type;

Maybe you are looking for

  • Mail app stopped working.

      Erased accounts.  when you try to add an email account it says :process com.htc.android mail has stopped unexpectedly.  what do I do?

  • AP Down Payment Problem

    Dear Experts, I entered GRPO with Excise amount and also created Incoming Excise Invoice, Now When i try to create AP Down Payment Invoice System give the error "Document row must be either excisable or all not excisable". How we can resolve that iss

  • Emails wont send

    Hi I really hope someone can help me. I can reply to emails but I cannot seem to send an emal from scratch. Im not sure what happened but the send option just doesnt come up anymore, I can only save as draft. And once saved it will not send either. P

  • How to test swaref web service method

    My simple web service method:      @WebMethod      @XmlAttachmentRef      public DataHandler getFile() {           FileDataSource file = new FileDataSource("c:\\1.gif");           DataHandler handler = new DataHandler(file);           return handler;

  • Execute String in Native or Open SQL

    Hi all, I have the following question: Is it possible to execute one string containing the selection code (string = 'select <field> from <db_table> where <conditions>') in NATIVE SQL or OPEN SQL? Thanks in advanced. Best Regards, Giulio