Home » Developer & Programmer » Forms » Form get close automatically (Windows XP, Oracle Form 6i)
Form get close automatically [message #602469] Wed, 04 December 2013 09:08 Go to next message
lock_heart
Messages: 36
Registered: November 2013
Member
I've created a form which changes the background color of canvas at runtime. The form contains only push buttons. Its working fine, but it get close automatically after pushing button more than 10 times. I don't know what gets wrong. Can anybody pls help me.
Re: Form get close automatically [message #602485 is a reply to message #602469] Wed, 04 December 2013 13:29 Go to previous messageGo to next message
Littlefoot
Messages: 21808
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Don't push button more than 10 times.



What button? What does it do? Is it 10 times pushing the same button, or any combination of buttons? Are you saying that - if you push buttons 9 times, nothing happens, but 10th makes it crash?
Re: Form get close automatically [message #602489 is a reply to message #602485] Wed, 04 December 2013 21:37 Go to previous messageGo to next message
lock_heart
Messages: 36
Registered: November 2013
Member
I've created a form which contains 204 push buttons. the main purpose of this form is to change background color of the canvas by pushing the push buttons. I change the iconic property of all push buttons to yes and set background color to one particular color.
Now when I run the form its working fine like if I push the button whose background color is red then the canvas background also changes to the red and same of all other color. But if I try to change the color of canvas for more than 10 times by pushing buttons it gets crash. I don't know why it is happening.
Can you pls help me with this one. I've uploaded the screen shot of the form.
Re: Form get close automatically [message #602497 is a reply to message #602489] Thu, 05 December 2013 00:11 Go to previous messageGo to next message
Littlefoot
Messages: 21808
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
What can I say, amazing!

How does that "crash" look like? Do you get any error (either Oracle, or operating system one)? If so, which one is it? Or, does your application just terminate? If so, have a look at Windows' Event viewer as its log might contain some useful information.
Re: Form get close automatically [message #602512 is a reply to message #602497] Thu, 05 December 2013 02:54 Go to previous messageGo to next message
lock_heart
Messages: 36
Registered: November 2013
Member
Hii, when form get crash in Windows XP it neither show error nor warning it just get terminate, and you said that check into event viewer, well I check and nothing present related to the forms crash log.
Same form when I run in Window 7 and get crash, well it shows the error I uploaded the screen shot of it. And when I checked into event viewer well now it shows some error log which is present below :-

Quote:

Faulting application name: IFDBG60.exe, version: 6.0.8.7, time stamp: 0x39b8f14f
Faulting module name: CORE40.dll, version: 0.0.0.0, time stamp: 0x39ddf8ea
Exception code: 0xc0000005
Fault offset: 0x00035456
Faulting process id: 0x271c
Faulting application start time: 0x01cef196718d0cac
Faulting application path: D:\Oracle_Form\bin\IFDBG60.exe
Faulting module path: D:\Oracle_Form\bin\CORE40.dll
Report Id: b6f657d4-5d89-11e3-a150-685d43275780


pls can you tell me whats wrong is going on
Re: Form get close automatically [message #602513 is a reply to message #602512] Thu, 05 December 2013 03:03 Go to previous messageGo to next message
Littlefoot
Messages: 21808
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
As of Windows 7: it is not certified with Forms 6i (as this version was desupported long before Windows 7 was released, so it is more or less matter of pure luck whether your Forms 6i application will work with Windows 7. It might, but it doesn't have to; or, some functionalities will work, while the others won't; or, it might be OK on one Windows 7 system and crash on another, and so forth.

As of Windows XP: did you install the latest patch available for Forms 6i on that operating system? If not, perhaps you should.
Re: Form get close automatically [message #602515 is a reply to message #602513] Thu, 05 December 2013 03:14 Go to previous messageGo to next message
lock_heart
Messages: 36
Registered: November 2013
Member
But I dont have any metalink or support identifier to download from www.support.oracle.com. I have only simple registration in OTN. So is there a another way to download latest patch.
Re: Form get close automatically [message #602517 is a reply to message #602515] Thu, 05 December 2013 03:20 Go to previous messageGo to next message
Littlefoot
Messages: 21808
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Not that I know; MOS is the only legal patch source.
Re: Form get close automatically [message #602518 is a reply to message #602513] Thu, 05 December 2013 03:23 Go to previous messageGo to next message
lock_heart
Messages: 36
Registered: November 2013
Member
when I make some changes in coding well now it showing form level error i.e. frm-40734: internal error:pl/sql error occured
well this is the code i am using
DECLARE
	v_get_item 	VARCHAR2(100);
BEGIN
	v_get_item := get_item_property (:SYSTEM.CURSOR_ITEM, background_color);

	:COLOR_CONTROL_BLOCK.color_code	:= v_get_item;

--	set_va_property ('COLOR', background_color, v_get_item);
--	set_canvas_property ('CAN_COLOR', visual_attribute, 'COLOR');
	set_canvas_property ('CAN_COLOR', background_color, v_get_item);
END;

Re: Form get close automatically [message #602519 is a reply to message #602518] Thu, 05 December 2013 03:27 Go to previous messageGo to next message
Littlefoot
Messages: 21808
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
That's some nasty error:Oracle

FRM-40734: Internal Error: PL/SQL error occurred.

Cause: A fatal error occurred in PL/SQL during trigger execution.

Action: Notify the DBA.


Try to recompile the form (Ctrl + Shift + K).
Re: Form get close automatically [message #602520 is a reply to message #602519] Thu, 05 December 2013 03:32 Go to previous messageGo to next message
lock_heart
Messages: 36
Registered: November 2013
Member
well I did it saying compilation completed successfully. But still it getting terminated.
Re: Form get close automatically [message #602523 is a reply to message #602520] Thu, 05 December 2013 04:18 Go to previous messageGo to next message
Littlefoot
Messages: 21808
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Too bad; I'm afraid I don't have anything else to say. Be patient, someone else might get the idea.
Re: Form get close automatically [message #602525 is a reply to message #602523] Thu, 05 December 2013 04:35 Go to previous message
lock_heart
Messages: 36
Registered: November 2013
Member
But anyway thanks for your help Razz
Previous Topic: selected wrong lov
Next Topic: master detail block problem
Goto Forum:
  


Current Time: Thu Apr 25 06:21:49 CDT 2024