Home » Developer & Programmer » Forms » Hyperlink Bean Error FRM-40738 Arugment 1 to BUILT IN SET_CUSTOM_PROPERTY CANNOT BE NULL
Hyperlink Bean Error FRM-40738 Arugment 1 to BUILT IN SET_CUSTOM_PROPERTY CANNOT BE NULL [message #148739] |
Sun, 27 November 2005 13:55 |
mentalray01
Messages: 22 Registered: October 2005
|
Junior Member |
|
|
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.
Please any help will be appreaciated.
Sincerely
Ben
|
|
|
|
|
|
Re: Hyperlink Bean Error FRM-40738 Arugment 1 to BUILT IN SET_CUSTOM_PROPERTY CANNOT BE NULL [message #150110 is a reply to message #150108] |
Tue, 06 December 2005 06:31 |
mentalray01
Messages: 22 Registered: October 2005
|
Junior Member |
|
|
Hi Maher,
I hope you are doing fine and well.
Yes i have got JDK1.4 installed on my computer
and i guess i have also got Jdk1.3 on the same
machine, but how does it relate to this error?
Please can you help me to solve this strange
problem because my major assignmet is being
pending because of this error.
If you guys want, i can upload the screen shot
of the run time form and the error with it, so
that you guys can have a better clue where i am
doing wrong.
Sincerely
ben
|
|
|
|
Re: Hyperlink Bean Error FRM-40738 Arugment 1 to BUILT IN SET_CUSTOM_PROPERTY CANNOT BE NULL [message #150132 is a reply to message #150113] |
Tue, 06 December 2005 08:27 |
mentalray01
Messages: 22 Registered: October 2005
|
Junior Member |
|
|
Hi Maher,
Thanks for your reply.
Maher, are you talking about the Class Implemenation property
set? I already set that, at initial i got the error FRM-13008
then i included on the necessary files to be imported for
in form90_classpath and forms90_builderpath.
Still it is giving the same error. I am totally stuck.
Actually, i was a J2EE resource in my company and just
a fresher who has just entered the potential market.
They gave me an assignment to integrate a Translation bean
in Forms 9i, main problem is that, for that, i learnt
how to integrate bean in 9i and used Hyperlink bean as an
example, but from that time on i am just stucked up.
Can someone please help me, lolz seems like if i dont get
this done, i will be fired from job , may be some
people encountered the same problem. Please help the beginner.
Tensed Beginner
|
|
|
|
|
Re: Hyperlink Bean Error FRM-40738 Arugment 1 to BUILT IN SET_CUSTOM_PROPERTY CANNOT BE NULL [message #150292 is a reply to message #150246] |
Wed, 07 December 2005 00:55 |
mentalray01
Messages: 22 Registered: October 2005
|
Junior Member |
|
|
Hi David,
Thanks for your prompty reply, if this problem
gets solved, i will really owe a great deal to
you.
David, the above ones i have already checked, and
just in a moment i will paste you whole of my
configurations, but onething i am stuck up at may
be there is the problem.
Do i need to Sign the Jar Files?
If i need, can you tell me some document which tells
me how to sign a Jar File?
David, yes i tried to run the Hyperlink Bean which is
already made by the oracle ones, you know na, where
there are classes present, there is a sample form too
that is already made, i tried to run it, and it is
running properly, so i think so my configuration is correct
but problem is lying somewhere else.
Thanks for the help.
|
|
|
|
Re: Hyperlink Bean Error FRM-40738 Arugment 1 to BUILT IN SET_CUSTOM_PROPERTY CANNOT BE NULL [message #150853 is a reply to message #150424] |
Sun, 11 December 2005 03:26 |
mentalray01
Messages: 22 Registered: October 2005
|
Junior Member |
|
|
Hi David,
I am very sorry, i had high fever for some days
so, i coudlnt come online.
Still, it is not running, i think that, David, my
configuration is correct, i am showing you each step
by step configuration
Point 3 Configuration
---------------------
Forms builder class path values
-----------------------------------
E:\Oracle1\DevSuit1\jlib\importer.jar;E:\Oracle1\DevSuit1\jlib\debugger.jar;E:\Oracle1\DevSuit1\jlib\utj90.jar;E:\Oracle1\DevSuit1\jl ib\dfc90.jar;E:\Oracle1\DevSuit1\jlib\help3.jar;E:\Oracle1\DevSuit1\jlib\help3-nls.jar;E:\Oracle1\DevSuit1\jlib\oracle_ice5.jar;E:\Or acle1\DevSuit1\jlib\ewt3.jar;E:\Oracle1\DevSuit1\jlib\share.jar;E:\Oracle1\DevSuit1\forms90\java;E:\Oracle1\DevSuit1\forms90\java\hyp erlink.jar;E:\Oracle1\DevSuit1\forms90\java\f90all.jar
Forms 90 class path
-------------------
E:\Oracle1\DevSuit1\forms90\java\importer.jar;E:\Oracle1\DevSuit1\forms90\java\debugger.jar;E:\Oracle1\DevSuit1\forms90\java\utj90.ja r;E:\Oracle1\DevSuit1\jlib\ewt3.jar;E:\Oracle1\DevSuit1\jlib\share.jar;E:\Oracle1\DevSuit1\forms90\java;E:\Oracle1\DevSuit1\forms90\j ava\hyperlink.jar;e:\Oracle1\DevSuit1\forms90\java\f90all.jar
My oracle is installed in e drive of my hard-disk by this
path
E:\OraDev1\DevSuit1
Actually, i downloaded the deamos, and when i tried to
run the Hyperlink bean form, which comes with the
demo's itself, it is running, but my one is not working
at all, which i try to develope.
Please now tell me, do i still need to sign the jar files
or what??
I am really tensed, its my first assignment and i still
unable to do it, i feel really disheartened.
I want to know onething more david, what are the best
steps you will advice me to be a proficient programmer
in forms 9i ?
I will be highly greatful.
sincerely,
ben
|
|
|
|
Re: Hyperlink Bean Error FRM-40738 Arugment 1 to BUILT IN SET_CUSTOM_PROPERTY CANNOT BE NULL [message #151026 is a reply to message #150915] |
Mon, 12 December 2005 12:39 |
mentalray01
Messages: 22 Registered: October 2005
|
Junior Member |
|
|
Hi David,
I hope you are doing fine and well.
David, i am sorry, if i replied you in an un-ethical way. I am totally new to the field, so sincerely seeking things.
David, i got the problem solved. I will never forget this mistake in my whole career. Actually, i had to name the Data Block to CONTROL and i was naming the CANVAS CONTROL. That was putting the NULL pointer exception.
I'm really thankful to the help you provided, because it helped me to locate the jar file in the more proficient manner.
David, i am working alone, i don't have really such seniors who are helping me in the job, thats why i am having a tough time. Please, i do have some dreams too, to excel in job, and i really dont wana let down the company who has shown interest in me. Please provide me some of the professional tips, how to cope up with this Oracle forms 9i. Because, rather i am alone and i wana learn. So please provide me with some tips.
I beg your pardon again, that i didn't answer you in a more ethical way, as it should me. Forgive me. Take care of yourself.
Sincerely,
Benz
Upd-mod: Remove superfluous CR-LFs.
[Updated on: Mon, 12 December 2005 20:59] by Moderator Report message to a moderator
|
|
|
Re: Hyperlink Bean Error FRM-40738 Arugment 1 to BUILT IN SET_CUSTOM_PROPERTY CANNOT BE NULL [message #151050 is a reply to message #151026] |
Mon, 12 December 2005 21:07 |
|
djmartin
Messages: 10181 Registered: March 2005 Location: Surges Bay TAS Australia
|
Senior Member Account Moderator |
|
|
My apologies if you thought I felt your answers were unethical, and also about the 'other students' comment, I must have been thinking of another thread.
I am VERY happy that you have solved your problem. We would have got around to looking at your block names, canvas names, and the code with which you had problems ultimately, but I DID need to have those 6 questions answered first.
Concerning the future, just listen to what they want, work hard, read the manuals, research the answers, look at Oracle's OTN web-site at least monthly, download the new demos and things like the 10g XE R2 personal database (so you don't have to run stuff on the 'real' boxes, and when you KNOW that Forms can't do something then tell your bosses as early as possible so that alternatives can be proposed EARLY in the development cycle. Also, read the General, Marketplace, and Suggestions Fourms at the bottom of the list of forums.
David
|
|
|
Goto Forum:
Current Time: Sat Feb 01 16:58:28 CST 2025
|