Avoid from the error message: "FRM-41816: Attempt to create existing timer"

Hi,
I create a timer in "on-insert" trigger in data-block level, like this:
timer_id := Create_Timer ('saving_inserting_timer' , 1 , NO_REPEAT);
in the trigger "when-timer-expired" in form level,  I use this timer, like this: 
timer_id := FIND_TIMER('saving_inserting_timer');
I know  that I should write:
DELETE_TIMER('saving_inserting_timer');
to avoid the error message frm-41816, and I tried to  write this line in a several places in the code (in both triggers).  But I still get this error message.
Thanks in advanced,
Elad

Hi Elad,
in ON-INSERT trigger write
timer_id := FIND_TIMER('saving_inserting_timer');
IF NOT Id_Null(timer_id) THEN
  Delete_Timer(timer_id);
END IF;
timer_id := timer_id := Create_Timer ('saving_inserting_timer' , 1 , NO_REPEAT);
in WHEN-TIMER-EXPIRED trigger wrote the below code
IF NOT Id_Null(timer_id) THEN
  Delete_Timer(timer_id);
END IF;
No two timers can share the same name in the same form instance, regardless of case.
Hope this will help

Similar Messages

  • FRM-41816: Attempt to create existing timer

    We are getting this error
    FRM-41816: Attempt to create existing timer
    Please help

    Welcome to the Oracle Forums. Please take a few minutes to review the following:
    <ul>
    <li>Oracle Forums FAQ
    <li>Before posting on this forum please read
    <li>10 Commandments for the OTN Forums Member
    <li>How to ask questions the smart way
    </ul>
    Following these simple guidelines will ensure you have a positive experience in any forum; not just this one! ;-)
    We are getting this errorFRM-41816: Attempt to create existing timer>
    This error is pretty self explanatory. You are attempting to create a timer that already exists. You should check to see if the timer exists before attempting to create a timer. For example:
    DECLARE
      im_id  TIMER;
    BEGIN
      tm_id := Find_Timer('YOUR TIMER NAME');
      IF NOT ID_NULL(tm_id) THEN
        DELETE_TIMER(tm_id);
      END IF;
      tm_id := CREATE_TIMER('YOUR TIMER NAME');
    END;Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • When trying to restore an iCloud backup, I receive the error message "Appe-ID cannot be created. invalid device while updating mme delegate account".

    After a complete crash of my iPad 3 (WIFI only) because of updating to iOS 7.03, I try to restore my config from iCloud.
    I managed to get into the settings assistant and enter my Apple-ID (which is valid as checked via iTunes).
    But then I see the error message "Apple ID cannot be created - invalid device while upgrading mme delegate account".
    I have no clue what the mme delegate account is but need my data back.
    Any suggestions?

    All you need to do is restore the iphone in itunes as new
    and then set up as new
    after this is done
    then you can restore from itunes back up with out any error!!
    -Johnny

  • HT3275 Help? Time Machine could not complete the back up due to iMacsparsebundle is already in use??? This is the error message I am getting now with my Time Capsule as the back up device. Any suggestions?

    Help? Time Machine could not complete the back up due to iMacsparsebundle is already in use??? This is the error message I am getting now with my Time Capsule as the back up device. Any suggestions?

    Pull the power cord from the back of the Time Capsule
    Wait a few minutes
    Push the power cord back into the back of the Time Capsule
    See if the Time Capsule will back up now
    If not, see #C12 in this document:
    http://pondini.org/TM/Troubleshooting.html

  • How do I fix this and see the error message when Adobe does not create a pdf from word?

    I have a trial version of Adobe X and it will not create a pdf.  A short message comes up but disappears before I can see what the problem is. Please help me fix this?

    Possibly, though there isn't much to go on. Let's start with the basics.
    Can you start the Acrobat application? It will sit there, looking like Adobe Reader or something?
    If so, can you open an existing PDF, if you have one?
    Ok, now creating a PDF. There are MANY ways to do this, so what steps are you following, and where does it fail?

  • When starting Lightroom 5.6 for the first time I get the error message "AgPathUtils.getStandardFilePath: can't create directory at: /Users/.../Pictures" when trying to import pictures

    Today I installed Lightroom 5.6 on Mac OS 10.9.4. Photoshop Elements 11 is also installed on this computer. This Lightroom Version is the 30 day test version. My Picture folder is linked to a secondary hdd, but this worked fine with any other program so far. This error keeps me from editing / opening pictures. Any help is appreciated.

    I replaced the symlink with a folder named "Pictures" and it actually worked. At least a new menu shows up. BTW Photoshop Elements does not complain.

  • I get the following message when I attempt to create an event in iCal:

    The request for account “iCloud” failed.
    The server responded with
    “507”
    to operation CalDAVAddCalendarQueueableOperation.
    Also, nothing that I enter into my iPad's calendar get entered into the calendars of my iPhone or Mac.

    Was able to fix it after some great help from Apple support.  Turns out I had WAY too many events in my calendar file, over 22,000 going back years and years. Once I archived a bunch, things started working again just fine.  Let me know if this helps.
    Chris Altwegg

  • FRM-41816 ERORR when creating territories based on territory type

    Hi, guys!
    So the problem is: I have a territory type for usage in Oracle Service, there are 3 transaction types defined - Service Request, Service Request and Task, Task - in this territory type.
    So when I try to create territory based on this territory type, I get an Error FRM-41816: Attempt to create existing timer: POST_BLOCK_TRANX.
    If I'm not using territory type to create a territory, this error doesn't show up.
    Any solutions, would be greatly appreciated.
    JAN

    You have to generate the view inside the database. When Designer compiles the Form, it does it against a database, so the items used inside the Form should be inside the database.
    Regards,
    Mark

  • Error message "SE 518 No account assignment exists for service li ne 000000

    Hi All,
    Customer is using SRM 7.0 Self-Service procurement
    Shopping cart created with multiple service items, once it approved. We get the Error message "SE 518 No account assignment exists for service li ne 0000000000" in Shopping cart Monitor. Could you please help me here why this issue happening.
    FYI:- Same user created another shopping cart with same data, this error not occurred. This error is happening a while not regular for the same item ordering.
    Could you please help me on this what may be issue here?
    Appreciated your help in Advanced.
    Cheers
    Raj

    Hi Raj,
    Have you already tried the notes below?
    499626     FAQ: BAPIs in the service procurement
    1472036     Limit PO with account assignment can not be transferred
    1140132     Error SE 518 when creating purchase order with contract
    1557395     SE 518 error message for service items during PO creation
    1226132     SE518 Error message from back-end system for service item
    Best regards,
    Christian Zeuch

  • Error message: Automation server can't create object

    Hello
    I'm currently receiving the error message: 'Automation server can't create object' when trying to view reports. This only happens when i try to view them through the IIS server using the .net launchpad. It happens with both reports that i have produced and Feature example reports, it also happens from both client machines and the server.
    Any ideas on how to fix this issue?
    regards
    Matt

    Hi,
      I am not sure if you still are having this issue. In my experience I have seen this issue if for all the BO related services the rights are not proper. These have to be given from dcomconfig.
    Hope this helps
    Amit

  • I get an error message when I attempt to download an epub from the library.  I have Windowns 8.1 and Digital Editions 3.0

    the error message is:
    Unable to download
    error getting license, license server communication problem
    E_auth_bad_device_key_or_PKCS12

    I downloaded Blue Fire Reader and it requested an adobe id. I clicked on the link that was in the error message stated http//adeactivateadobe.com. Found out that if the date and time on my Ipad is wrong that it won't let me download a book. I was off 5 hours. I reset my clock settings and adobe id let me download a book from the library. I am back to using Overdrive and adobe again on my ipad.
    Thank you.

  • How can i get the error message from the thrown/raised exception?

    DB version:10gR2
    Examples for this thread taken from
    Want Stored Procs to get exectuted regardless of preceeding SPs Success or
    I have a package with several functions and procedures inside.I created a caller procedure called callProcs, which will execute various procedures within the package in the appropriate order.
    In the below example i cannot get the error message thrown from line 20
    create or replace package body mypackage
    is
    variable_proc1 number;
    variable_proc2 number;
    variable_proc3 number;
    v_result       number;
    my_exception   exception;
    procedure proc1
    is
    begin
    select 8/0 into variable_proc1 from dual;
    exception
              when others
              then raise my_exception; ----line 20
    end;
    procedure proc2
    is
    begin
    select 1 into variable_proc2 from dual;
    exception
              when others
              then
                   null;
    end;
    procedure proc3
    is
    begin
    select 3 into variable_proc3 from dual;
    exception
              when others
              then
                   null;
    end;
    Procedure caller_proc
    is
    begin
    proc1;
    proc2;
    proc3;
    v_result:=variable_proc2+variable_proc3;
    dbms_output.put_line('The output is '||v_result);
    exception
              when my_exception
              then
    dbms_output.put_line('Heyyyyy the error is '||SQLERRM); -- exception caught at line 64 of caller proc
    end;
    end mypackage;
    When i try executing the caller proc, i don't get the error. Instead i get the text User-Defined Exception as shown below
    set serveroutput on
    exec mypackage.caller_proc;
    Heyyyyy the error is User-Defined Exception
    PL/SQL procedure successfully completed.Edited by: user10633418 on Mar 10, 2009 11:30 PM

    Thank you justin.
    Sorry my earlier post was a bit ambiguous.
    I wanted the error generated at proc1 to be captured at caller proc's Exception handling section (line 64) so that i could log the error to an ERR_LOG table.
    I can actually log this error at proc1 itself like
    exception
    when others
    THEN
    error_message :='My custom message for the particular proc '||SQLERRM;
    dbms_output.put_line(error_message);
    logerror(error_message); --an autonomous error logging proc
    raise;But there is a RAISE statement in proc1's exception handling, so the exception gets propogated to caller proc's exception handling section {color:#ff0000}*and another redundant row will be created at ERR_LOG table for the same error because there is a*{color}
    logerror(error_message);--an autonomous error logging proc
    in the WHEN OTHERS section of exception handling section of the caller proc
    I want to avoid the creation of this redundant row in ERR_LOG table.

  • My MacBook Air becomes unresponsive when logging in, and I decided to reinstall OS X Lion. When running the installer from OS X Recovery, it gave the error message "An error occurred while preparing the installation. Try running this application again."

    My MacBook Air becomes unresponsive when logging in, and I decided to reinstall OS X Lion. When running the installer from OS X Recovery, it gave the error message "An error occurred while preparing the installation. Try running this application again."
    Checking in the log revealed the following error:
    Can not connect to /var/run/systemkeychaincheck.socket: No such file or directory
    Error!! Error Domain=NSURLErrorDomain Code=-1202 "UNTRUSTED_CERT_TITLE" UserInfo=0x1086bec80 {NSLocalizedDescription=UNTRUSTED_CERT_TITLE, NSLocalizedFailureReason=UNTRUSTED
    The rest of the line is cutted off. Does anyone know what went wrong and how to fix it ?

A: my MacBook Air becomes unresponsive when logging in, and I decided to reinstall OS X Lion. When running the installer from OS X Recovery, it gave the error message "An error occurred while preparing the installation. Try running this application again."

I encountered the same exact problem when I attempted to re-installed OSX Lion on an old laptop. The date was set back in 2000, which rendered the certificate obsolete. Here's how I fixed it:
From the recovery menu, select the Terminal application. Run the 'date' command to confirm the date is wrong, then set the correct date using this command: date {month}{day}{hour}{minute}{year}
e.g. date 1219195613
Exit terminal (type exit). Retry the installation.

I encountered the same exact problem when I attempted to re-installed OSX Lion on an old laptop. The date was set back in 2000, which rendered the certificate obsolete. Here's how I fixed it:
From the recovery menu, select the Terminal application. Run the 'date' command to confirm the date is wrong, then set the correct date using this command: date {month}{day}{hour}{minute}{year}
e.g. date 1219195613
Exit terminal (type exit). Retry the installation.

  • Error message:FRM-12001: Cannot Create the record group(check your query)

    Requirement: Need to get employee name and number in the LOV in search criteria.
    So I created LOV "full_name" and Record group Query under Employee Name property palette with
    select papf.title||' '||papf.last_name||', '||papf.first_name||' '||papf.middle_names emp_full_name
    ,papf.employee_number
    from apps.per_all_people_f papf, apps.per_person_types ppt
    where sysdate between papf.effective_start_date and papf.effective_end_date AND papf.person_type_id=ppt.person_type_id AND ppt.system_person_type IN ('EMP', 'OTHER', 'CWK','EMP_APL')
    AND PPT.default_flag='Y' and papf.BUSINESS_GROUP_ID=1
    order by papf.full_name
    I was unable to save and getting error message "FRM-12001: Cannot Create the record group(check your query)".
    I cant use PER_ALL_PEOPLE_F.FULL_NAME since full name here is last_name||title||middle_names||firstname.
    But my requiremnet is papf.title||' '||papf.last_name||', '||papf.first_name||' '||papf.middle_names emp_full_name .
    Can any one of you help me.

    First, Magoo wrote:
    <pre><font face = "Lucida Console, Courier New, Courier, Fixed" size = "1" color = "navy">create or replace function emp_full_name ( p_title in varchar2,
    p_last_name in varchar2,
    p_first_name in varchar2,
    p_mid_names in varchar2 ) return varchar2 is
    begin
    for l_rec in ( select decode ( p_title, null, null, p_title || ' ' ) ||
    p_last_name || ', ' || p_first_name ||
    decode ( p_mid_names, null, null, ' ' || p_mid_names ) full_name
    from dual ) loop
    return ( l_rec.full_name );
    end loop;
    end;</font></pre>
    Magoo, you don't ever need to use Select from Dual. And the loop is completely unnecessary, since Dual always returns only one record. This would be much simpler:
    <pre><font face = "Lucida Console, Courier New, Courier, Fixed" size = "1" color = "navy">create or replace function emp_full_name
    ( p_title in varchar2,
    p_last_name in varchar2,
    p_first_name in varchar2,
    p_mid_names in varchar2 ) return varchar2 is
    begin
    Return ( Ltrim( Rtrim ( p_title
    ||' ' ||p_last_name
    ||', '||p_first_name
    ||' ' ||p_middle_names )));
    end;</font></pre>
    And second:
    user606106, you did not mention how you got your record group working. However, you DO have an issue with spaces. If you change this:
    <pre><font face = "Lucida Console, Courier New, Courier, Fixed" size = "1" color = "navy">select papf.title||' '||papf.last_name||', '||papf.first_name||' '||papf.middle_names emp_full_name
    ,papf.employee_number </font></pre>
    to this:
    <pre><font face = "Lucida Console, Courier New, Courier, Fixed" size = "1" color = "navy">select Ltrim(Rtrim(papf.title||' '||papf.last_name||', '
    ||papf.first_name||' '||papf.middle_names)) AS emp_full_name,
    papf.employee_number</font></pre>
    it should work. The Ltrim(Rtrim()) removes leading and trailing spaces from the resulting full name.

  • On every attempt to install Itunes I've recieved the error message, "There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package Vendor." What do?

    On every attempt to install Itunes I've recieved the error message, "There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package Vendor." What do?

    I know there's a million threads like this, but I thought I'd record my experience.  I, too, was having the original poster's error when I tried to update iTunes on Windows XP.  I think I was stuck on 10. 
    I solved it by un-installing iTunes and every other Apple app.  I discovered that Apple Software Update would not un-install as its MSI file could not be found.  I used the "Windows Install Cleanup" tool from Microsoft to remove Apple Software Update from the list of installed programs.  Google "kb290301" for a Microsoft page that includes a download link for it.  After that, I was able to install a fresh copy of iTunes 10.5.2.
    I'm not sure why this app's folder and MSI were missing from my computer.  I had once used Laplink PC Mover to move everything from my old computer to this one, and perhaps it missed a bit.

  • Maybe you are looking for

    • How to Analyze WIP in KKAX transaction.

      Hi, how to analyse the WIP report after executing period end closing KKAX.Kindly advice me and provide me the transaction code for report to view the WIP. Thanks Sunitha

    • Can you set recording time video in Ipad mini?

      When recording videos in my Ipad, they always stop after 2:30min. I wonder how to change the video recording time?

    • Intercompany Scenario for Export and without Plant

      Hi Our client creates Big Projects; with two company Codes, One in India and another in Germany. They are working on PS. In most of the cases they get an order and they send the required material through Vendor, Vendor uses his Excise Invoice for sen

    • Ps touch accessing images

      reloaded ps touch on samsung tab 10.1 but still unable to access local images

    • Help needed with I tunes and I pod synicing

      Okay so I have a 30 GB video I pod and I have been using hand brake to convert my dvd's to MP4 to place I my I pod. I have went through and put them in by going into I tunes and pushing import. But then a sign comes up saying "Attempting to copy to t