Handling oracle forms errors (frm-nnnnn) locally

is there a way to handle an oracle form error (e.g. frm-40508) locally in a way similar to handle oracle database errors.
e.g.
procedure insert_something is
insert_error exception;
pragma exception_init(insert_error,-40508);
begin
:c1.a := 1;
:c1.b := 2;
commit_form;
exception
when insert_error then
<handle insert error on c1 block>;
end;
Edited by: mojo on Oct 7, 2008 4:34 AM

by locally i mean within the pl/sql block that will have raised the error.
an example i encoutnered recently, but by no means the only occasion i have wished such things:
function mseRecStatus returnvarchar2 is
rtnChar varchar2(32);
begin
rtnChar := get_record_property(mouseRec,mouseBlock,status);
return rtnChar;
end;
This is called from a pre-pop-menu trigger. mouseRec and block are calculated previously. A right-click on a record item below the last record raises error frm-40741 (unable to locate record on block). it would be nice to be able to do something like the following without incolving an on-error trigger:
function mseRecStatus returnvarchar2 is
rtnChar varchar2(32);
non_record_clicked exception;
pragma exception_init(non_record_clicked,-40741);
begin
rtnChar := get_record_property(mouseRec,mouseBlock,status);
return rtnChar;
exception
when non_record_clicked then
return null;
end;

Similar Messages

  • Oracle Form Error FRM 10014

    Code change that was backed out, had 1 Kbyte difference in executeable (FMX) size. Same form works fine locally.
    I donot see why this error was encountered! FRM-40014: Not enough memory to load the form
    In production, forms are rendered through Citrix.
    Any suggestions will be helpful...

    Oracle hasn't supported running Forms in a Citrix environment for a long time. One main reason for the desupport was because most problems reported in this situation were determined to be caused by a problem in the Citrix layer and not Oracle. Oracle Support and development ended up wasting lots of time only to determine that the problem was caused by Citrix.
    Does the problem reproduce when not run in a Citrix environment? If not, I would recommend contacting Citrix. If it still reproduces without Citrix, I would recommend continuing to troubleshoot outside of the Citrix environment as this should make the debugging process a little easier.

  • Oracle forms error frm-40508: unable to insert record

    Hi Everyone,
    I have been having this problem for 2 weeks and I realize that I spent alot of time I couldn't get to fix the problem so I need your help.
    Here is my situation. First, I installed Oracle 10g in my laptop with Oracle forms10g and Oracle forms904i. I had oracle_home folder as the top level structure then I have inside oracle folder, Oracle10g in it own folder, Oracle9i release2 in it own folder. then I created the user account "student" using the system/manager account finally I granted privilleges as follow:
    GRANT ALL PRIVILLEGES
    TO student
    WITH ADMIN OPTION;
    this was working perfecty I didn't need to grant objects privilleges such as
    GRANT INSERT, UPDATE, DELETE
    ON customers
    TO student;
    Then I created a form Application prototype and it works well I could Insert, Update and Delete but now I am creating an e-commerce application prototype I created an new account using a system/manager account as I did previously and grant all privilleges. When I try to grant object privileges the message that I receive says ORA-01919 : role 'INSERT' doesn't exist
    When I run the application I am unable to insert the record through forms I get message frm-40508 Orcle error: unable to insert record.
    I deinstall the Oracle and clean my laptop and did a clean installation using only Oracle Server10g and Oracle Developer10g I am getting the same message frm-40508.
    Can someone please help me on this. the insert command that I am running is a simple one such as
    INSERT INTO customers
    VALUES( block_name.field_name, ....);
    COMMIT;

    frm 40735:When button pressed trigger raised unhanded exceptionplease help me to solve this>
    The FRM-40735 is a generic Unhandled Exception. Please post the full error message so we can better help you.
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • FRM-9201 A failure has occured on server - Oracle forms error Oracle 9IAS

    Hi,
    We have a custom based Oracle Forms application running in Oracle9IAS in AIX5.1 Box. Last week There was A patch applied to AIX box [Security Patch LIBC] and after that, we are experiencing numerous issues like 1. process full, 2. too many open connections 3.Failiure occurred in server need to restart the session.
    When we do a ps -ef in the server, we see lot of threads like "f90runm server webfile=HTTP-0 ". We remember, this was not the situation before applying the patch. When this count reaches approximately 260, users are not able to login and getting error. We dont have concurrent users more than 100. Can you please advise us how to resolve this problem. This application is running in the same environment for last 3 years without any problem, but after applying patch to UNIX box, it seems everything disturbed.

    More Error details:-
    FRM-92101 A failure has occured on the Server
    you will need to reestablish your session
    Details
    Java Exception
    oracle forms net ConnectorException the process file table is full
    at oracle.forms.net.HTTPNStream.getinfoFromServlet(Unknown Source)
    at oracle.forms.net.HTTPNStream.<init (unknown source)
    at oracle.forms.net.HTTconnection.conenct(unknown source)
    at oracle.forms.engine.FormsDispatcher initConnection(unknown source)
    at oracle.forms.engine Forms Dispatcher init(unknown source)
    at oracle.forms.engine.Runform.initConenction(unknown source)
    at oracle.forms.engine.main.createRunform(unknown source)
    at oracle.forms.engine.main.start(unknown source)
    at sun.applet.Aplet panelrun(unknown source)
    at java.lang.thread.run(unknown source)

  • Oracle Apps Clone Forms Error FRM-92050

    Cloned our Advanced Supply Chain Planning EBS Test environment in order to create our production ASCP EBS environment.
    Was able to clone and configure new production environment with no errors but
    when I log into the new environment when I click on any of the forms (e.g.
    System Administrator > Concurrent > Requests, I receive the FRM-92050.when I click on details, i get the following.
    FRM-92050:Failed to connect to the server:rhascpprd.company.com:9075
    Details...
    Java Exception
    java.io.EOFException
    at java.io.DatainputStream.readint(Unknown Source)
    at oracle.forms.net.SocketConnection.connect(Unknown Source)
    at oracle.forms.engine.Runform.initConnection(Unknown Source)
    at oracle.forms.engine.Runform.startConnection(Unknown Source)
    at oracle.forms.engine.main.create Runform(Unknown Source)
    at oracle.forms.engine.main.start Runform(Unknown Source)
    at sun.applet_ApplePanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    I have tried recompiling invalids, regenerating Apps forms, regenerating java, etc.
    I also wiped out the whole Appl Tier and layed it down again, configured the environment and the same forms error ocurred.
    Please Help

    Check the metalink Note:116804.1
    "11i: FRM-92050 Error While Logging onto Fresh Install of 11i Apps on Linux"
    It could be an issue with the motif library libXm.so.2.
    ~ Madrid

  • Locating Oracle Forms Error Messages File to Load into Table

    I would like to create a procedure to suppress and replace Form errors and messages via ON-ERROR and ON-MESSAGE triggers.
    Is there a file that I can load the ERROR Messages from using SQLLDR?
    I have loaded the Oracle error file, $ORACLE_HOME/rdbms/mesg/oraus.msg as identified by Tom Kyte in the following link,
    http://asktom.oracle.com/pls/ask/f?p=4950:8:13189517973890228983::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:558822941373
    but it did not contain Forms Errors Messages such as:
    FRM-40106: No navigable items in destination block.
    FRM-40202: Field must be entered
    FRM-40401: No changes to save
    FRM-40405: No changes to apply
    etc.
    Any help in getting these error messages in a table, other than typing or copy/paste from Forms online help would be greatly appreciated.

    kolipaka wrote:
    Need to write control file to read .csv file for sql*load utility into oracle table.
    Thanks
    KLRWe're sorry that google is broken for you at this time.
    Please try our alternative search site...
    http://lmgtfy.com/?q=oracle+sql*loader+control+file+example
    or
    http://lmgtfy.com/?q=oracle+external+table+example

  • Oracle Forms 10g Frm-92101,Frm-92100

    Hi every body ..
    I have build template form using oracle form developer 10g
    .and i have use PJC To Customize default Smart Toolbar
    ,it's work fine but on heavy interaction i receive one of this tow error
    Frm-92101,Frm-92100...but using default oracle smart bar i don't receive this error Frm-92100
    please help me it's urgent..

    Please refer to the document, http://otn.oracle.com/products/forms/pdf/forms9idiagnostics.pdf
    The section, 'FRM-92XXX ERRORS' describes some of the causes and solutions to such errors.
    P.S. Specifying the stack trace of the exception would help in narrowing down the cause of a problem.

  • Oracle forms error/configuration issue

    Hello there,
    When i run Oracle forms 9i , it returns an html page with HTML tags in it , i am expecting the GUI when i run it.Is it something with formsweb.config ?The exact error message is shown below.Any help is appreciated.
    Thanks.
    C:\Documents and Settings\user\Local Settings\Temp\s2m0.8htm
    <html> <head> ORACLE FORMS.</head>
    <body onload="document.pform.submit();" >
    <form name="pform" action="http://xxxxxx:8889/forms90/f90servlet" method="POST">
    <input type="hidden" name="form" value="C:\SCM Working Folders\005 Implementation\Development\adjust.fmx">
    <input type="hidden" name="userid" value="xxx/xxxxx@xxxx">
    <input type="hidden" name="obr" value="yes">
    <input type="hidden" name="array" value="YES">
    </form> </body></html>

    Yes, it happens when i run the form from the builder.
    Could you please explain how to run it from the Web form tester html?
    Thanks very much for your help.

  • Forms ERROR - FRM-18107: Failed to load the DE context for the module

    I have recently installed Oracle 10g (10.2.0) which is up and running fine (WinXP).
    I then installed Developer Suite 10g (10.1.2.0.2).
    When I try to open Forms I get the following error;
    'FRM-18107: Falied to load the DE context for the module'
    I have;
    DRIVE:oracle/product/10.2.0/oradb
    DRIVE:oracle/product/10.2.0/devsuite
    Can anyone advise?
    Many thanks in advance.

    Hello All,
    I would like to know more about the FRM-18107 error. I have tried getting rid of the error by altering my windows environment variable ORACLE_HOME, and going through numerous websites. But still no luck. I am about to de-install Forms 10g rel2 using the OUI. But I plan on leaving oracle 10g database on the system. Hope this will not cause any conflict. Also do I need to do anything in the registry after de-installation of forms 10g.Or is there any order of installation, i.e Do i need to install forms 10g before oracle 10g database.
    PLs also let me know if i will need to download any pathch for this to be sorted. But I didn't think so because during installation i noticed a few patches were being put to place as part of forms 10g rel2. Does it still needs a patch for it to work and get rid of the FRM-18107 error? If so, what is the name of the patch and how do i apply the patch. Pls let me know. Any comment on this will be well appreciated and valuable.
    Thanks.
    Cheers
    Aj
    Edited by: user9925154 on 25-Feb-2010 14:50
    Edited by: user9925154 on 25-Feb-2010 14:52
    Edited by: user9925154 on 25-Feb-2010 15:08

  • How to handle oracle.forms.handler.TextAreaItem

    Hi guys,
    i get following error if i try to set the text of a oracle.forms.handler.TextAreaItem.
    If i "inspect path" the pathfinder show me that it is a oracle.forms.handler.TextFieldItem.
    Now, if i run the script, following error occurs:
    Paused by Exception
    Reason:
    Replay Action: TextField(//forms:textField[(@name='FPAA_FPAA_ZUSATZ_INFO_0')]).input() failed. Cause: oracle.forms.handler.TextAreaItem cannot be cast to oracle.forms.handler.TextFieldItem
    What to do now?
    There is no oracle.forms.handler.TextAreaItem that i can select in the menu of "right-click --> Add new action/item".

    Any suggestions on this problem?

  • CHILD form error FRM-30100: Block must have at least one primary key item.

    Hi friends,
    I have increased the DML array of the child block from 1 to 10, but it throws me error:
    FRM-30100: Block must have at least one primary key item.
    Block: CEC_ADJUSTMENT_RECON
    Form: CEC_ADJ
    FRM-30085: Unable to adjust form for output.
    How does a form know that the table does not have primary key? Is it referring to it?
    Thanks a lot                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    I dont understand why do you increase the DML array size..
    Because it says in the HELP
    Specifies the maximum array size for inserting, updating, and deleting records in the database at one time.
    A larger size reduces transaction processing time by reducing network traffic to the database, but requires more memory.  The optimal size is the number of records a user modifies in one transaction.
    The FRM-30100 comes not because of the above property..
    If your query data source type is other than TABLE, it is a must to set at least one database field's PRIMARY KEY ITEM PROPERTY in the block to be a YES.

  • Get Forms Error FRM-92050 Please Help

    I just success install EBS 11.5.10.2 but when I link from my pc client it's show error FRM-92050 cannot connect to form server <myhost:9000> how to resolve this problem also i wondering is Linux can be EBS Client? because I try to use my note book with suse9.3 but it's still look for Jinitiator.exe how to use linux as EBS client please help
    Tony

    Follow the instructions given in metalink Note id 299187.1
    The error may be due to missing patches.
    Sam
    http://appstech-sam.blogspot.com

  • Oracle forms error while calling through browser

    Hi,
    I have an application server 10g r1 running on linux advanced server 4 and installed
    jinitiator 1.22.But when i calling form through browser from other machine a message is appeared on the screen without showing the form
    java.lang.classnotfoundexception:oracle.forms.engine.main.
    would anyone please help me to solve this problem.
    thanks
    noman

    Hi,
    Can you make sure you have frmall_jinit.jar present in the $ORACLE_HOME/forms/java directory in the server.
    Also make sure you have archive_jini parameter in formsweb.cfg (under $ORACLE_HOME/forms/server directory) has the value frmall_jinit.jar
    Regards,
    Arun

  • Oracle forms9i error: FRM-92150: Web Client version too new

    Hello,
    I have just installed ORACLE 9iIDS(FORMS version 9.0.2.7.0) on my laptop running Win. XP Pro. When I tried running a form from the builder, I got the above error message. My browser is IE version 6. Is there anyway I can workround this error. Please advise.

    Search on metalink for FRM-92150 and you will get a couple of solutions.

  • Oracle Forms 11gR2 - Cannot deploy locally from within Forms

    I cannot deploy locally from within forms.  The server is up and running and I can deploy the form by putting the correct URL in the address line of the browser window.  When I try to deploy from within forms it comes up with some crazy URL that differs everytime.
    This is what the URL should be and this works from the browser:
    http://machinename:7002/forms/frmservlet?form=WRD608ADMIN_11g.fmx&userid=&otherparams=useSDI=yes
    Here is one of the URLs it came up with when I try to run it from within Forms:
    http://localhost:60231/lysVL2VjqT33znjfvLwanktVRxTIc6dEwVeRNXXRmhYU2qjf
    Localhost is always there, but the rest varies.
    In Forms, I have the Preferences, Runtime set to:
    http://machinename:7002/forms/frmservlet
    Where machine name is my PC, it is the same for this address as the URL above that works directly from the browser.
    So what am I missing?
    Thank you in advance.

    Generally speaking, it is discouraged to manually edit any of the configuration files if they are managed by WLS Console or EM.  In this case, default.env is managed by EM.  Therefore, changes to the file should be done through EM.  If however, you want to alter the file manually, the following is likely the best way to accomplish this:
    1.  Stop the WLS Admin Server and Node Manager
    2.  Locate the proper file you wish to edit.  By proper I mean, there are several copies of most config files.  Most of the config files found in the Oracle Home are actually template files and are not used at runtime.  Altering these will not give you the change you want.  The default.env you want would be here (assuming Windows)
    C:\Oracle\Middleware\user_projects\domains\ClassicDomain\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_11.1.2\config
    If you are using a "Development" installation type, the above path will reflect AdminServer instead of WLS_FORMS.  Remember that Development installations are not for multi-user purposes.  Production deployments require the "Deployment" installation type, which can also include the Builders.
    Do NOT make any changes yet.
    3.  Once you find the correct file, create a backup copy.  Then open the file for edit (not the backup).
    4.  Make the desired changes and save.
    5.  Restart Node Manager and Admin Server if you plan to use them.
    For more information about using EM to manage your configuration, refer to the product documentation:
    http://docs.oracle.com/cd/E38115_01/doc.111210/e24477/configure.htm#CHDCCGHI

Maybe you are looking for