AQ dequeuer and hanging
I'm messing around with AQ right now (ostensibly, to learn it). As a test, i populated the queue, and executed DBMS_AQ.DEQUEUE twice with the default option of wait forever. The first one retrieved the message, the second is waiting for a new message, as intended.
I opened another terminal and tried DBMS_AQADM.PURGE_QUEUE_TABLE, to see what would happen (give an error, or work anyway) and it ended up waiting. So, figuring i just needed a message to get things moving, i tried enqueing another message (wrapped in a FUNCTION called inside a SQL statement), which also ended up hanging.
Now i'm confused. Shouldn't i be able to enqueue while a dequeuer is waiting. Or did i miss something?
Probably better off asking AQ questions in the AQ forum.
Advanced Queueing
Cheers,
Similar Messages
-
I am runing lion and latest version of itunes. I have match on, home sharing on and using icloud. my itunes started hanging up and required me to force quit. then upon restart of itunes and restart of computer itunes would take upwards of 15 minutes to open and was using >90% of CPU and would be lagging in response if responding at all one of the playlists I had created on my ipad had over a hundred copies of the same playlist. after repeated restarts I uninstaled itunes and reinstalled. this didnt rectify the problem. I assumed library file had somehow become corrupt so I deleted library files, reimported all my music and synced with genius and match. and let the computer go over night. when I woke in morning all my music was back but I had all the extra playlists again and itunes is hogging all the cpu and was minimally responsive and hanging up after each click.
I thought this might be a virus or something but installed ESET cypersecurity did a complet scan with no threats found. I am at a total loss and do not know where to go from here. I hope one of you can assist. Thanks!I had this exact issue. Spent over an hour on the phone with apple support, they couldn't resolve. Here is what I ended up doing, that worked.
1. Turned iTunes match off on all my iOS devices
2. Deleted the offending playlists from the iOS device they originated on
3. Started iTunes, let it run (literally) for an hour before it became responsive. First thing I did, before clicking anywere else was disable iTunes match. If I clicked anywhere, it would clock for another hour.
4. Let iTunes run overnight, by morning it had cleaned out the repeating play lists. This got my Mac/iTunes back to an operable state.
5. Restore iPhones from backup in iTunes.
What was causing my issue was a single playlist that was created on an iPhone, then suddenly showed up with several thousand duplicates on my other iPhone. The culprit playlist did not, for some reason, duplicate itself on my two iPads. Apple support seemed to think it was because the problem iPhone tried to sync the playlist to iCloud over and over again unsuccessfully, then it finally went through and populated the thousands of blank/failed playlists which then tried to propigate to iTunes and my other iOS devices. Seems like a reasonable theory.
I have not yet re-enabled iTunes match. So, no idea what will happen if I decide to go back down that rabbit hole. -
Windows 7 hangs when creating a new folder and hangs again when renaming it.
Ok, so I have a problem where Windows 7 hangs when creating a new folder and hangs again when renaming it.
I have documented this problem on my blog here:
Windows 7 hangs when creating a new folder and hangs again when renaming it Rhyous's 127.0.0.1 or ::1
This has my hardware details, etc...
I consider myself an expert at troubleshooting (being in support for over 10 years including time as a Lead Technician doing Windows 2000 support focussing on performance), and have checked quite a few things to try to pinpoint this issue, but I just can't find the cause.
I am asking others if they have seen this issue. I need to know if it is only on my workstation, or if others are seeing it as well.
Have you ever right-clicked, chose new folder and then had to wait 45 seconds for a new folder to appear.
Then the same thing when you try to rename the new folder, a hang of about 45 seconds before the new name take affect.
Anyway, let me know if you have experienced ths.Hi,
I suggest you temporarily uninstall the antivirus program to check the issue. You need to make sure that you have the installation file to reinstall it later.
If it does not work, I suggest you also test the issue in Safe Mode and Clean Boot to determine if this is a hardware or a software issue.
Good luck!
Arthur Li - MSFT -
Restarts and Hangs on Surface Pro 3
Has anyone been experiencing a high number of restarts and hangs on the Surface Pro 3? Over the course of three days I have had 11 BSODs. I scanned the minidmp and it points to ntosknrl.exe. And the event log has the usual unhelpful
"The system has rebooted without cleanly shutting down first. This error could be caused if the system stopped responding, crashed, or lost power unexpectedly."
I am reading a lot about the wireless card issues on the SP3, wondering if maybe it is caused by this and an update might do the trick in the upcoming weeks. The restarts happen around the same time when the device wakes, and is not online..
Anyone else experiencing this?
Thank youI guess I can see the logic behind that. I'm not sure exactly how Connected Standby would work when you are using a hypervisor. The one thing that is annoying is that the Surface Pro 3 (or maybe it's just a Windows 8.1 thing in general?) has a nasty bug
between hibernation and Wi-Fi. If you were connected to a wireless network and then go into hibernation, when you come out of it, it looks like it's still connected to the wireless network but you get no connectivity. I was able to work around this by creating
a scheduled task based on the alert that's generated from exiting hibernation (event that says exiting low powered state or something like that) that kicks off a Powershell script that uses netsh to find the connected network, disconnect from it and then reconnect
to it. It works pretty well but what a workaround to have to do just to conveniently exit hibernation and then automatically regain wireless connectivity! -
Hello, my iphone 5s fell, thereafter i tried taking a picture, the camera app just shows a black screen and hangs, the front camera works on other apps (such as facetime and skype) but the rear camera is not working, all other apps work perfectly well, how do i resolve this
Double tap Home button and delete Camera app from multitask-list.
Do a
Reset: Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Note: You will not lose any data
If problem persist, make an appointment with genius bar for evaluation. -
My computer slows down and hangs after installing oracle 10g
My computer just slows down after installing oracle 10g. I have a pentium 4 3ghz with 512 memory (32 mb used by graphics built in card). It slows down and hanged even if I agjusted the swap memory to 800 mb. I have two swap file/page file - in drive c and drive d. I even cannot shut it down because it takes maybe 30 minutes just to see the "shut-off/log-off" screen.
Before starting up Oracle, when you go to the task manager, how much RAM does it show actually free? 512 MB is pretty small to run Oracle in the first place-- Windows and Office can use a fair chunk of RAM themselves, depending on which Office apps you are running. You may also be suprised by the amount of RAM that a web browser, email client, and the various other apps that folks generally install can use.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
Firefox (3.6.10) is very sluggish/slow and hangs up
All of a sudden Firefox (3.6.10) is very sluggish/slow and hangs up
I've been using Firefox (very actively) for over a year now and all of a sudden (yesterday) it began to act very sluggishly. On sites I have always visited frequently it hangs up for periods of 15-90 seconds or more, won't scroll down, won't open hot links, slowly opens new tabs ...
I rebooted my PC (multiple times), powered down my modem and router, ran a Norton disk optimization - essentially making sure it was not an outside factor effecting Firefox's performance. (Note: I am using a cable connection.)
I then ran a side by side speed comparison with Internet explorer (on my 2nd monitor) going to the same web sites, and IE had no problems/hang-ups.
FYI I only have a couple of add ins/extensions (Java, Microsoft Framework, Norton, No Squint, & RealPlayer) and none of those are new within the past few weeks at least.
Any ideas on what could be causing this? How to fix? (As I much prefer Firefox to any Microsoft product.)
Thanks.Yes, FF gets sluggish from time to time. Sorry but it's the fact! FF also cannot render some websites properly (especially v3.6.10). I'm a big fan of all Mozilla software but FF 3.6.10 makes me very disappointed.
-
Adobe reader XI crash and hangs when open the pdf file
After update the adobe reader xi 11.0.10, the reader always crashes and hangs when open the pdf file. Please help me how to do.
Ben Leung wrote:
HThis situation is started after I clear the pop up advertisement.
What kind of advertisement? In Adobe Reader? Can you post a screenshot of that: https://forums.adobe.com/thread/1070933
Regarding the crash, can you try disabling Protected Mode through the registry: download, unzip, then run the registry script https://files.acrobat.com/a/preview/49eeb48b-07c5-4502-984c-8a25259914fa -
Process chain executed synchronously produces dump and hangs
Process chain (RSPC) being executed synchronously hangs on a step (not first) with yellow status. Analysis of ST22 shows there is dump: RAISE_EXCEPTION
The chain loads data from flat files on frontend to several characteristics (attributes and texts). All the steps are sequential.
After the start first file is loaded successfully (info package), subsequent data transfer process has no errors too. But the second info package becomes yellow and hangs just after ( after some time timeout occurs and the step becomes red). In ST22 i see dump, text of the dump is below. Analysis of the dump reveals that 'GUI_UPLOAD' FM doesn't work during execution of the second info-package.
The chain looks as follows:
1. Info package 1
V
2. Data transfer process 1
V
3. Info package 2 <------- hangs here because of dump
V
4. Data transfer process 2
V
Hangs on step 3 (infopackage 2).
Text of the dump:
Runtime Errors RAISE_EXCEPTION
Date and Time 10.10.2010 19:07:59
|Short text |
| Exception condition "NOT_SUPPORTED_BY_GUI" raised. |
|What happened? |
| The current ABAP/4 program encountered an unexpected |
| situation. |
|Error analysis |
| A RAISE statement in the program "CL_GUI_FRONTEND_SERVICES======CP" raised the |
| exception |
| condition "NOT_SUPPORTED_BY_GUI". |
| Since the exception was not intercepted by a superior |
| program, processing was terminated. |
| |
| Short description of exception condition: |
| |
| |
| For detailed documentation of the exception condition, use |
| Transaction SE37 (Function Library). You can take the called |
| function module from the display of active calls. |
| - |
|How to correct the error |
| |
| If the error occures in a non-modified SAP program, you may be able to |
| find an interim solution in an SAP Note. |
| If you have access to SAP Notes, carry out a search with the following |
| keywords: |
| |
| "RAISE_EXCEPTION" " " |
| "CL_GUI_FRONTEND_SERVICES======CP" or "CL_GUI_FRONTEND_SERVICES======CM00X" |
| "FILE_EXIST" |
| |
| or |
| |
| "CL_GUI_FRONTEND_SERVICES======CP" "NOT_SUPPORTED_BY_GUI" |
| |
| or |
| |
| "RSBATCH1 " "NOT_SUPPORTED_BY_GUI" |
| If you cannot solve the problem yourself and want to send an error |
| notification to SAP, include the following information: |
| |
|System environment |
| SAP-Release 701 |
| |
| |
| SAP kernel....... 701 |
| |
| Patch level. 69 |
| Patch text.. " " |
| |
|User and Transaction |
|
| Program............. "CL_GUI_FRONTEND_SERVICES======CP" |
| Screen.............. "SAPMSSY0 1000" |
| Screen Line......... 6 |
| |
|Information on where terminated |
| Termination occurred in the ABAP program "CL_GUI_FRONTEND_SERVICES======CP" - |
| in "FILE_EXIST". |
| The main program was "RSBATCH1 ". |
| |
| In the source code you have the termination point in line 8 |
| of the (Include) program "CL_GUI_FRONTEND_SERVICES======CM00X". |
|Source Code Extract |
|Line |SourceCde |
| 1|method FILE_EXIST. |
| 2|* ... |
| 3| |
| 4| CLASS CL_GUI_CONTROL DEFINITION LOAD . |
| 5| |
| 6|*-check if valid GUI is available----
|
| 7| IF IS_VALID_HANDLE( ) NE 0 AND cl_gui_control=>www_active IS INITIAL. |
|>>>>>| RAISE NOT_SUPPORTED_BY_GUI. |
| 9| ENDIF. |
| 10| |
| 11|* check parameter, wild characters not allowed |
| 12| IF FILE IS INITIAL OR FILE CA '*<>|"'. |
| 13| MESSAGE 'WRONG PARAMETER: FILE_NAME' TYPE 'I' RAISING WRONG_PARAMETER. |
| 14| EXIT. |
| 15| ENDIF. |
| 16| |
| 17|* special handling for SAPGUI for HTML |
| 18| IF CL_GUI_CONTROL=>WWW_ACTIVE IS NOT INITIAL. |
| 19| |
| 20| DATA: rc type i, filename(4096) type C. |
| 21| filename = file. |
| 22| CALL FUNCTION 'ITS_QUERY' |
| 23| EXPORTING |
| 24| filename = FILEname |
| 25| query = 'FE' |
| 26| IMPORTING |
| 27| return = rc. |
|Active Calls/Events |
|No. Ty. Program Include Line |
| Name |
| 8 METHOD CL_GUI_FRONTEND_SERVICES======CP CL_GUI_FRONTEND_SERVICES======CM00X 8 |
| CL_GUI_FRONTEND_SERVICES=>FILE_EXIST |
| 7 FUNCTION SAPLSFES LSFESU16 96 |
| GUI_UPLOAD |
| 6 METHOD CL_GUI_FRONTEND_SERVICES======CP CL_GUI_FRONTEND_SERVICES======CM013 4 |
| CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD |
| 5 METHOD CL_RSDS_ACCESS_GUI_UPLOAD=====CP CL_RSDS_ACCESS_GUI_UPLOAD=====CM001 74 |
| CL_RSDS_ACCESS_GUI_UPLOAD=>IF_RSDS_EXTRACT_DIRECT~EXTRACT |
| 4 FUNCTION SAPLRSDS_BACKEND LRSDS_BACKENDU01 304 |
| RSDS_DATA_PULL |
| 3 FUNCTION SAPLRSSM LRSSMU17 5422 |
| RSSM_CALL_RSAR_DATA_REQUEST_1 |
| 2 FORM RSBATCH1 RSBATCH1 1327 |
| START |
| 1 EVENT RSBATCH1 RSBATCH1 498 |
| START-OF-SELECTION |If i load the step manually it works. The hung step is possible to re-execute after it gets red (with context menu) and it works then. After that it hangs on the 3rd info-package and so on.
The file lays on a network drive, but i suspect it doesn't matter -
iTunes fails to update. During download, it gets to last (presunambly) package and hangs at last 3 Mb. I have left it for days, it won't complete. Any idea how to fix?
This is a common issue. Temporarily disable the Anti-Virus and Firewall software on the computer.
-
Why are messages not dequeuing and stuck in the ready state?
Messages are successfully enqueueing but not dequeuing and are stuck in ready state (STATE = 0). The ENQ_TIME is 5 hours ahead of system time. In one environment, AQ is working (10g 10.2.0.4.0). In the other environment, it is not working (11g 11.2.0.3.0).
I just did the following:
1. Purged queue table
2. Stopped queues
3. Dropped queues
4. Dropped queue table
5. Created queue table
6. Created queues
7. Started queues
I tested once and a record was inserted in the queue table:
MSGID <msgid>
CORRID
PRIORITY 1
STATE 0
DELAY
EXPIRATION
TIME_MANAGER_INFO
LOCAL_ORDER_NO 0
CHAIN_NO 0
CSCN 0
DSCN 0
ENQ_TIME 12/23/2014 4:33:43.338902 PM
ENQ_UID <enq_uid>
ENQ_TID <enq_tid>
DEQ_TIME
DEQ_UID
DEQ_TID
RETRY_COUNT 0
EXCEPTION_QSCHEMA
EXCEPTION_QUEUE
STEP_NO 0
RECIPIENT_KEY 0
DEQUEUE_MSGID
SENDER_NAME
SENDER_ADDRESS
SENDER_PROTOCOL
USER_DATA <user_data>
USER_PROP
Notice the RETRY_COUNT is 0. The ENQ_TIME is 5 hours ahead. In the procedures to enqueue and dequeue, there are no errors.
Following is the plsql to enqueue:
CREATE OR REPLACE PACKAGE BODY
pkg_2
AS
FUNCTION queue_create_thing ( <parameters> )
RETURN NUMBER
IS
enqueue_options dbms_aq.enqueue_options_t;
message_properties dbms_aq.message_properties_t;
message_handle RAW(16);
v_message msg_type;
v_thing_id things.id%TYPE;
BEGIN
v_message := msg_type( <parameters> );
dbms_aq.enqueue(queue_name => '<queue name>',
enqueue_options => enqueue_options,
message_properties => message_properties,
payload => v_message,
msgid => message_handle);
RETURN v_thing_id;
EXCEPTION
WHEN OTHERS
THEN
errpkg.record_and_stop (SQLCODE);
END queue_create_thing;
PROCEDURE queue_delete_thing( <parameters> )
IS
enqueue_options dbms_aq.enqueue_options_t;
message_properties dbms_aq.message_properties_t;
message_handle RAW(16);
v_message msg_type;
BEGIN
v_message := msg_type( <parameters> );
dbms_aq.enqueue(queue_name => '<queue name>',
enqueue_options => enqueue_options,
message_properties => message_properties,
payload => v_message,
msgid => message_handle);
END;
END pkg_2;
Following is the code to dequeue:
CREATE OR REPLACE PACKAGE BODY
pkg_1
AS
PROCEDURE create_thing ( context IN RAW,
reginfo IN sys.aq$_reg_info,
descr IN sys.aq$_descriptor,
payload IN RAW,
payloadl IN NUMBER )
IS
dequeue_options dbms_aq.dequeue_options_t;
message_properties dbms_aq.message_properties_t;
message_handle RAW(16);
message msg_type;
BEGIN
dequeue_options.msgid := descr.msg_id;
dequeue_options.consumer_name := descr.consumer_name;
DBMS_AQ.DEQUEUE(queue_name => descr.queue_name,
dequeue_options => dequeue_options,
message_properties => message_properties,
payload => message,
msgid => message_handle);
pkg_2.create_thing( p_thing_id => message.thing_id );
UPDATE table t
SET creation_complete = 1
WHERE id = message.thing_id;
COMMIT;
EXCEPTION
WHEN OTHERS
THEN
ROLLBACK;
plog.error(SQLERRM);
plog.full_call_stack;
END create_thing;
PROCEDURE delete_thing ( context IN RAW,
reginfo IN sys.aq$_reg_info,
descr IN sys.aq$_descriptor,
payload IN RAW,
payloadl IN NUMBER )
IS
dequeue_options dbms_aq.dequeue_options_t;
message_properties dbms_aq.message_properties_t;
message_handle RAW(16);
message msg_type;
BEGIN
dequeue_options.msgid := descr.msg_id;
dequeue_options.consumer_name := descr.consumer_name;
DBMS_AQ.DEQUEUE(queue_name => descr.queue_name,
dequeue_options => dequeue_options,
message_properties => message_properties,
payload => message,
msgid => message_handle);
pkg_2.delete_thing( p_thing_id => message.thing_id );
COMMIT;
EXCEPTION
WHEN OTHERS
THEN
ROLLBACK;
plog.error(SQLERRM);
plog.full_call_stack;
END delete_thing;
END pkg_1;Following is the code to create the queue:
BEGIN
SYS.DBMS_AQADM.STOP_QUEUE ( QUEUE_NAME => '<queue name>');
SYS.DBMS_AQADM.DROP_QUEUE ( QUEUE_NAME => '<queue name>');
END;
BEGIN
SYS.DBMS_AQADM.CREATE_QUEUE
QUEUE_NAME => '<queue name>'
,QUEUE_TABLE => '<queue table>'
,QUEUE_TYPE => SYS.DBMS_AQADM.NORMAL_QUEUE
,MAX_RETRIES => 5
,RETRY_DELAY => 0
,RETENTION_TIME => 0
,COMMENT => 'Queue for processing creation of things'
END;
BEGIN
SYS.DBMS_AQADM.START_QUEUE
QUEUE_NAME => '<queue name>'
,ENQUEUE => TRUE
,DEQUEUE => TRUE
END; -
MY PC IS WORKING VERY SLOWLY AND HANGING AGAIN AND AGAIN
HELLO
MY NAME IS AKSHAY RAHAR & I HAVE A HP LAPTOP (PAVILION G6 WITH 500 GB HARD DISK , 2 GB RAM , 1 GB GRAPHIC CARD ). IT IS WORKING VERY SLOWLY AND HANG UP AGAIN AND AGAIN .. I REBOOTED IT 3 TIMES BUT I'M FACING SAME PROBLEM PLZ HELP ME ....There are many reasons why a PC " behaves" this way.
These annoying " gliches" may be caused by an overloaded hard drive, overworked CPU, Malware, running 2 AV 's, unnecessary data, Browser addons or you may have unnecessary programs running in the background etc....
What follows is a series of generic troubleshooting steps that you may care to try...
Make sure all intake/exhausts vents are clean along with all fans.
Get some temp monitoring software. Download cpu-z and gpu-z (both
free) and keep an eye on the video temps
It could be a hard drive that is going bad or corrupted.
To check a hard drive see Check Disk...
In an administrators account type cmd in search.
In cmd type sfc /scannow.
This will report and fix minor problems.
Take note of what is said at the end.
Should your computer freeze, try to do the tests in safe mode.
Go to search, type device manager and look for any yellow warning markers.
Type event viewer, in search (by start button) > Windows Logs > Application
Look for RED critical errors that say app hang, app crash, or anything that relates to the CURRENT problem.
Note the event ID, and the source codes and Google search them.
If overclocking, restore to original.
Try in
safe mode; report back if it works properly.
Clean boot.
You may discover what is causing your problem.
Advice offered in good faith. It is your decision to implement same. Wanikiya and Dyami - Team ZigZag -
How can I merge phone Calls and make conference calls with iOS 8.1.1 and hang up on one instead of both of them , it's not giving me an option like before on iOS 7 ?
The following from the 8.1 user manual (http://manuals.info.apple.com/MANUALS/1000/MA1565/en_US/iphone_user_guide.pdf) may help
Create a conference call. While on a call, tap Add Call, make another call, then tap Merge Calls. Repeat to add more people to the conference.
Drop one person: Tap next to a person, then tap End.
Talk privately with one person: Tap , then tap Private next to the person. Tap Merge Calls to resume the conference.
Add an incoming caller: Tap Hold Call + Answer, then tap Merge Calls. -
Process chains time outs and hangs with no error msg - in SP13
Hi all,
We are having all kind of weird problems after we patched our system with SP13. Our process chain time outs and hangs, but surprisingly we never get any error msg. And scarier part is, the problem seems to be intermittent. PC runs fine on some days and hangs on some.
Further analysis into the dump as below
Termination occurred in the ABAP program "SAPLRSSM" -
in "RSSM_SLEEP_DEBUG".
The main program was "SAPMSSY1 ".
In the source code the termination point is in (Include) program "LRSSMU39".
This refers to an issue that appears to have been addressed by OSS Note
934648(meant for SP8). This notes also indicates to populate RSADMIN table to
exclude "RSSM_SLEEP_DEBUG". Not sure if this note is valid for SP13? However we went ahead and populated the RSADMIN table.
So now we have no clue whats going on and where to fix the issue.
As per SAP suggestion we applied the following notes:
0000653996 Analyzing lock situations
0000893563 Correction: Deadlock on completion of a remote chain
0000994007 Corrections: Deadlock with external status query
0001005481 Correction: Process successful, but there is no instance
0001047174 Correction: Incorrect scope when locking in process chains
0001051957 Correction: TIME_OUT during dialog confirmation of processes
0001083660 Report for error stack analysis
Nothing seems to help us. And SAP suggested a few options, which we implemented to no rescue.
Im sure that many of the customers have applied SP13, and want some feedback from them, if this is happening in their systems too?
If so, how did you fix this issue?
Or this situation is unique to us?Please note that no settings were changed as of SP13 to that of what they were in SP12(unless it is a side effect of the patch itself). Everything worked fine with SP12 and is still working on the BIP system. All the problems are in BIQ patched to SP13.
Any pointers or insight would be appreciated. We have a customer msg open with SAP, and going back and forth, but nothing seemed to work as of today.
Thanks,
VoodiNot sure which OSS helped us get past the issue, as SAP asked us to apply a ton of notes. But along which the notes, SAP has some suggestions for us, which we think did the magic. After the implementation of the suggestin we never faced the same issue again. The suggestion by SAP:
move the process chain callback in a batch job by executing
program RSSM_TRACE_SWITCH and selecting the flag "verifcation
of asynchronous processes - execute in batch".
Lemme know if this doesnt fix the issue, I can give all the notes that SAP asked us to apply.
Message was edited by:
voodi -
[Unload SWF] appears in console and hangs app
Occasionally, "[Unload SWF] path:main-debug.swf" appears and
kills any HTTPService calls that are made.
The app behaves as such:
1. About 4 HTTPService calls are made at once, using
different HTTPService instances.
2. Occasionally, in the debug console a "[Unload SWF]..."
appears, showing the path to my app. Sometimes it appears once for
every webservice call that I make.
3. Each webservice that gets the "[Unload SWF]" will never
return and hangs forever.
Sometimes, I'll also see a "[SWF] path:main-debug.swf"
message in the console, at which point the webservices will hang
again. If I click "Cancel" in my app, then try it again, they will
sometimes magically work (and I don't get those [Unload SWF]
messages).
Any help would be greatly appreciated!
-Michael Whitaker:confused;Unbelievable...
I think I may have found the problem and solution:
The way I was using the HTTPService component was through a
seperate class which itself contained the httpservice that I was
instantiating and calling on a per-need basis. The function I was
using to call my web service needs accepted two function pointers
(or Function types) which were called on a ResultEvent or a
FaultEvent (from the HTTPService). I was using lamba functions
(inline functions) in the method call. That is what seemed to be
the problem. As soon as I moved the lamba functions outside ,into
real functions, and just passed their reference through my method,
everything worked.
I've noticed several problems with lamba functions, all of
which are very unfortunate (because I would use them more, but they
are so buggy):
1. A lamba function sometimes has some weird scope. At times
calling "this.something" fails from within the lamba function as
'this' is null. Ex:
class Bob
public Bob()
this.addEventListener(Event.ENTER_FRAME,
function(e:Event):void { trace("this: " + this.toString()); },
false, 0, true);
(Note: this is 1% psudo code (uncompiled).) "this" will
sometimes be null (depending on where the lamba is used).
2. If, using the above code, you were to instantiate several
Bobs at a time, and add them to the displaylist, sometimes only ONE
of the instances will actually call their lamba function on
enterframe; the others won't. I'm not sure why this happens, but I
think multiple instances of the same class using a lamba function
tends to conflict in memory or something. (or in the special
lamba-scope).
3. At times, as per my problem in this thread, a lamba
function won't even be called. I've solved this by pulling out the
lamba functions and placing them in real functions, then just
passing the pointer across.
I guess the debugger sending [Unload SWF] and [SWF] messages
were just a coincidence (unless they somehow affect lamba
functions). I'm going to continue testing this to verify that the
problem has gone away. If it hasn't, I'll probably start a new
thread.
Thanks for your help mike_morearty!
Maybe you are looking for
-
Photo gallery browsing proble,s
Hi, after installing iOS7 on my 4S device I have found that when I browsing my photos in vertical or horizontal full screen position all photos as if jumped for a little and then stabilized. It's really annoyed me because browsing photos on iOS 6.1.3
-
Changing the document root in WLS 6.0 SP1
Hello, I want to change the deployment folder of config/<domainName>/applications to another folder in our source tree. Is this possible? The reason we want to do this is because our root tree contains the java
-
[Solved] Can't add my Google account to GNOME 3.2 anymore!
A few days ago I started getting a notification about my Google password being expired(inside GNOME online accounts). So I went there to re-enter it but I couldn't, so I deleted the account to recreate it again. From that point I couldn't get it to s
-
Where can i buy battery for macbook air 11 inch
i've poured cappucino on my macbook air 11 inch >.< after that i couldn't work with my lap top unless the battery is plugged in when i went to fix it they say i need to buy NEW Battery and the old one is going to die sooner
-
I am using a non apple keyboard but want to make my iMac a second screen for my new macbook pro. Is there a way I could create an apple script to make the switch?