SetFocus() causing an infinite loop? is this a known thing?
hi folks
i've just started revising a site of mine (
http://www.darkeststar.co.uk)
using flash cs3 (was originally in mx2004) and i've come across
some strange behaviour from one of the components
when i test the combo box, it freezes and gives
Code:
256 levels of recursion were exceeded in one action list
as an error. This is strange because when i was using mx2004,
there was no problem.
Now, when i get rid of a setFocus() used on a TextArea
component immediately afterwards, the problem is corrected
(although the user cannot type directly in the textbox and has to
click in it first which is awkward imo)
is this a known thing? i haven't used the built-in components
much before now but they've been almost as much hassle as they've
solved
The way that I have always used setFocus() is this
Selection.setFocus(itemOverlay_mc.amountTextArea_txt);
Maybe the functionality has changed since mx2004. Try that,
see what happens
Similar Messages
-
A cycle is detected in the object graph. This will cause an infinite loop.
People,
Looking for a little guidance. Please point me in the correct direction if I am mistaken. I am using Jersey 2.11 and generating JAXB definitions from XSD.
I have a periodic exception that seems to be timing based. If I change the timing of the message sent in anyway the error does not occur. The other issue is that the cycle reported in the error changes some times, however, the cycles reported can not occur based on the XSD definition. I have also dumped the message before sending and it definitely does not contain the cycle reported.
In this specific scenario, I am sending a message of NotificationType which contains a list of DocumentType, however, DocumentType can never contain NotificationType so the following cycle is not possible:
net.es.nsi.pce.discovery.jaxb.DocumentType@24d793f3 -> net.es.nsi.pce.discovery.jaxb.NotificationType@7f06bc07 -> net.es.nsi.pce.discovery.jaxb.DocumentType@24d793f3]
I am wondering if there could be a different reason for receiving the following exception?
Thank you for the help,
John
[code]
[ERROR] [08/22/2014 11:16:22.307] [NSI-DISCOVERY-akka.actor.default-dispatcher-4] [akka://NSI-DISCOVERY/user/discovery-notificationRouter/$c] HTTP 500 Internal Server Error
javax.ws.rs.ProcessingException: HTTP 500 Internal Server Error
at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:255)
at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:667)
at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:664)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
at org.glassfish.jersey.internal.Errors.process(Errors.java:228) at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:424)
at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:664)
at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:424)
at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:333)
at net.es.nsi.pce.discovery.actors.NotificationActor.onReceive(NotificationActor.java:100)
at akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:167)
at akka.actor.Actor$class.aroundReceive(Actor.scala:465)
at akka.actor.UntypedActor.aroundReceive(UntypedActor.scala:97) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)
at akka.actor.ActorCell.invoke(ActorCell.scala:487)
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238)
at akka.dispatch.Mailbox.run(Mailbox.scala:220)
at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393)
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
Caused by: javax.ws.rs.InternalServerErrorException: HTTP 500 Internal Server Error
at org.glassfish.jersey.message.internal.AbstractJaxbElementProvider.writeTo(AbstractJaxbElementProvider.java:152)
at org.glassfish.jersey.message.internal.AbstractJaxbElementProvider.writeTo(AbstractJaxbElementProvider.java:85)
at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.invokeWriteTo(WriterInterceptorExecutor.java:265)
at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:250)
at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162)
at org.glassfish.jersey.filter.LoggingFilter.aroundWriteTo(LoggingFilter.java:293)
at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162)
at org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(MessageBodyFactory.java:1154)
at org.glassfish.jersey.client.ClientRequest.writeEntity(ClientRequest.java:503)
at org.glassfish.jersey.client.HttpUrlConnector._apply(HttpUrlConnector.java:315)
at org.glassfish.jersey.client.HttpUrlConnector.apply(HttpUrlConnector.java:227)
at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:246)
... 22 more
Caused by: javax.xml.bind.MarshalException
- with linked exception:
[Exception [EclipseLink-25003] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: An error occurred marshalling the object
Internal Exception: Exception [EclipseLink-25037] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: A cycle is detected in the object graph. This will cause an infinite loop: net.es.nsi.pce.discovery.jaxb.DocumentType@24d793f3 -> net.es.nsi.pce.discovery.jaxb.NotificationType@7f06bc07 -> net.es.nsi.pce.discovery.jaxb.DocumentType@24d793f3]
at org.eclipse.persistence.jaxb.JAXBMarshaller.marshal(JAXBMarshaller.java:403)
at org.glassfish.jersey.message.internal.XmlJaxbElementProvider.writeTo(XmlJaxbElementProvider.java:139)
at org.glassfish.jersey.message.internal.AbstractJaxbElementProvider.writeTo(AbstractJaxbElementProvider.java:150)
... 33 more
Caused by: Exception [EclipseLink-25003] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: An error occurred marshalling the object
Internal Exception: Exception [EclipseLink-25037] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: A cycle is detected in the object graph. This will cause an infinite loop: net.es.nsi.pce.discovery.jaxb.DocumentType@24d793f3 -> net.es.nsi.pce.discovery.jaxb.NotificationType@7f06bc07 -> net.es.nsi.pce.discovery.jaxb.DocumentType@24d793f3
at org.eclipse.persistence.exceptions.XMLMarshalException.marshalException(XMLMarshalException.java:97)
at org.eclipse.persistence.internal.oxm.XMLMarshaller.marshal(XMLMarshaller.java:911)
at org.eclipse.persistence.internal.oxm.XMLMarshaller.marshal(XMLMarshaller.java:848)
at org.eclipse.persistence.jaxb.JAXBMarshaller.marshal(JAXBMarshaller.java:401)
... 35 more
Caused by: Exception [EclipseLink-25037] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: A cycle is detected in the object graph. This will cause an infinite loop: net.es.nsi.pce.discovery.jaxb.DocumentType@24d793f3 -> net.es.nsi.pce.discovery.jaxb.NotificationType@7f06bc07 -> net.es.nsi.pce.discovery.jaxb.DocumentType@24d793f3
at org.eclipse.persistence.exceptions.XMLMarshalException.objectCycleDetected(XMLMarshalException.java:400)
at org.eclipse.persistence.internal.oxm.XPathObjectBuilder.buildRow(XPathObjectBuilder.java:207)
at org.eclipse.persistence.internal.oxm.TreeObjectBuilder.buildRow(TreeObjectBuilder.java:118)
at org.eclipse.persistence.internal.oxm.TreeObjectBuilder.buildRow(TreeObjectBuilder.java:1)
at org.eclipse.persistence.internal.oxm.XMLCompositeObjectMappingNodeValue.marshalSingleValue(XMLCompositeObjectMappingNodeValue.java:237)
at org.eclipse.persistence.internal.oxm.XMLCompositeObjectMappingNodeValue.marshal(XMLCompositeObjectMappingNodeValue.java:149)
at org.eclipse.persistence.internal.oxm.NodeValue.marshal(NodeValue.java:102)
at org.eclipse.persistence.internal.oxm.record.ObjectMarshalContext.marshal(ObjectMarshalContext.java:59)
at org.eclipse.persistence.internal.oxm.XPathNode.marshal(XPathNode.java:393)
at org.eclipse.persistence.internal.oxm.XPathObjectBuilder.buildRow(XPathObjectBuilder.java:238)
at org.eclipse.persistence.internal.oxm.TreeObjectBuilder.buildRow(TreeObjectBuilder.java:118)
at org.eclipse.persistence.internal.oxm.TreeObjectBuilder.buildRow(TreeObjectBuilder.java:1)
at org.eclipse.persistence.internal.oxm.XMLCompositeCollectionMappingNodeValue.marshalSingleValue(XMLCompositeCollectionMappingNodeValue.java:321)
at org.eclipse.persistence.internal.oxm.XMLCompositeCollectionMappingNodeValue.marshal(XMLCompositeCollectionMappingNodeValue.java:104)
at org.eclipse.persistence.internal.oxm.NodeValue.marshal(NodeValue.java:149)
at org.eclipse.persistence.internal.oxm.NodeValue.marshal(NodeValue.java:102)
at org.eclipse.persistence.internal.oxm.record.ObjectMarshalContext.marshal(ObjectMarshalContext.java:59)
at org.eclipse.persistence.internal.oxm.XPathNode.marshal(XPathNode.java:393)
at org.eclipse.persistence.internal.oxm.XPathObjectBuilder.buildRow(XPathObjectBuilder.java:238)
at org.eclipse.persistence.internal.oxm.TreeObjectBuilder.buildRow(TreeObjectBuilder.java:118)
at org.eclipse.persistence.internal.oxm.TreeObjectBuilder.buildRow(TreeObjectBuilder.java:1)
at org.eclipse.persistence.internal.oxm.XMLMarshaller.marshal(XMLMarshaller.java:743)
at org.eclipse.persistence.internal.oxm.XMLMarshaller.marshal(XMLMarshaller.java:901)
... 37 more
[/code]Unfortunately, even this thread is unanswered, i am closing the thread.as it it creating problems for further posting
-
How do I get out of this?
What are you talking about? The width/height of what? Is this some sort of error message? If so from what?
-
InDesign infinite loop when exporting INDD as IDML - one specific document
Hi,
I have several thousand INDD files that are generated using CS4. We are migrating to CC server so need to be able to run scripts against these files. One of the scripts performs some (simple) manipulations and then saves as IDML...
Except...
With a percentage of our files (I've found two out of less than a hundred files that I've tested) the export to IDML task never completes. InDesign server simply hangs, permenantly. The only way to get our server back is to manually terminate the process using Task Manager and then restart. I have looked at the INDD files using InDesign client and can see nothing whatsoever the matter with them. However, even in client, even after deleting _ALL_ content, when I try to save as IDML, I get the export process hanging (see screenshot below).
So, I guess I have two questions;
1. How can I modify InDesign server to detect and recover from this form of infinite loop?
2. Does anybody have any idea what could be causing the infinite loop? (And how to resolve it?)
Thanks,
GaiusYou should try a divide and conquer for the InDesign file.
That is split it in two and then try export to IDML
Whichever sides hangs is where the problem lies. You can keep halving this document until you find the problematic page/pages. -
Hi.
I keep on getting this error when opening the National Geographic homepage:
"jCarousel: No width/height set for items. This will cause an infinite loop. Aborting..."
Everything works fine when opening the same page on Firefox. I've got Safari 5.0.1
I had no problems until a couple of days ago! What happened?
Thanks for your help!Hi
assuming you've no safari extensions enabled... nor any third party software in Home/Library/Internet Plug-Ins/ or Input Managers/...
start with the safari settings file - Home/Library/Preferences/com.apple.safari.plist
move it to the desktop with safari quit, then try some problem webpages.
No better?
Quit Safari again, move the whole Home/Library/Safari/ folder to the desktop (don't trash it, your bookmarks are in there)
& failing that, try the cookies file at Home/Library/Cookies/cookies.plist also the cache at Home/:ibrary/Caches/com.apple.safari/cache.db -
How do I escape a jCarousel infinite loop error?
Using my iPad I went to United.com to book a flight. I recieved a "jCarousel:No width/hight set for items. This will cause an infinite loop. Aborting ..." error message with only and "OK" button to proceed. Pushing OK only leads to the error repeating. Tried everything to escape the page after pushing OK but nothing seems to work. Now I'm in an infinite look with the error message. Relauching safari brings up the same page and error message. How can I tell safari not to lauch this page or to start on some other page rather than defaulting to the last page visitied?
I had they same issue with United. I attempted to clear the cache and it did not help.
This is what I did to exit the webpage
1) Disconnect from wifi connection by turning it off
2) Clear the cache, cookies and history (not sure if this is necessary, but it couldn't hurt)
3) Power off
4) when you turn it back on, launch safari and it won't be able to connect.
5) Kill the window
6) Enjoy web browsing :) -
Samba infinite loop - need help
somehow I created an error that causes an infinite loop in Samba. In the log.nmbd file I have more than 1 GB of the following:
[2006/06/08 16:59:37, 0] /SourceCache/samba/samba-92.15/samba/source/nmbd/nmbd.c:main(668)
Netbios nameserver version 3.0.10 started.
Copyright Andrew Tridgell and the Samba Team 1994-2004
[2006/06/08 16:59:37, 0] /SourceCache/samba/samba-92.15/samba/source/nmbd/nmbd.c:main(687)
standard input is not a socket, assuming -D option
[2006/06/08 16:59:37, 0] /SourceCache/samba/samba-92.15/samba/source/lib/utilsock.c:open_socketin(724)
bind failed on port 137 socket_addr = 0.0.0.0.
Error = Address already in use
If I turn on Windows file sharing while the Mac is running Samba works fine. But if I reboot with the Windows sharing left on the infinite loop starts at the end of the reboot process. The loop takes up about 50% of CPU but doesn't show up as a process.
Does anybody know what went wrong and how I can fix it?I also recently installed XCode, not sure, how that would be the cause...
In any case, the nmbd daemon is started even when the system does not act as a name server. The problem goes away, when Windows File Sharing is turned off. But it returns, when it is turned off.
When it is turned off, a flag is set in /System/Library/LaunchDaemons/nmbd.plist - it is removed, when file sharing is turned on.
I turned off Windows Filesharing, and copied the nmbd.plist file. Then, I turned it back on. After that, I copied the old nmbd.plist file back into the LaunchDaemons directory. I used the terminal shell to do this (with sudo etc.)
Now I can reboot, and all is fine. However, if I cycle Windows Filesharing from the Preferences panel, the problem will return.
Removing the log file cleared 3GB (!) of disk space.
I wish there was a uniform way of how all the services and daeamons are handled, with the merge of multiple systems, under the hood things seem to be strewn all over the place.... -
Events firing in infinite loop
Hello,
I have two date fields (a start date and a due date) and a text field for the user to enter a duration between the two dates. I've added separate event listeners for each component and the problem I'm having is when one field is updated, the event listener calculates the date for the other one as well and when the value changes, its event listener fires and changes the other date, causing an infinite loop.
I've tried to remove the event listeners on the other components at the beginning of the listeners and adding them back at the end of the listeners, but the events still seem to fire when adding the listener.
Is there an easy way to prevent event handlers from being run when you are changing one component's value from the event listener of another component?Try calling validateNow() on the controls before reattaching listeners
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui -
MSI FX5200 Infinite loop error
Hi I’ve changed the PSU to see if this was the problem with the infinite loop error I’m getting. The PSU is AMD recommended or that is what it says on the box. How ever I fitted the PSU and re-booted the PC did a few things and them started 3DMARK03 and I was back in the infinite loop.
// Watchdog Event Log File
LogType: Watchdog
Created: 2004-04-27 14:48:28
TimeZone: 0 - GMT Standard Time
WindowsVersion: XP
EventType: 0xEA - Thread Stuck in Device Driver
// The driver for the display device got stuck in an infinite loop. This
// usually indicates a problem with the device itself or with the device
// driver programming the hardware incorrectly. Please check with your
// display device vendor for any driver updates.
EaRecovery: 1
ShutdownCount: 96
Shutdown: 0
EventCount: 9
BreakCount: 9
BugcheckTriggered: 1
DebuggerNotPresent: 1
DriverName: nv4_disp
EventFlag: 1
DeviceClass: Display
DeviceDescription: NVIDIA GeForce FX 5200
HardwareID: PCI\VEN_10DE&DEV_0322&SUBSYS_91901462&REV_A1
Manufacturer: NVIDIA
DriverFixedFileInfo: FEEF04BD 00010000 0006000E 000A1628 0006000E 000A1628 0000003F 00000008 00040004 00000003 00000004 00000000 00000000
DriverCompanyName: NVIDIA Corporation
DriverFileDescription: NVIDIA Compatible Windows 2000 Display driver, Version 56.72
DriverFileVersion: 6.14.10.5672
DriverInternalName: nv4_disp.dll
DriverLegalCopyright: (C) NVIDIA Corporation. All rights reserved.
DriverOriginalFilename: nv4_disp.dll
DriverProductName: NVIDIA Compatible Windows 2000 Display driver, Version 56.72
DriverProductVersion: 6.14.10.5672
I get this error with three different drivers for the video card MSI the one that came with the card NVIDIA’S latest drivers and the latest drivers on the MSI web site.how many amps at plus 12v
Memtest86 -
Sorry for long post... I have this scenario:
- Issue is on PS3, PS2 works fine
- I create a new object via "$myObj = New-Object PSObject"
- I append a number of PSMembers to it via something similar to:
"if (-not (Get-Member -InputObject $myObj -Name MyProperty))
Add-Member -InputObject $myObj -MemberType ScriptProperty -Name MyProperty -Value { return MyFunction }
I am seeing situations where what I believe is the call to "Get-Member" causes a huge number of invocations that appear to be calling the equivalent of the "MyFunction" in the above sample. I have debug statements in the MyFunction
function and nested functions and can see they are called by what appears to be the PS framework itself. Even running a "Get-PSCallstack" call from one of these functions seems to also trigger the debug statements to be hit (midway through the callstack
output??!) - bit confused by that but it's like PS is invoking the member in order to reflect it or something.
I used Trace-Command and could see that the "MemberResolution" trace source is repeatedly/infinitely called with the output:
MemberResolution Information: 0 : Matching "*"
MemberResolution Information: 0 : Generating the total list of members
MemberResolution Information: 0 : Type table members: 0.
MemberResolution Information: 0 : Adapted members: 0.
MemberResolution Information: 0 : 21 total matches.
This appears to be in an infinite loop. Therefore I added "-ListenerOption Callstack" to the Trace-Command call and captured the following and more (notice the call to PSObject.ToStringEmptyBaseObject()):
at System.Management.Automation.PSObject.AdapterGetMembersDelegate[T](PSObject msjObj)
at System.Management.Automation.PSMemberInfoIntegratingCollection`1.GetIntegratedMembers(MshMemberMatchOptions matchOptions)
at System.Management.Automation.PSMemberInfoIntegratingCollection`1.Match(String name, PSMemberTypes memberTypes, MshMemberMatchOptions matchOptions)
at System.Management.Automation.PSObject.ToStringEmptyBaseObject(ExecutionContext context, PSObject mshObj, String separator, String format, IFormatProvider formatProvider)
at System.Management.Automation.PSObject.ToString(ExecutionContext context, Object obj, String separator, String format, IFormatProvider formatProvider, Boolean recurse, Boolean unravelEnumeratorOnRecurse)
at System.Management.Automation.PSObject.ToString()
at System.String.Join(String separator, Object[] values)
at System.Management.Automation.ParameterBinderBase.BindParameter(CommandParameterInternal parameter, CompiledCommandParameter parameterMetadata, ParameterBindingFlags flags)
I then disassembled the relevant code in Reflector and could see that the ToString() method of PSObject has a check for "if obj.immediateBaseObjectIsEmpty" then to call the ToStringEmptyBaseObject() function. I could also see that the immediateBaseObjectIsEmpty
field is set in the CommonInitialization internal method if "obj is PSCustomObject" (which is the actual object type you get when you New-Object PSObject).
I then updated my code to create "$myObj = New-Object Object" (i.e. System.Object instead) and the issue goes away.
Can anyone explain what I may have done wrong here or is this looking like a bug in PowerShell?
Cheers!Hi Matt,
I'm not sure if we are on the same page? Getting the list of (i.e. metadata of) the members shouldn't invoke the member. I have used this technique in many places and it's never been an issue whereby you "wrap" a utility function with
a ScriptProperty or ScriptMethod to provide OO semantics on a PS object. The member isn't invoked by Get-Member, only when it's called explicitly.
Here's a small example:
function TestFunction
Write-Host "TestFunction called"
return "TestFunction return value"
$myObj = New-Object PSObject
Add-Member -InputObject $myObj -MemberType ScriptProperty -Name TestScriptProperty -Value `
Write-Host "TestScriptProperty called"
return TestFunction
Write-Host "Getting members"
Get-Member -InputObject $myObj -Name TestScriptProperty | Select *
Write-Host "Invoking property"
$myObj.TestScriptProperty
Here's the output (Get-Member output a bit mangled due to the text wrapping):
Getting members
TypeName Name
MemberType Definition
System.Management.Automation.PSCustomOb... TestScriptProperty
ScriptProperty System.Object TestScriptProperty {get=...
Invoking property
TestScriptProperty called
TestFunction called
TestFunction return value
Yup I see your point, but when you run your original code with this example object you can see there is no loop. There must either be a loop in the function or in the body of the script itself. This is very tough to troubleshoot without seeing the code you
are actually running.
You said you are adding several members to the custom object. Is this done in a loop? -
Revision: 4870
Author: [email protected]
Date: 2009-02-05 15:33:52 -0800 (Thu, 05 Feb 2009)
Log Message:
TextView with textAlign="justify" causes infinite loop and eventual RTE. Vellum sometimes returns width and/or height larger than the request width/height due to rounding error. This triggers a contentWidth/Height change event which triggers the scroller which comes back in to TextView updateDisplayList, etc.
QE Notes:
Doc Notes:
Bugs: SDK-19144
Reviewers: Gordon
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-19144
Modified Paths:
flex/sdk/branches/i10/frameworks/projects/flex4/src/mx/components/TextView.as -
Hello,
We have a problem where function FDM_COLL_INVOICE_GET_BY_REF looks at BSEG records in a loop. It finds the next BSEG record by using the contents of BSEG-REBZG.
Unfortunately, some of our BSEG records point back to each other. We have the situation where BSEG "A" points to BSEG "B", and BSEG "B" points back to BSEG "A".
For example:
BSEG-BELNR 9100011111 -> REBZG = 9111122222
BSEG-BELNR 9111122222 -> REBZG = 9100011111
This data is causing the loop to execute infinitely as the exit conditions are never met.
I cannot find a SAP Note that addresses this issue. It looks like the code involved is related to items in Dispute and Part Payments.
Has anyone out there experienced this issue?
Many thanks,
Stuart.What release are you on?
There is note 1105687 addressing the scenario when a credit memo is entered as an invoice reference in an invoice item which can cause such an infinite loop, but that note is only valid up to rel. 6.03
There is also note 919415 but it is for even older systems.
If you are on a current release, then creating an OSS message is your best bet.
It would be theoretically possible to have a recent release with some already posted documents that were entered before the patch fixing such endless loops were applied... how likely is to have such old documents is another question. SAP support should help you to clean up the problematic records if this is the case. -
After updating to Mavericks I have this problem. From what I guess, my audio out (either the signal, or the entire soundcard) cuts power after being idle for about 30 seconds. This results in a static noise when connected to my external amplifier. From various forums, dating back to 2007/8 I can see this is not a new problem. The only workaround is playing an empty .wav sound on infinite loop (either by using a terminal command, or by a third-pary app which does this for you), preventing the audio out from timing out and cutting power. This seems to me to be an undisirable proceeding. Even if minimal, it uses extra power and memory. Is there any way to prevent the sound card from timing out like this?
Ok. I tried disconnecting the charger from my macbook and that actually helped. The noise is now so low it is hardly audible, so I guess it has to do with a ground loop. But still, even when hardly audible it still only happens after 30 seconds of idle time. Is that because my theory about a timeout is correct, or is there some other reason for this? This used to just happen when my macbook went on standby (sleep), but now it happens allready after 30 seconds, so even though it may be a loop, it wasn't like this before. I'd love to understand what is different now.
-
Revision: 10214
Author: [email protected]
Date: 2009-09-13 07:33:58 -0700 (Sun, 13 Sep 2009)
Log Message:
This fixes the problem that if two text components share the same textFlow there is an infinite loop involving updateDisplayList -> damageHandler -> invalidateDisplaylist -> back to updateDisplayList. The bug file was for TextArea which is RET but the same bug was in RichText as well.
This example with a renderer exposed it because the typicalItem that is composed to figure out sizes and the actual first item in the list share the same textFlow. It actually has nothing to do with useVirtualDisplay other than it was sharing a textFlow.
It turns out that the TextFlowFactory dispatches damage events every time the textFlow is composed. Unlike when the flowComposer is used, it always considers the flow damaged. It was exacerbated by each of the two components having a damage handler for the same textFlow.
The solution is to use the textFlow generation number. In the damageHandler if the generation is the last known generation number, assume no changes, and return immediately from the damage handler.
QE notes: There are 1 TextArea, 6 TextInput and 2 NumericStepper failuers, with or without my changes. The common link seems to be DispatchKeyEvent. Most were testing maxChar, displayAsPassword and restrict. I tested these and they seem to be working correctly.
Doc notes:
Bugs: SDK-23002
Reviewer: Gordon
Tests run: checkintests, TextArea, TextInput and NumericStepper
Is noteworthy for integration: no
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-23002
Modified Paths:
flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RichEditableText.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RichText.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/RichEditable TextContainerManager.asRevision: 10214
Author: [email protected]
Date: 2009-09-13 07:33:58 -0700 (Sun, 13 Sep 2009)
Log Message:
This fixes the problem that if two text components share the same textFlow there is an infinite loop involving updateDisplayList -> damageHandler -> invalidateDisplaylist -> back to updateDisplayList. The bug file was for TextArea which is RET but the same bug was in RichText as well.
This example with a renderer exposed it because the typicalItem that is composed to figure out sizes and the actual first item in the list share the same textFlow. It actually has nothing to do with useVirtualDisplay other than it was sharing a textFlow.
It turns out that the TextFlowFactory dispatches damage events every time the textFlow is composed. Unlike when the flowComposer is used, it always considers the flow damaged. It was exacerbated by each of the two components having a damage handler for the same textFlow.
The solution is to use the textFlow generation number. In the damageHandler if the generation is the last known generation number, assume no changes, and return immediately from the damage handler.
QE notes: There are 1 TextArea, 6 TextInput and 2 NumericStepper failuers, with or without my changes. The common link seems to be DispatchKeyEvent. Most were testing maxChar, displayAsPassword and restrict. I tested these and they seem to be working correctly.
Doc notes:
Bugs: SDK-23002
Reviewer: Gordon
Tests run: checkintests, TextArea, TextInput and NumericStepper
Is noteworthy for integration: no
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-23002
Modified Paths:
flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RichEditableText.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RichText.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/RichEditable TextContainerManager.as -
Infinite loop when using the set language context API(This would be useful for f
Hi below is the code when execute goes into the infinite loop
Can any body throw light on this...
Regards,
Ranjit
CREATE OR REPLACE procedure draw_custom_login_page
site2pstoretoken in varchar2 default null
,p_error_code in varchar2 default null
,ssousername in varchar2 default null
,p_cancel_url in varchar2 default null
,p_submit_url in varchar2 default null
AS
var_bannergif varchar2(80);
var_bannertitle varchar2(4000);
var_bannerinfo varchar2(4000);
var_linkname varchar2(4000);
var_loginuser varchar2(4000);
var_loginpwd varchar2(4000);
var_loginbuttton varchar2(4000);
var_listlangcaption varchar2(4000);
var_optioneng varchar2(4000);
var_optionspanish varchar2(4000);
var_optionfrench varchar2(4000);
p_nls_language varchar2(5);
l_url varchar2(4000);
l_language varchar(2000);
ex exception;
BEGIN
-- for setting the browser language
begin
--if (owa_cookie.get('NLS_LANGUAGE').vals.count = 0) then
-- if persistent NLS cookie is not found
-- get the preferred browser language from environment
--l_language := substr(wwctx_api.get_http_accept_language,0,2);
--else
--l_language:='us';
--end if;
l_language := substr(wwctx_api.get_http_accept_language,0,2);
l_url :='portal30_sso.draw_custom_login_page';
if (owa_cookie.get('NLS_LANGUAGE').vals.count = 0) then
-- set portal language and redirect instead of just redirect
wwctx_app_language.set_language(p_http_language =>
l_language,p_nls_language => wwnls_api.http_to_nls(l_language),
p_nls_territory => wwnls_api.territory_from_http_language(l_language),p_requested_url => l_url);
else
owa_util.redirect_url(l_url);
end if;
exception
when others then
htp.p('Error Occurred');
wwerr_api_error_ui.show_html;
end;
----up to here
--for retrieving the NLS Language Equivalents
begin
var_bannergif := portal30.wwnls_api.get_string('CBS','banner_uitext','banner_gif',wwctx_api.get_nls_language);
var_bannertitle := portal30.wwnls_api.get_string('CBS','banner_uitext','banner_message',wwctx_api.get_nls_language);
var_bannerinfo := portal30.wwnls_api.get_string('CBS','banner_uitext','banner_info',wwctx_api.get_nls_language);
var_linkname := portal30.wwnls_api.get_string('CBS','banner_uilink','link_name',wwctx_api.get_nls_language);
var_loginuser := portal30.wwnls_api.get_string('CBS','banner_uilogin','login_name',wwctx_api.get_nls_language);
var_loginpwd := portal30.wwnls_api.get_string('CBS','banner_uilogin','login_password',wwctx_api.get_nls_language);
var_loginbuttton := portal30.wwnls_api.get_string('CBS','banner_uilogin','login_button',wwctx_api.get_nls_language);
--for filling up the list box
var_listlangcaption := portal30.wwnls_api.get_string('CBS','banner_listlang','listlang_caption',wwctx_api.get_nls_language);
var_optioneng := portal30.wwnls_api.get_string('CBS','banner_listlang','listlang_optioneng',wwctx_api.get_nls_language);
var_optionspanish := portal30.wwnls_api.get_string('CBS','banner_listlang','listlang_optionspan',wwctx_api.get_nls_language);
var_optionfrench := portal30.wwnls_api.get_string('CBS','banner_listlang','listlang_optionfrench',wwctx_api.get_nls_language);
end;
--Up to here
htp.p('<HTML>');
--htp.p('<FORM>');
htp.p('<HEAD><TITLE>'||var_bannertitle||'</TITLE>');
htp.p('<META content="text/html; charset=utf-8" http-equiv=Content-Type>');
htp.p('<STYLE>.bodytext {COLOR: black; FONT-FAMILY: Verdana,Arial,Helvetica; FONT-SIZE: 11pt; fontFamily: Verdana,Arial,Helvetica}');
htp.p('.header1 {');
htp.p('FONT-FAMILY: Verdana,Arial,Helvetica; FONT-SIZE: 14pt; FONT-WEIGHT: bold; fontFamily: Verdana,Arial,Helvetica');
htp.p('}');
htp.p('.large {');
htp.p('FONT-FAMILY: Verdana,Arial,Helvetica; FONT-SIZE: 18pt; FONT-WEIGHT: bold; fontFamily: Verdana,Arial,Helvetica}');
htp.p('.small {');
htp.p('FONT-FAMILY: Verdana,Arial,Helvetica; FONT-SIZE: 8pt; FONT-WEIGHT: normal; fontFamily: Verdana,Arial,Helvetica');
htp.p('}');
htp.p('</STYLE>');
htp.p('<BODY leftMargin=0 topMargin=0 MarginWidth="0" MarginHeight="0"> ');
htp.p('<TABLE background="/images/h_wave.gif" border=0 cellPadding=0 cellSpacing=0 width="100%">');
htp.p('<TBODY>');
htp.p('<TR>');
htp.p('<TD height=36> </TD></TR></TBODY></TABLE>');
htp.p('<TABLE border=0 cellPadding=7 cellSpacing=0 width="100%">');
htp.p('<TR>');
htp.p('<TD height=36><IMG alt="" border=0 height=45 width=140 src="/images/'||var_bannergif||'"></TD>');
htp.p('<TD height=36 align=right valign=top>');
htp.p('<form name="cbs_language_select" action="PORTAL30_SSO.wwctx_app_language.set_language" method="POST">');
htp.p('<input type="hidden" name="p_http_language" value="">');
htp.p('<input type="hidden" name="p_nls_territory" value="">');
htp.p('<input type="hidden" name="p_requested_url" value="portal30_sso.draw_custom_login_page">');
htp.p('<select name=p_nls_language value="null" onChange="javascript:fn_cbs_lang_submit(p_nls_language)">');
htp.p('<option selected>'||var_listlangcaption||'</option>');
htp.p('<option value="us">'||var_optioneng||'</option>');
htp.p('<option value="e">'||var_optionspanish||'</option>');
htp.p('<option value="f">'||var_optionfrench||'</option>');
htp.p('</select>');
htp.p('</form>');
htp.p('</TD> ');
htp.p('</TR></TBODY></TABLE>');
--htp.p('<DIV align=center>');
htp.p('<TABLE border=0 cellPadding=5 cellSpacing=6 width=100%>');
htp.p('<TBODY>');
htp.p('<TR>');
htp.p('<TD border=0 width=30%> </TD>');
htp.p('<TD width=50%><span class=large>'||var_bannertitle||'</span>');
htp.p('<P class=bodytext>'||var_bannerinfo||'<P>');
--htp.p('Oracle''s financial applications to leverage the power of a single');
--htp.p('integrated database with common data standards and core processes. This');
--htp.p('tool empowers employees at their desktops, enabling them to requisition');
--htp.p('goods and services, as well as pay bills and personal expenses online via');
--htp.p('a Web browser.');
htp.p(''||var_linkname);
htp.p('');
htp.p('<P align=center><A');
htp.p('href="https://p2pweb1d.nj.ssmb.com:3043/pls/p2pdb30_portal30_sso"');
htp.p('</TD>');
--htp.p('<TD class=bodytext height=25> </TD>');
htp.p('<TD width=20% valign=top align=right >');
htp.p('<TABLE cellpadding=5 BGCOLOR="#F2F2F2"');
htp.p('<TR><TD align=right>');
htp.p('<p class=small><b>'||var_loginuser||'</b> <input class=small type=text size=15 name=user value="">');
htp.p('<P class=small><b>'||var_loginpwd||'</b> <input class=small type=password size=15 name=password value="">');
htp.p('</TD></TR>');
htp.p('<TR><TD align=right>');
htp.p('<input class=small type=button size=15 name=cmd_login value='||var_loginbuttton||'>');
htp.p('</TD></TR>');
htp.p('</TABLE>');
htp.p('</TD>');
htp.p('</TR></TBODY></TABLE>');
--htp.p('</DIV>');
htp.p('</BODY>');
--htp.p('</FORM>');
htp.p('</HTML>');
htp.p('<SCRIPT language=JavaScript>');
htp.p('var l_http_language = new Array()');
htp.p('var l_nls_territory = new Array()');
htp.p('l_http_language[1] = "en"');
htp.p('l_nls_territory[1] = "AMERICA"');
htp.p('l_http_language[2] = "fr"');
htp.p('l_nls_territory[2] = "FRANCE"');
htp.p('l_http_language[3] = "de"');
htp.p('l_nls_territory[3] = "GERMANY"');
htp.p('l_http_language[4] = "ja"');
htp.p('l_nls_territory[4] = "JAPAN"');
htp.p('l_http_language[5] = "es"');
htp.p('l_nls_territory[5] = "SPANISH"');
htp.p('function fn_cbs_lang_submit(field){');
--htp.p('alert (document.cbs_language_select.p_http_language.value)');
htp.p('if ( field.selectedIndex != 0 )');
htp.p('{');
htp.p('document.cbs_language_select.p_http_language.value = l_http_language[field.selectedIndex]');
htp.p('document.cbs_language_select.p_nls_territory.value = l_nls_territory[field.selectedIndex]');
htp.p('document.cbs_language_select.submit();');
htp.p('}');
htp.p('}');
htp.p('</SCRIPT>');
exception when others then
htp.p(l_language);
htp.p(SQLCODE);
htp.p(SQLERRM);
END;Hi below is the code when execute goes into the infinite loop
Can any body throw light on this...
Regards,
Ranjit
CREATE OR REPLACE procedure draw_custom_login_page
site2pstoretoken in varchar2 default null
,p_error_code in varchar2 default null
,ssousername in varchar2 default null
,p_cancel_url in varchar2 default null
,p_submit_url in varchar2 default null
AS
var_bannergif varchar2(80);
var_bannertitle varchar2(4000);
var_bannerinfo varchar2(4000);
var_linkname varchar2(4000);
var_loginuser varchar2(4000);
var_loginpwd varchar2(4000);
var_loginbuttton varchar2(4000);
var_listlangcaption varchar2(4000);
var_optioneng varchar2(4000);
var_optionspanish varchar2(4000);
var_optionfrench varchar2(4000);
p_nls_language varchar2(5);
l_url varchar2(4000);
l_language varchar(2000);
ex exception;
BEGIN
-- for setting the browser language
begin
--if (owa_cookie.get('NLS_LANGUAGE').vals.count = 0) then
-- if persistent NLS cookie is not found
-- get the preferred browser language from environment
--l_language := substr(wwctx_api.get_http_accept_language,0,2);
--else
--l_language:='us';
--end if;
l_language := substr(wwctx_api.get_http_accept_language,0,2);
l_url :='portal30_sso.draw_custom_login_page';
if (owa_cookie.get('NLS_LANGUAGE').vals.count = 0) then
-- set portal language and redirect instead of just redirect
wwctx_app_language.set_language(p_http_language =>
l_language,p_nls_language => wwnls_api.http_to_nls(l_language),
p_nls_territory => wwnls_api.territory_from_http_language(l_language),p_requested_url => l_url);
else
owa_util.redirect_url(l_url);
end if;
exception
when others then
htp.p('Error Occurred');
wwerr_api_error_ui.show_html;
end;
----up to here
--for retrieving the NLS Language Equivalents
begin
var_bannergif := portal30.wwnls_api.get_string('CBS','banner_uitext','banner_gif',wwctx_api.get_nls_language);
var_bannertitle := portal30.wwnls_api.get_string('CBS','banner_uitext','banner_message',wwctx_api.get_nls_language);
var_bannerinfo := portal30.wwnls_api.get_string('CBS','banner_uitext','banner_info',wwctx_api.get_nls_language);
var_linkname := portal30.wwnls_api.get_string('CBS','banner_uilink','link_name',wwctx_api.get_nls_language);
var_loginuser := portal30.wwnls_api.get_string('CBS','banner_uilogin','login_name',wwctx_api.get_nls_language);
var_loginpwd := portal30.wwnls_api.get_string('CBS','banner_uilogin','login_password',wwctx_api.get_nls_language);
var_loginbuttton := portal30.wwnls_api.get_string('CBS','banner_uilogin','login_button',wwctx_api.get_nls_language);
--for filling up the list box
var_listlangcaption := portal30.wwnls_api.get_string('CBS','banner_listlang','listlang_caption',wwctx_api.get_nls_language);
var_optioneng := portal30.wwnls_api.get_string('CBS','banner_listlang','listlang_optioneng',wwctx_api.get_nls_language);
var_optionspanish := portal30.wwnls_api.get_string('CBS','banner_listlang','listlang_optionspan',wwctx_api.get_nls_language);
var_optionfrench := portal30.wwnls_api.get_string('CBS','banner_listlang','listlang_optionfrench',wwctx_api.get_nls_language);
end;
--Up to here
htp.p('<HTML>');
--htp.p('<FORM>');
htp.p('<HEAD><TITLE>'||var_bannertitle||'</TITLE>');
htp.p('<META content="text/html; charset=utf-8" http-equiv=Content-Type>');
htp.p('<STYLE>.bodytext {COLOR: black; FONT-FAMILY: Verdana,Arial,Helvetica; FONT-SIZE: 11pt; fontFamily: Verdana,Arial,Helvetica}');
htp.p('.header1 {');
htp.p('FONT-FAMILY: Verdana,Arial,Helvetica; FONT-SIZE: 14pt; FONT-WEIGHT: bold; fontFamily: Verdana,Arial,Helvetica');
htp.p('}');
htp.p('.large {');
htp.p('FONT-FAMILY: Verdana,Arial,Helvetica; FONT-SIZE: 18pt; FONT-WEIGHT: bold; fontFamily: Verdana,Arial,Helvetica}');
htp.p('.small {');
htp.p('FONT-FAMILY: Verdana,Arial,Helvetica; FONT-SIZE: 8pt; FONT-WEIGHT: normal; fontFamily: Verdana,Arial,Helvetica');
htp.p('}');
htp.p('</STYLE>');
htp.p('<BODY leftMargin=0 topMargin=0 MarginWidth="0" MarginHeight="0"> ');
htp.p('<TABLE background="/images/h_wave.gif" border=0 cellPadding=0 cellSpacing=0 width="100%">');
htp.p('<TBODY>');
htp.p('<TR>');
htp.p('<TD height=36> </TD></TR></TBODY></TABLE>');
htp.p('<TABLE border=0 cellPadding=7 cellSpacing=0 width="100%">');
htp.p('<TR>');
htp.p('<TD height=36><IMG alt="" border=0 height=45 width=140 src="/images/'||var_bannergif||'"></TD>');
htp.p('<TD height=36 align=right valign=top>');
htp.p('<form name="cbs_language_select" action="PORTAL30_SSO.wwctx_app_language.set_language" method="POST">');
htp.p('<input type="hidden" name="p_http_language" value="">');
htp.p('<input type="hidden" name="p_nls_territory" value="">');
htp.p('<input type="hidden" name="p_requested_url" value="portal30_sso.draw_custom_login_page">');
htp.p('<select name=p_nls_language value="null" onChange="javascript:fn_cbs_lang_submit(p_nls_language)">');
htp.p('<option selected>'||var_listlangcaption||'</option>');
htp.p('<option value="us">'||var_optioneng||'</option>');
htp.p('<option value="e">'||var_optionspanish||'</option>');
htp.p('<option value="f">'||var_optionfrench||'</option>');
htp.p('</select>');
htp.p('</form>');
htp.p('</TD> ');
htp.p('</TR></TBODY></TABLE>');
--htp.p('<DIV align=center>');
htp.p('<TABLE border=0 cellPadding=5 cellSpacing=6 width=100%>');
htp.p('<TBODY>');
htp.p('<TR>');
htp.p('<TD border=0 width=30%> </TD>');
htp.p('<TD width=50%><span class=large>'||var_bannertitle||'</span>');
htp.p('<P class=bodytext>'||var_bannerinfo||'<P>');
--htp.p('Oracle''s financial applications to leverage the power of a single');
--htp.p('integrated database with common data standards and core processes. This');
--htp.p('tool empowers employees at their desktops, enabling them to requisition');
--htp.p('goods and services, as well as pay bills and personal expenses online via');
--htp.p('a Web browser.');
htp.p(''||var_linkname);
htp.p('');
htp.p('<P align=center><A');
htp.p('href="https://p2pweb1d.nj.ssmb.com:3043/pls/p2pdb30_portal30_sso"');
htp.p('</TD>');
--htp.p('<TD class=bodytext height=25> </TD>');
htp.p('<TD width=20% valign=top align=right >');
htp.p('<TABLE cellpadding=5 BGCOLOR="#F2F2F2"');
htp.p('<TR><TD align=right>');
htp.p('<p class=small><b>'||var_loginuser||'</b> <input class=small type=text size=15 name=user value="">');
htp.p('<P class=small><b>'||var_loginpwd||'</b> <input class=small type=password size=15 name=password value="">');
htp.p('</TD></TR>');
htp.p('<TR><TD align=right>');
htp.p('<input class=small type=button size=15 name=cmd_login value='||var_loginbuttton||'>');
htp.p('</TD></TR>');
htp.p('</TABLE>');
htp.p('</TD>');
htp.p('</TR></TBODY></TABLE>');
--htp.p('</DIV>');
htp.p('</BODY>');
--htp.p('</FORM>');
htp.p('</HTML>');
htp.p('<SCRIPT language=JavaScript>');
htp.p('var l_http_language = new Array()');
htp.p('var l_nls_territory = new Array()');
htp.p('l_http_language[1] = "en"');
htp.p('l_nls_territory[1] = "AMERICA"');
htp.p('l_http_language[2] = "fr"');
htp.p('l_nls_territory[2] = "FRANCE"');
htp.p('l_http_language[3] = "de"');
htp.p('l_nls_territory[3] = "GERMANY"');
htp.p('l_http_language[4] = "ja"');
htp.p('l_nls_territory[4] = "JAPAN"');
htp.p('l_http_language[5] = "es"');
htp.p('l_nls_territory[5] = "SPANISH"');
htp.p('function fn_cbs_lang_submit(field){');
--htp.p('alert (document.cbs_language_select.p_http_language.value)');
htp.p('if ( field.selectedIndex != 0 )');
htp.p('{');
htp.p('document.cbs_language_select.p_http_language.value = l_http_language[field.selectedIndex]');
htp.p('document.cbs_language_select.p_nls_territory.value = l_nls_territory[field.selectedIndex]');
htp.p('document.cbs_language_select.submit();');
htp.p('}');
htp.p('}');
htp.p('</SCRIPT>');
exception when others then
htp.p(l_language);
htp.p(SQLCODE);
htp.p(SQLERRM);
END;
Maybe you are looking for
-
I'm retiring my old PC and want to deauthorize my purchased iTunes library (over 1,000 songs) but have a problem. The last time I tried to update iTunes on the computer, the installation crashed and iTunes was removed. My music is still there. I j
-
CS6 64-bit HDR Pro producing corrupted merge
Running CS6 Basic on W7-64bit. I'm not a frequent user of CS6, mostly Photoshop Elements does all I need, but I've been reworking the CS5 Classroom in a Book exercises to refresh my CS6 knowledge. I've reached the exercise (page 139) where multiple i
-
Aperture 3.1 - Mobileme - Flickr - Facebook
Hi, I just upgraded to Aperture 3.1 and pleased to find all my galleries for Flickr and Facebook listed, and not just the one's created in Aperture. But for mobileme, there is still a mismatch: just the ones created in mobileme are listed in Aperture
-
Hi, Is there a shortcut to search for numbers in a pdf file
-
I can't put my Skype in Online,what should I do,?help please Asap.