Webutil demo problems - WHEN-TIMER-EXPIRED error
Hi there,
I have just installed the 10.1.2 forms no problems. I then downloaded the demo of webutil from OTN and cannot get it to run properly. Can anyone help.
I initially had to rename the webutil.pll (i renamed to webutil_lib.pll as recommended in an earlier forum) file to overcome an initial error and now I can at least see the runtime canvas. I dropped and re-attached the attached libraray for this pll file (Is this all I have to do?)
The problem is I immediately get the error FRM-40735:WHEN-TIMER-EXPIRED trigger raised unhandled exception ORA-06508 in the console. This error continues for every event I do that has a trigger associated, ie changing tabs or pressing buttons, the only difference in the error message is the trigger name.
I can see the canvas and various items on the tab sheet but none of the triggers that refernce webutil appear to work.
I presume I have missed something simple, possibly when I renamed the .pll file.
Any ideas.
Doug
Dougo,
I checked our bug database for this topic and couldn't find anything reported. Can you file a TAR with support to have them analyzing your problem. (metalink.oracle.com)
Frank
Similar Messages
-
WHEN-TIMER-EXPIRED
declare
var number :=10;
v_al char(3);
v_al_ti date;
begin
for i in 1..var loop
:control.showdate := TO_CHAR(SYSDATE,'DD-MONTH-YYYY');
:control.showtime := TO_CHAR(SYSDATE,'HH24-MI-SS AM');
select alarm, alert_date, alert_time
into v_al, v_al_da, v_al_ti
from remind
where alarm='ON';
if v_al = 'ON' AND
v_al_ti = to_char(sysdate,'HH24-MI-SS AM') AND
v_al_da = to_char(sysdate,'DD-MONTH-YYYY')then
message('alert is on ');
end if;
if var =9 then
var:= var+1;
end if;
end loop;
end;
THE CLOCK WORK BUT THE FORMAT MASK GIVE ERROR.
I WANT TO RAISE A MESSAGE WHEN AN REMINDER ENTRY HAVE ALARM = 'ON'
AND DATE = SYSDATE
AND TIME = SYSDATE.
THE TABLE HAVE FOLLOWING COLUMNS.
SQL> desc remind;
Name Null? Type
RE_ABOUT VARCHAR2(100)
ALARM CHAR(3)
ALERT_TIME DATE
ALERT_DATE DATE
THANKS IN ADVANCE.
REPLY ME ON MY EMAIL.
MUHAMMAD NADEEM
MARDAN (PAKISTAN)
[email protected]
+92-0301-8334434Hi Nadeem,
Change these two lines of code:
:control.showdate := TO_CHAR(SYSDATE,'DD-MONTH-YYYY');
:control.showtime := TO_CHAR(SYSDATE,'HH24-MI-SS AM');
Try with replace the above with select statement like below.
select TO_CHAR(SYSDATE,'DD-MONTH-YYYY'), TO_CHAR(SYSDATE,'HH24-MI-SS AM') INTO :control.showdate, :control.showtime From dual;
Cheers -
Timer --what you type gets lost on other forms when timer expires
I am using a timer that works fine on this one form. The problem lies you move to a different form that does not have a timer and start typing and if the timer fires at that time while you are typing the focus moves to the form with the timer but it appears that the other form is still there infront.But what you type gets lost at the moment the timer expires.
I am using go_block on when timer expired form.
Any good way t handle this ?I am using a timer that works fine on this one form. The problem lies you move to a different form that does not have a timer and start typing and if the timer fires at that time while you are typing the focus moves to the form with the timer but it appears that the other form is still there infront.But what you type gets lost at the moment the timer expires.
I am using go_block on when timer expired form.
Any good way t handle this ? -
My problem - when syncing and error messages comes up: iTunes could not sync calendars to the iPhone because an error occurred while margin data." I've tried turning the phone off and back on, & tried both USB ports but get the same thing. What can I do next since it doesn't give me even one clue as to what the error would be?
Before I started to resync calendars one by one as suggested in the troubleshooting article, I remembered something that came up in a sync when I first attempted : a 'which one do you want to keep' message about a repeating calendar event, which came up with three options, one from Calendar, and two from iCal on the phone. I deleted that event, then went through the calendar resync one by one, and all seems OK now.
In Music there is a way to find 'ghost' items that show up as grayed-out on the menus, so that you can try to reassociate or delete them. It would be nice to have a similar way to work with Calendar!
Thanks for pointing me to the right article. -
Hi everyone,
This is my first time using this trigger and i dont really catch what to do to make it fire. Arwind advices me to use it to make the valus of the item blink. The way i see it it should work but i guess i'm missing something...could u plz help me find what i'm missing here.
Here is the only code i have for the trigger.
DECLARE
id_item ITEM;
timerid TIMER := FIND_TIMER('BLINK');
BEGIN
if :prix_en_vigueur is not null then
/*--- Make the item blink ---*/
id_item := find_item('PRIX_EN_VIGUEUR');
set_timer(timerid, 1000, REPEAT);
if get_item_property('id_item',DISPLAYED) = 'PROPERTY_TRUE' then
set_item_property(Id_item,
DISPLAYED,PROPERTY_FALSE);
else
set_item_property(Id_item, DISPLAYED,PROPERTY_TRUE);
end if;
end if;
END;
Does it have something to do with the set_timer or delete_timer and if so how should i use them.
Thanx in advance for ur replies.
nullYou have the when-timer-expired defined at form level. In it you should first have a call to get_application_property(TIMER_NAME), that returns the name of the timer that has made the trigger fire, depending on which you perform what you have to do under those circumstances.
How to make it fire? In whatever trigger you find appropriate you call set_timer, that starts the countdown for the number of milisecs you specify that finally generates the "Timer-Expired" event which makes the trigger fire.
Regards,
BD -
GO_FORM when TIMER-EXPIRED
Just want to know if I am doing something wrong
or if it's another feature of Forms. I have a
GO_FORM within an IF statement in the (repeating)
WHEN-TIMER-EXPIRED trigger. It all goes well until
the IF statement evaluates to a value that makes
GO_FORM the case, the repeating timer seems to go
dead after GO_FORM switches the focus to the
specified form. Any comments? Thanks in advance.Hi Eugeniy,
The original WBP trigger has already the following code:
go_item('bijz.click_datum');
do_key('list_values');
The section where copy ('0','GLOBAL.save_mouse_record'); is mentioned is part of the code that Metalink offered me, look at:
Note 266535.1 How to call to a calender window against an unbound item via an LOV button.doc
Best regards,
Ronny. -
Regarding When-timer-expired trigger
Hi,
My requirement is to display time .From my understanding i think every time
when-timer-expired shuttle between client and middle tier for this purpose for
every expiry of time .This i feel degrades the performance.
Is there any workaround available so that the database time is fetched for the first
time and thereafter refreshing could takeplace in the client-side
Thanks in advance
regards,
prabakaran.sHere is the code:
package oracle.forms.fd;
import java.awt.AWTEventMulticaster;
import java.awt.Color;
import java.awt.Cursor;
import oracle.forms.handler.IHandler;
import oracle.forms.properties.ID;
import oracle.forms.ui.VTextField;
* A PJC to have a textfield blinking
* @author Francois Degrelle
* @version 1.0
public class BlinkTextField extends VTextField implements Runnable
public final static ID START = ID.registerProperty("START");
public final static ID STOP = ID.registerProperty("STOP");
public final static ID SETBLINKRATE = ID.registerProperty("SETBLINKRATE");
public final static ID SETFGCOLOR = ID.registerProperty("SETFGCOLOR");
public final static ID SETBGCOLOR = ID.registerProperty("SETBGCOLOR");
static Thread runner ;
protected int seconds = 400 ; // milliseconds
private Color cdefFG = null ; // default background color
private Color cdefBG = null ; // default foreground color
private Color cFore = null ; // blinking foreground color
private Color cBack = null ; // blinking background color
private boolean bSwitch = true ;
private IHandler m_handler;
public BlinkTextField ()
super();
public void init(IHandler handler)
m_handler = handler;
super.init(handler);
cdefFG = this.getForeground() ;
cdefBG = this.getBackground() ;
* switch color to simulate the blinking process
public void run()
Thread theThread = Thread.currentThread();
while (runner == theThread)
try{
Thread.sleep(seconds);
} catch (InterruptedException e) { }
if(bSwitch)
if(cBack != null) this.setBackground(cBack);
if(cFore != null) this.setForeground(cFore);
else
this.setBackground(cdefBG);
this.setForeground(cdefFG);
bSwitch = ! bSwitch ;
private void startTimer()
if (runner == null )
runner = new Thread(this);
runner.start();
private static void stopTimer()
if (runner != null )
runner = null;
public boolean setProperty(ID property, Object value)
if (property == START) // start the blinking
startTimer() ;
System.out.println("** Start **");
return true;
if (property == STOP) // stop the blinking
System.out.println("** Stop **");
stopTimer() ;
return true;
else if (property == SETBLINKRATE) // set the cursor blink rate
int i = Integer.parseInt(value.toString());
seconds=i;
System.out.println("** SetRate="+seconds+ " miliseconds");
return true;
else if (property == SETFGCOLOR) // set the foreground color
cFore = getColor(value.toString()) ;
System.out.println("** SetFGColor="+cFore);
return true;
else if (property == SETBGCOLOR) // set the background color
cBack = getColor(value.toString()) ;
System.out.println("** SetBGColor="+cBack);
return true;
else
return super.setProperty(property, value);
// expects r,g,b values separated by commas
public Color getColor(String colourValue)
try{
int r,g,b;
int rPos, gPos;
rPos = colourValue.indexOf(",");
gPos = colourValue.indexOf(",", rPos + 1);
if (rPos < 1 || gPos < 1 || gPos + 1 == colourValue.length()) {
throw new Exception("Invalid colour");
r = Integer.parseInt(colourValue.substring(0, rPos));
g = Integer.parseInt(colourValue.substring(rPos + 1, gPos));
b = Integer.parseInt(colourValue.substring(gPos + 1));
if (r < 0 || r > 255 || g < 0 || g > 255 || b < 0 || b > 255) {
throw new Exception("Invalid colour");
return new Color(r,g,b);
catch(Exception e) {
return new Color(0,0,0);
}Francois -
When-Timer-Expired not firing if LOV is open
In my form I have a when-timer-expired trigger that kicks the user out of the form if there is no activity for one minute. But if the LOV is open the when-timer-expired trigger is not firing.
Thanks,yeah !
if the form starts a db-function or a host-command or a lov - then the form isn't able to do something else parallel to this...
e.g. :
WHEN-BUTTON-PRESSED :
IF show_lov () THEN
END IF;
if the lov works different, then you have parallel working program units. In this case :
a WHEN-BUTTON-PRESSED and a WHEN-TIMER-EXPIRED
and this is today impossible in Forms -
I NEED TO RUN WHEN-TIME-EXPIRED
AFTER PRESS PTN
BUT DONT KNOW HOWThis sound like a Oracle Forms question.
You might get more response in the designated forms forum here
Forms -
When-timer-expired hit the cursor position
Some of our forms sometimes have timers running, to monitor
progress of this and that. We've found that if the timer
expires when you're typing in a form field, there's a tendency
for the cursor to momentarily move to the beginning of the field
then jump back to roughly where it had been. If you're just
typing away without paying attention, this can be messy.
Specifically, I put a few '0' characters at the beginning of a
large field, then hit '1' and let it go to autorepeat. When the
trigger fires, the insert cursor goes to a wait cursor for a
bit, then back. I'll find a few '1' characters at the beginning
of the field, and the insert cursor is now pointing the same
number of characters from the end of the field. My testing
indicates that the more time spent in the trigger, the more
likely the problem is to occur. Also, it happens more if
you're in a different form than the one with the timer.
does anyone know how to handle this situation
i m using when_timer_expired trigger with folllowing code
declare
v_timer varchar2(40);
begin
v_timer:=get_application_Property(timer_name);
if v_timer='TIMER_TIME' then
:CONTROL.onscreen:=to_char(sysdate,'HH12:mi:ss AM');
end if;
end;You could use JDAPI to make bulk changes to your Forms ...
Re: Reading items/blocks/LOVs in the Object Navigator
h2. UPDATE:
Take a look at metalink note 45615.1 - Focus And Timer Behavior In Multiple Form Applications
It seems you need to keep destroying and recreating the timer as you navigate from Form to Form ..
Edited by: Rodolfo Ferrari on Aug 20, 2009 6:26 PM -
Getting time expired error in labview while getting screen capture
Hello,
I have to capture a screen shot for Agilent's Spectrum analyzer, ESA series. But Whenever i run the program i always get time expired before operation is completed. I am attaching the program and also screen-shot of program. If anyone can solve this problem i would be very glad.
Thanking you all...
Pals
Solved!
Go to Solution.
Attachments:
PSA Screen Capture via GPIB.jpg 39 KB
VISA Read Binary Block Data to File.jpg 48 KB
PSA Screen Capture via GPIB.llb 91 KBHi,
I tried to increase the time out but it didnt work. i am trying to read 1 byte at a time... So is it ok?
Thanks so much....
Attachments:
PSA Screen Capture via GPIB.jpg 39 KB
VISA Read Binary Block Data to File.jpg 48 KB -
When-Timer-Expired goes back to form
Got a problem in my application where I have a timer on my for which requery's everytime it expires. However if I am in another application e.g. Windows Nt Explorer every time the timer expires control goes back to the form.
Does any one have any ideas??Try closing Mail App in Multitask Window
1. Double tap the home button to bring up the multi-tasking view
2. Swipe up on the screenshot of the Mail app to close
3. The app will fly off the screen
4. Test Mail again -
Hello Community,
I am trying to execute a tcl script that I have downloaded from this site called wan_load_alarm. I have registered properly, however after registering I get the following error:
Jan 18 00:08:20.019: %SYS-3-CPUYLD: Task ran for (19884)msecs, more than (2000)msecs (284/22),process = EEM TCL Proc
Jan 18 00:08:20.627: %HA_EM-6-LOG: wan_load_alarm.tcl: 1Process Forced Exit- MAXRUN timer expired.
Jan 18 00:08:20.995: %HA_EM-6-LOG: wan_load_alarm.tcl: while executing
Jan 18 00:08:20.995: %HA_EM-6-LOG: wan_load_alarm.tcl: "expr $txload_total + $txload "
Jan 18 00:08:20.995: %HA_EM-6-LOG: wan_load_alarm.tcl: invoked from within
Jan 18 00:08:20.995: %HA_EM-6-LOG: wan_load_alarm.tcl: "$slave eval $Contents"
Jan 18 00:08:20.995: %HA_EM-6-LOG: wan_load_alarm.tcl: (procedure "eval_script" line 7)
Jan 18 00:08:20.995: %HA_EM-6-LOG: wan_load_alarm.tcl: invoked from within
Jan 18 00:08:20.995: %HA_EM-6-LOG: wan_load_alarm.tcl: "eval_script slave $scriptname"
Jan 18 00:08:20.995: %HA_EM-6-LOG: wan_load_alarm.tcl: invoked from within
Jan 18 00:08:20.995: %HA_EM-6-LOG: wan_load_alarm.tcl: "if {$security_level == 1} { #untrusted script
Jan 18 00:08:20.995: %HA_EM-6-LOG: wan_load_alarm.tcl: interp create -safe slave
Jan 18 00:08:20.995: %HA_EM-6-LOG: wan_load_alarm.tcl: interp share {} stdin slave
Jan 18 00:08:20.995: %HA_EM-6-LOG: wan_load_alarm.tcl: interp share {} stdout slave
Jan 18 00:08:20.995: %HA_EM-6-LOG: wan_load_alarm.tcl: ..."
Jan 18 00:08:20.995: %HA_EM-6-LOG: wan_load_alarm.tcl: (file "tmpsys:/lib/tcl/base.tcl" line 50)
Jan 18 00:08:20.995: %HA_EM-6-LOG: wan_load_alarm.tcl: Tcl policy execute failed:
Jan 18 00:08:20.995: %HA_EM-6-LOG: wan_load_alarm.tcl: 1Process Forced Exit- MAXRUN timer expired.
The script is attached.
I was wondering if someone could help me please
Cheers
CarltonCommunity,
My environment variables are as follows:
event manager environment wan_load_interface Tunnel 0
event manager environment wan_load_interval 60
event manager environment wan_load_duration 60
event manager environment wan_load_threshold 100
event manager environment wan_load_history_outfile flash:wan_load_history_outfile.dat
event manager environment _email_server 10.44.108.95
event manager environment _email_from [email protected]
event manager environment _email_to [email protected]
event manager directory user policy "flash:/"
event manager session cli username "en.bcz00513"
event manager policy wan_load_alarm.tcl
Cheers -
On 11/1/2011, Time Machine (TM) terminated with an error message I did not record. I noted that the drive was full and decided to do a separate complete bootable system backup using Carbon Copy Clone (CCC), before clearing the TM volume and trying to start it over clean. Part way through the full system backup CCC put up a message that there was a Physical Problem "Library/Application Support/Techtool Protection/McIntosh HD/Directory Backup 2011-11-01-16-28-16". That was about the time that TM malfunctioned, so I assumed they were related. After starting CCC over a couple of times, and getting the same error message, I let it go through to completion of the backup, which took three or four hours. I then ran tests using Disk Utility and verified that there was nothing physically wrong with both the internal hard drive and the TM volume. I also erased and reformatted the TM volume. However, every time I started Time Machine, it would record a few GB and terminate with "Unable to complete backup. An error occurred while copying files to the backup volume". I restarted the computer with no change in results. Note that prior to starting the CCC backup, I "Repaired Permissions", "zapped the PRAM" and "re-set the SMC", hoping to have a clean bootable system on the backup. I ran Techtool and no problems were found.
I'm running this on an Intel iMac under 10.5.8 and recording to a 500GB My Passport drive. My hard drive is only about half full at 246 GB. My assessment is that something happened at 16-28-16 on 11/1/2001 to screwup the Backup Directory in the file at "Library/Application Support/Techtool Protection/McIntosh HD/Directory Backup 2011-11-01-16-28-16". My question is, how do I fix it?
I had just completed writing everything above here, explaining the problems I had been encountering for the past 24 hours. I had the Time Machine window standing open on the desktop where I could see it, having recentlycleared it after the last termination. As I was proofing what I had written, I looked at the window and noted that the clock had started a new run for a full back up, since all prior efforts had failed and the TM volume was empty. As I watched and waited for it to fail again, as it had been doing at about 13 GB, it kept going and going until it just finished a complete backup, about 4.5 hours later, with my having done nothing. Now my question would have to be - what could possiibly have happened to make it perform this way? It will be interesting to see if it continue to operate normally, or if the problem will return, in a later backup run.jcm21 wrote:
CCC put up a message that there was a Physical Problem "Library/Application Support/Techtool Protection/McIntosh HD/Directory Backup 2011-11-01-16-28-16"
You should not keep those files for long, and probably shouldn't back them up (if you need them at all -- since you do regular backups, I'm doubtful just how worthwhile that feature is).
"Unable to complete backup. An error occurred while copying files to the backup volume".
One of Apple's maddeningly incomplete messages. Most likely, there's a problem with a file (quite possibly the one CCC didn't like). See #C3 in Time Machine - Troubleshooting for details and instructions on finding and fixing it.
If you continue running the Directory Protection app, be sure to exclude your Time Machine drive from it (as it will just take up lots of room, and won't help repair your backups if there's a problem); and exclude the folders it creates from being backed-up by Time Machine (as they'll create large backups, and you probably can't use the backed-up folders anyway), per #10 in Time Machine - Frequently Asked Questions. -
I have tried twice to burn a DVD, and both times I get error code 0 at about 60-some % of the transcoding. I haven't had any trouble burning DVDs before now.
I had a friend with similar problem, not sure of cause. Happened when sharing to Apple device as well.
Apple said to delete all files in Render folder. We did not try that as-
Problem changed slightly for us, in that Share to 'Apple device 720' got to 50% and pretended to have completed its operation, but no file found in Project Share folder.
We found then, if the timeline clips where highlighted it would share, where previously it had repeatedly failed.
Hope that helps
Maybe you are looking for
-
How do you hide text in Pages?
The Pages user guide doesn't say anything about hiding text so that it's there, but not visible and doesn't print unless invisible characters are displayed. Is that feature not available? If not, is there a workaround? I really want to get away from
-
How would I create a simple script that does these specific things?
I am trying to create a script that does these few simple task but I can't seem to compile all the cmdlets together into one. I can pick one task out and have a command for it but I want one script to do it all. Here are the tasks I need it to do. st
-
File content conversion - keyFieldValue
Hello everybody, Is there a way to generate more than one Detail.keyFieldValue in the File Content Conversion? , the reason for this question is that I have a file like this. 00 value value value value value 01 value val
-
Restoring my imac from an external harddrive
hi, i have made a backup using time machine on my imac 5 days ago onto an external hard drive. and i have started deleting stuff off my computer and noticed that the time machine had started making back ups automatically everyday. but now i would lik
-
Return delivery BAPI with out ref
looking for bapi or fm to create a return delivery with out reference.