Error : FRM-40738
I am getting following error while first time running the form.
FRM-40738 : Argument 1 to built-in find_form can not be null.
But interesting thing is if I close this form without saving and again open it and run it then it does not give this error.
Any solution ?
I am using Oracle 8i and Forms 6i.
Kiran
Do you mean you get this error at build-time or runtime? If it's at build-time, try forcing a compile all.
Regards,
Robin Zimmermann
Forms Product Management
Similar Messages
-
Export error :- FRM-40738
Hi All:
I've created a custom form based on PO Summary form. When try to export, system gives me following error (while export works fine for PO Summary):
"FRM-40738: Argument 1 to builtin FND_VIEW cannot be null."
Any idea what am I missing?
Thanks,
-ManishAre referring to Oracle Applications? If so, then you should ask this question on one of the Oracle Applications forums.
Regards,
Robin Zimmermann
Forms Product Management -
Forms 9i FRM-40738 Hyperlink Bean problem
Hello,
I've this error coming please help me.
I needed to see, how a bean is integerated in Forms 9i. I was
searching through the example at metalink and it gave me a
paper
"How to Integerate HyplerLink Bean in forms 9i", what steps
i followed are given in that paper.
Now when i run the form, it gaves me the error
FRM-40738 Argument to Built in SET_CUSTOM_PROPERTY CANNOT BE NULL.
the steps i followed are
1- I created a form called hyperlink.fmb
2- Then i created a ON LOGON trigger at this form
3- I opened the canvas and draw a Bean Area on it
4- Then i renamed that Item to Hyperlink by Property Plattelete
5- I named the canvas CONTROL
6- Then at module level i created a TRIGGER WHEN_NEW_FORM_INSTANCE and put following PL.SQL code in it
DECLARE
hHyperlink ITEM := FIND_ITEM('CONTROL.HYPERLINK');
BEGIN
FBEAN.Register_Bean( hHyperlink, 1, 'oracle.forms.demos.beans.Hyperlink');
FBean.Invoke( hHyperlink, 1, 'setURL', 'http://otn.oracle.com/products/forms');
FBean.Invoke( hHyperlink, 1, 'setLabel', 'Forms on OTN');
FBean.Enable_Event( hHyperlink, 1, 'actionListener', true );
END;
7-Then i created a Trigger at CONTROL.HYPERLINK, that was
WHEN_CUSTOM_ITEM_EVENT and put the following code in it
DECLARE
vcEventData varchar2(256);
BEGIN
vcEventData := Fbean.Invoke_Char('CONTROL.HYPERLINK', 1, 'getURL');
WEB.SHOW_DOCUMENT(vcEventData, '_blank');
END;
Then did the following steps of the locating the bean by the
JAR method.
Method 1 - The JAR Method:
a. Locate the hyperlink.jar file located in D:\9iDS\forms90\demos\hyperlink\classes.
b. Move the hyperlink.jar file to 9iDS_HOME\forms90\java.
c. Find the formsweb.cfg file in 9iDS_HOME\forms90\server.
d. Add the following configuration section to the file:
[hyperlink]
archive_jini=f90all_jinit.jar,hyperlink.jar
width=675
height=480
separateFrame=false
splashScreen=no
lookAndFeel=oracle
colorScheme=blue
The archive_jini parameter pointing to hyperlink.jar is the most important part
of this configuration.
e. Now go into Form Builder and accomplish the following:
Edit->Preferences->Runtime Tab
Add the config parameter to your "Application Server URL". It should look
something like this:
http://machine.domain:port/forms90/f90servlet?config=hyperlink
Then i compiled it and ran it, Now it gives this error
FRM-40738 Argument 1 to built in SET_CUSTOM_PROPERTY cannot
be null.
P.S I have set the implementation class property but, still i don't know
whats the problem, and where i am making mistake, please help me.
Please any help will be appreaciated.
Sincerely
Tensed BeginnerHello Frank,
Thanks for your reply back to me. Frank, i am
currently
new to Forms 9i even the Oracle world. In my compan
basically i was hired a J2EE resource, but they put
me
on oracle, and i feel like, i am not performing to
the level i should.
Can you please tell me, how should i verify that, it
is not returning
a Null? Can you tell me the statement Syntax, yea my
BLock
name is CONTROL and Item name is HYPLERLINk, please
do
tell me how to verfiy it, i will be highly obliged.
Sincerely,
Ben ( Tensed Beginner )
Hello Frank,
Thanks for your reply back to me. Frank, i am
currently
new to Forms 9i even the Oracle world. In my compan
basically i was hired a J2EE resource, but they put
me
on oracle, and i feel like, i am not performing to
the level i should.
Can you please tell me, how should i verify that, it
is not returning
a Null? Can you tell me the statement Syntax, yea my
BLock
name is CONTROL and Item name is HYPLERLINk, please
do
tell me how to verfiy it, i will be highly obliged.
Sincerely,
Ben ( Tensed Beginner )Hi Ben
Please check the path that u have given. Think the mistake is in the path.
FBEAN.Register_Bean( hHyperlink, 1, 'oracle.forms.demos.beans.Hyperlink');
If the problem still persist will let u know how to resoleve it.
feel free to get in touch....
Regards
Aravind -
FRM-40738 issue on AIX servers
Hi All,
I have an issue with populating the LOV of a particular field. The form works fine on linux server but throws error FRM-40738 on unix server.
Compiled all libraries in both the servers but still this issue persists. Can anyone throw some light on this?Hi,
Thank you for the responses. After thorough checking we understood that the program code was not initializing the variables properly, so we had to modify few lines of the script to make it work on the new server. Somehow on original server(AIX5.2) it was not showing error with the script, but had issue with the OS upgrade to AIX 5.3. Apart from this one-off incident we have not faced any other issues till now. Will update if anything else crops up.
Thank you again !
Regards,
Himansu -
Empty Error box raising FRM-40738
Hi all
While migrating to HSD6i/Dev6i, encountered following situation
- Open any form (e.g. HSD0022F)
- Query any record
- Use F6 and F4 to force duplicate value for an UK
- Press X in windowtitle-bar to close window
- Message QMS-00158('Do you want to save your changes')
- Pressing No, all is ok
- Pressing Yes, causes alert with message for UK-violation to popup (is OK) (e.g. HSD-00016)
- Press OK-button and an empty 'error and warning box in this transaction'-window apears
- Press OK-button and alert with FRM-40738 appears
- Pressing OK-button returns you to named window
Only way to close this window is via the menu-option 'File->Close Form' or 'File-Close all)
Has anyone encountered this behaviour and a fix or WA ??
rgrds
JanThis is a new one. I have recorded a bug against Headstart for this.
I did discover one thing.
After the empty Errors and Warnings in this Transaction window opens, you can click back on the original window instead of pressing OK.
If you do that, you can close the window by pressing the 'X' in the upper right hand corner.
You will again see the message 'Do you want to save your changes?'. This time, select 'No'.
Now that one form will close and you won't have to exit your whole application.
Regards,
Lauri -
Hello,
when tryiing to switch between the tab canvases iam encountreing the below error.
1) FRM-40738: Argument 1 to builtin FIND_VIEW cannot be null.
2) FRM-41053: Cannot find canvas: invalid ID.
Any suggestion Please.Can you give us a code sample? More than likely, you have misspelled the Canvas name in your call to Find_View.
Craig B-)
If someone's response is helpful or correct, please mark it accordingly. -
FRM-40738 cant identify the problem
Hi Guys i am getting this error again and again :
FRM-40738 Argument 1 to builtin Report_Object_Status cannot be null.
I have check the code and to my understanding it is ok, this is the code:
DECLARE
report_id Report_Object;
report_job_id VARCHAR2(100);
v_rep VARCHAR2(200);
rep_status VARCHAR2(100);
BEGIN
report_id := FIND_REPORT_OBJECT('REPORT1');
set_report_object_property(report_id,REPORT_FILENAME,'EMP_ALLOW_DET.RDF');
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_EXECUTION_MODE,BATCH);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,CACHE);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESFORMAT,'html');
--SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_other,' p_prov_id='||V_PROVINCE
v_rep := RUN_REPORT_OBJECT(report_id);
rep_status := REPORT_OBJECT_STATUS(v_rep);
WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
rep_status := report_object_status(v_rep);
END LOOP;
IF rep_status = 'FINISHED' THEN
/*Display report in the browser*/
--WEB.SHOW_DOCUMENT('http://'||ltrim(rtrim(v_host_name))||'.sct.gov.sa:8888/reports/rwservlet/getjobid'||
--substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=mas1','_blank');
WEB.SHOW_DOCUMENT('http://BSS-DC1:9000/reports/rwservlet/getjobid'||
substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=mas1','_blank');
ELSE
message('Error when running report');
END IF;
END;
Please help me out with this problem.
Regards, ImranHi,
print out the value of "v_rep" to see if this has a valid Reports ID. In cases where a Reports crashes (see queuemanager for details about the Reports run) it happens that a null value is returned instead of a job ID. This is a bug and should be fixed soon.
Also, since you are using REPORT_COMM_MODE being SYNCHRONOUS you don't need the LOOP in the while statement. Forms waits for the Reports call to return.
I know that the while loop is in the example code in the Forms / Reports integration Whitepaper too, but this is not needed. I'll remove it from this paper for its next release.
WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
rep_status := report_object_status(v_rep);
END LOOP;
Just use
rep_status := report_object_status(v_rep);
Frank -
Can't find report error frm-41219
i have a report with the name of item_report.rdf
i have a form with the name test123
DECLARE
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
BEGIN
repid := FIND_REPORT_OBJECT( 'item_report' );
v_rep := RUN_REPORT_OBJECT(repid);
END;
i get the error frm-41219
frm-40738 argument 1 to builtin RUN_REPORT_OBJECT cannot be null.
please guide me
Thankshave a report with the name of item_report.rdf
i have a form with the name test123
forms9i, reports9i ooperating system window XP
DECLARE
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
BEGIN
repid := FIND_REPORT_OBJECT( 'item_report' );
v_rep := RUN_REPORT_OBJECT(repid);
END;
i get the error frm-41219
frm-40738 argument 1 to builtin RUN_REPORT_OBJECT cannot be null.
please guide me
Thanks -
FRM 40738 - Argument 2 to builtin CREATE_TIMER
Recently I migrated from forms 4.5 to forms6i (6.0.8.17.1). Everything worked fine until a few weeks ago. Every new fmx-file I create, gives a very strange error when the user moves his mouse over the icons in the toolbar: 'FRM 40738 - Argument 2 to builtin CREATE_TIMER'. The developers cannot reproduce this bug because it only occurs on the PC's of the users.
Can somebody help me?-- BEGIN WHEN_MOUSE_ENTER
BEGIN
IF SUBSTR(NAME_IN('SYSTEM.MOUSE_ITEM'),1,INSTR(NAME_IN('SYSTEM.MOUSE_ITEM'),'.')-1) = 'TOOLBAR'
THEN
HINT.ShowButtonHelp;
END IF;
EXCEPTION
WHEN VALUE_ERROR THEN
null;
WHEN OTHERS THEN
null;
END;
-- END WHEN_MOUSE_ENTER
-- ShowButtonHelp is a procedure in a PL\SQL library
PROCEDURE ShowButtonHelp( timedelay NUMBER := 500) IS
t Timer := Find_Timer(BUTTONHELPTIMER);
BEGIN
IF NOT on_windows THEN
RETURN;
END IF;
IF NOT Id_Null(t) THEN
Delete_Timer(t);
END IF;
sync_mouse_info;
IF mouse_item IS NOT NULL AND
mouse_item_is_iconic_button THEN
IF mouse_item_label IS NOT NULL THEN
t := Create_Timer(BUTTONHELPTIMER,timedelay,NO_REPEAT);
END IF;
ELSE
HideButtonHelp;
END IF;
END;
-- sync_mouse_info is a procedure in a PL\SQL library
PROCEDURE sync_mouse_info IS
BEGIN
mouse_item := Name_In('SYSTEM.MOUSE_ITEM');
mouse_canvas := Name_In('SYSTEM.MOUSE_CANVAS');
appInst := TO_NUMBER(
Get_Application_Property(APPLICATION_INSTANCE));
IF mouse_item IS NOT NULL THEN
hWind := TO_NUMBER(
Get_Item_Property(mouse_item,WINDOW_HANDLE));
mouse_item_hint := Get_Item_Property(mouse_item,HINT_TEXT);
IF SUBSTR(mouse_item_hint,1,1) = CHR(0) THEN
mouse_item_hint := NULL;
END IF;
ELSE
hWind := NULL;
END IF;
END; -
ERROR FRM-40735 while migrating from 6i to 9i using FMA
Hi,
We have migrated a sample form which is in 6i to 9i using Oracle Forms Migration Assistant. It is compiling without errors and while running hitting the error
FRM-40735:PRE-FORM trigger raised unhandled exception ORA-06508.
and not opening up the form...Please post any suggestions on this.
madhu.Thank you very much for the help...I could resolve it by just adding the appropriate pll's in forms90 folder.
Now, we are trying to implement the calender in forms 9i. As we are moving from Forms 6i C/S to Forms 9i, as a first step I've implemented calender in web forms 6i (using demo's in oracle doc's--using CalenderWidget Bean)
I tried doing the same for Oracle 9i too but it didn't work..I mean it is deleting the code for the trigger
WHEN_CUSTOM_ITEM_EVENT which is written for Bean.
Please suggest me regarding how to proceed with this...
thank you
madhu. -
hello friends when i am using the following code
report_id Report_Object;
ReportServerJob VARCHAR2(100);
BEGIN
report_id:= find_report_object(‘MyReport1’);
ReportServerJob:=run_report_object(report_id);
END;
i am getting the following error
frm-41211 integration errrorThis could be caused by:
-- Calling Graphics runtime a second time when the first runtime is still open (see Note 15219.1)
-- Failure to set environment variables TK2_PRINT_STATUS
PRINTER, or DISPLAY (see Note 1031534.6)
-- Calling OG_QUIT from Forms6i running on the Web (see Note 222334.1)
-- Memory Problems: Your PC must have an adequate amount of available RAM to run Forms, as well as the runtime of
the product you are integrating. Even though your PC may have a large amount of total RAM available, there still may not be enough real memory available to start another
Windows task. See Note 164945.1
I also suggest that you upgrade to the latest patch because there are various bugs filed where this error is produced that are fixed in later patches. For example, see bug 1872955. -
Test.fmx gives error: "FRM-93500"
Hello all,
i have problem with oracle forms 11g, when i try to run test.fmx; in IE8 it gives this error="FRM-93500", on the other hand in FF 3.6 want to some plug-in but it doesn't solve automaticlly.In forms 11g all cofiguration are default.
OS server 2008
J2SE Runtime Env. 5u15
Java SE dev. kit 6u12
Thanks in Advance..port: '8888', it didn't give any error, when installed app.
sorry sarah. how can i replace jvm.dll, i find 5 diff. jvm.dll, diff. location. -
Oracle errors frm-40508 &ora-02291
hello
i m having a problem
i have two tables for my project with one of em master and the other a detail one
i m using developer 2000 for frontend
when i try inserting data in the forms developed i encounter an error frm-40508 which says "unable to insert record" the corresponding ora error is ora-02291 which says "integrity constraint violated - parent key not found"
i have a primary key in my master table which is used to connect it to details table through foreign key.feilds for the primary key in master and foreign key in details are same
i dont have any such problem if i input data through sql command insert
plz suggest me some solution to this problem
thnx
nipunHi,
Just try watching is therer ar no unique indexes on that table where u are doing an insert. another reason might be the composite primary key or the combination that might be confusing you.
U can try out adding an exception block to the trigger and try raise when-dup-val-on-index exception
Thanks,
Vishal -
Dear Sir
I get error in Oracle 11i (ERP)Application.
When I open application there is no problem , when I close the form and try to open an other one then get the following error ----
FRM-92090 : An unexpected error occurred
Thanks in AdvUrgent Reply this Forum Please !!!!!!!
-
Oracle forms 6i error FRM-42401
i have created a master detail module and when trying to run it, it doesn't come with data when clicking on "execute query"
Instead it displays error
"FRM-42401 Performing program trigger ON_CLEAR_DETAILS on form"
can someone pls help to get rid of this errorTry out,
after you compile all again your form:
in WHEN-NEW-FORM-INSTANCE
Go_block('your-MASTER-block');
Execute_query;
and see what happen(I think, your focus go on Detail-block and when you click F8(excute-query) error happen )
Regards .. hope helps
Maybe you are looking for
-
Error While Starting the Weblogic Managed server- BEA-160001
Hi, While starting the managed server (10.3.4) below exception occurs. Help me on why the error occurs. <Error> <J2EE> <BEA-160001> <Error deploying Internal Application: weblogic.application.ModuleException: [HTTP:101216]Servlet: "CoordinatorPortTyp
-
Is it possible to edit the voice of a song created in Garage band?
Hello to all! Using music tracks, I am singing songs in different languages using Garage band. After I import these songs into my FCPX projects, is it possible for me to break up the individual tracks [the music track apart and the voice track apart]
-
Communication Channel - 'Launch mail' launching the desktop again
Hi All, Here's a brief on my infrastructure - 1. Messaging Server 5.2 running on a High Availability setup managed by Sun CLuster 3.1 2. Box1 - Portal Server 6.1 on App Server 7 platform edition. 3. Box2 - Same as Box 1 I have communication channels
-
Direct Material Not Shown in Search Products/Services
Hi , We are implementing Classic Scenario on SRM5.0. We replicated materials.The materials are shown in COMMPR01 with out Product Descriptions.When try to search for Materials under BBPSC02> Internal Goods/Services > Find Product, i don't see any mat
-
Partner determination in ME21N
Hi all, I have one vendor (eg. 1000) and 2 Forwarding Agents (5001 and 5002). I have a PR with vendor assigned (1000) If I create a PO in ME21N and I enter the vendor (1000) then a pop up window appears asking to select the Forwarding Agent (5001 or