Error because of e

Hi XI gurus,
I have a simple BPM which takes input from JDBC and maps it to an IDOC and then sends it to a R/3 system.
For error handling purposes I have used correlation. If some error record is found, the bpm stops at a recieve step. So to restart the BPM, we need to send again a message to BPM.
This is where the problem comes, the incoming message shows the chequered flag in the 1st coloumn in SXMB_MONI, but a red flag in the 'Outbound Status' coloumn.
Moreover when I click on PE just before it, It does not take me to the BPM workflow log, but to some 'Event Queue Administration' (TCODE SWEQADM).
I tried to find the answer in previos threads, which suggested folloing:
1. activate the IP using SXI_CACHE
    - done.
2. clearing SLD data cache.
    - done.
3. re-importing the IP into the ID.
    - done.
4. delete the erroneous work list usinf SWWL.
    - not authorised to use this transaction.
5. do something with tran. SWF_XI_CUSTOMIZING
    - but no idea what that meant.
I am at my wits' end.
Help me out.
Thanks
Raghav

Hi,
I somehow am not very clear with the logic that you are using here.
<i>For error handling purposes I have used correlation. If some error record is found, the bpm stops at a recieve step.</i>
Does this mean that, you have not done any configuration (for ex: error handling branch) to handle such error? if this is the case, the BPM errors out at the receive step, without further processing(a runtime error, and hence you see a red flag in the outbound status column in moni).
<i>So to restart the BPM, we need to send again a message to BPM.</i>
Since you have used correlation, your BPM is already running, but has stopped, due to an error at the receive step. You cannot restart it by sending a new message.
Regards,
Smitha.

Similar Messages

  • I can not transfer date from one hard drive to another, I keep getting an error because I have two of the same file names and one file name is in caps and I cant change the file name

    can not transfer date from one hard drive to another, I keep getting an error because I have two of the same file names and one file name is in caps and I cant change the file name. My original external has an error and needs to be reformatted but I dont want to lose this informations its my entire Itunes library.

    Sounds like the source drive is formatted as case sensitive and the destination drive is not. The preferred format for OS X is case insensitive unless there is a compelling reason to go case sensitive.
    Why can't you change the filename? Is it because the source drive is having problems?  If so is this happening with only one or two or a few files? If so the best thing would be to copy those over individually and then rename them on the destination drive.
    If it is more then you can do manually and you can't change the name on the source you will have to reformat the destination as case sensitive.
    Btw this group is for discussion of the Support Communities itself, you;d do better posting to Lion group. I'll see if a host will move it.

  • Tried to update to newest version. I got error because i didn't have this recovery program disc that was supposed to come with the purchase but it didn't and now my ipod touch 8gb won't connect with itunes and is stuck on a connection with itunes screen

    I tried to update to newest version via pc. I got error because i didn't have this recovery program disc that was supposed to come with the purchase so it says, but it didn't and now my ipod touch 8gb won't connect with itunes anymore and is stuck on a screen displaying an itunes icon with a usb icon.

    oke i'm not done with the whole thing, but i'm doing that right now. Most of the advice I've already read didn't work and at a certain point it said something about shutting down programs then restart. but i notice that there are some pretty important system things in that list and i don't want to mess up my pc :s i'm not a pc genius... and because i'm dutch and my pc-language is in dutch I often have trouble translating and well... i don't always understand the technical stuff in all the articles -_-

  • This morning I ask about the requirement to download the adobe Cs6 before i buy the product and the salesperson told me that i met the requirement for that particular software, so my surprise now when i open the file it says an error because my computer d

    this morning I ask to a sales person about the requirement to download the adobe Creative Cs6 before i buy the product and the salesperson told me that my computer met the requirement for that particular software, so my surprise now when i open the file it says an error because my computer doesn't meet this requirement,  my computer is a OS X 10.5.8 and the requirement  is OS X v10.6.8 or v10.7 what can i do?

    The requirements are online. For the Master Collection the requirements on Macs are:
    Mac OS
    Multicore Intel processor with 64-bit support
    Mac OS X v10.6.8 or v10.7
    4GB of RAM (8GB recommended)
    15.5GB of available hard-disk space for installation; additional free space required during installation (cannot install on a volume that uses a case-sensitive file system or on removable flash-based storage devices)
    Additional disk space required for disk cache, preview files, and other working files; 10GB recommended
    1280×900 display with 16-bit color and 512MB of VRAM; 1680×1050 display required and second professionally calibrated viewing display recommended for Speedgrade
    OpenGL 2.0-capable system
    DVD-ROM drive compatible with dual-layer DVDs (SuperDrive for burning DVDs; Blu-ray burner for creating Blu-ray Disc media)
    Java™ Runtime Environment 1.6
    Eclipse™ 3.7 Cocoa version (for plug-in installation of Flash Builder); the following distributions are supported: Eclipse IDE for Java EE and Java Developers, Eclipse Classic, Eclipse for PHP Developers
    QuickTime 7.6.6 software required for QuickTime features, multimedia, and HTML5 media playbackOptional: Adobe-certified GPU card for GPU-accelerated performance in Premiere Pro; see the latest list of supported cards
    Optional: Adobe-certified GPU card for GPU-accelerated ray-traced 3D renderer in After Effects; see the latest list of supported cards
    Optional: Tangent CP200 family or Tangent Wave control surface for Speedgrade
    Optional: 7200 RPM or faster hard drive (multiple fast disk drives, preferably RAID 0 configured, recommended) for video products
    Broadband Internet connection and registration are required for software activation, validation of subscriptions, and access to online services.* Phone activation is not available.
    You should have been given the correct information. Adobe offers 30-day money back guarantee.
    You can find return information here:
    Return, cancel, or exchange an Adobe order

  • I bought mountain lion en app stores and start download, but stops and mentioned is incomplete. and when start installation mentioned error because download is incomplete and send me to download again but the button is in  "downloaded"  what can i do?

    I bought mountain lion en app stores and start download, but stops and mentioned is incomplete. and when start installation mentioned error because download is incomplete and send me to download again but the button is in  "downloaded"  what can i do?

    Welcome to the support forums.
    Please ask this question in the Mac App Store forum where they can better assist you.

  • ITunes.exe - System Error, because MSVCR80.dll is missing

    iTunes.exe - System Error, because MSVCR80.dll is missing, how do I fix this, using windows 7

    Click here and follow the instructions. You may need to completely remove and reinstall iTunes and all related components, or run the process multiple times; this won't normally affect its library, but that should be backed up anyway.
    (99277)

  • CS5 - trying to load a new style .asl file - keep getting "error, because no parser or file format can open the file."  what gives?

    trying to load a new style for a project.  CS5 PSD.  the .asl file when dragged into the doc, gives the the following "error, because no parser or file format can open the file."  what gives?

    .asl files are layer styles
    You can go to Window>Styles and then load the styles from the styles panel fly-out menu

  • Mapping error because of special characters

    Hello,
    We are extracting data from SAP system and sending it thru XI to 3rd party system (writing xml files on to file server).
    Now, because of presence of few special characters in the data, there is a mapping exception error in XI.
    The data which is causing the issue is "ABRANCENTRO   MEDIAÇÃO IMOBILIÁRIA".
    In SXMB_MONI, i see that this is failing is Request Message mapping step.
    We can not remove special characters as this is master data. How can i fix this issue?
    DO i need to use any modules in communication channel for this purpose?
    Any leads are highly appreciated.
    Thanks,
    Chandra

    Hi Chandra,
    an UDF cant help you assumedly coz that characters lead to "not wellformed" XML. Any parser would complain about that. So the PI parser would throw an error before executing the UDF.
    The question is: what does the receiver expect? You wrote you like to write xml files to a server. But if the XML is not wellformed, the receiver would not be able to parse them, and therefore usually not able to process them.
    If you really want to create such a file (not wellformed XML) you can create that with a not parsing mapping (ABAP or Java). So you map the message just with string operations. This is not very recommentable and only possible for very simple mapping cases.
    Regards,
    Udo

  • How do I fix the workspace error "because the file is locked, you do not have necessary access permissions..."?

    I keep getting the error message "Could not apply the workspace because the file is locked, you do not have necessary access permissions, or another program is using the file. ..." when I try to open a workspace. Any ideas how to fix the permissions and what file does not have permissions. I am on a Mac.

    See here:
    CS5 "Locked"

  • E-Commerce create order runtime error because of user-exit

    Hi all,
    we face the following problem in our e-Commerce 5.0 R3 B2B application:
    In our R3 system, we have implemented the userexit_save_document_prepare when creating sales order (VA01) because we do not want an order to be created (saving is cancelled) if some conditions are not met. If this happens, the systems throws an error message that users can see at the status bar and the order creation is cancelled (but the user still is on the VA01 transaction).
    Now, we are implementing SAP e-Commerce solution and we can create orders when these messages are not thrown (the order is saved without any message because all conditions are met). If one of these error messages (in user-exit) are thrown (the user has exceeded some limit, for instance), then e-Commerce application does not show the message but shows a runtime error and crashes (user has to log in again and so on...). I include the error trace below.
    Is it not possible to show these error messages (which have information for user) on our B2B application?
    com.sap.isa.businessobject.BORuntimeException: order create not possible
         at com.sap.isa.businessobject.BusinessObjectHelper.splitException(BusinessObjectHelper.java:78)
         at com.sap.isa.businessobject.order.Order.saveAndCommit(Order.java:393)
         at com.sap.isa.isacore.action.order.MaintainBasketSimulationSendAction.basketPerform(MaintainBasketSimulationSendAction.java:122)
         at com.sap.isa.isacore.action.order.MaintainBasketBaseAction.isaPerform(MaintainBasketBaseAction.java:998)
         at com.sap.isa.isacore.action.IsaCoreBaseAction.ecomPerform(IsaCoreBaseAction.java:343)
         at com.sap.isa.isacore.action.EComBaseAction.doPerform(EComBaseAction.java:353)
         at com.sap.isa.core.BaseAction.execute(BaseAction.java:211)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         at com.sap.isa.core.RequestProcessor.processActionPerform(RequestProcessor.java:674)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at com.sap.isa.core.RequestProcessor.process(RequestProcessor.java:391)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at com.sap.isa.core.ActionServlet.process(ActionServlet.java:243)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:117)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:62)
         at com.tealeaf.capture.LiteFilter.doFilter(Unknown Source)
         at com.sap.isa.isacore.TealeafFilter.doFilter(TealeafFilter.java:61)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:58)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:384)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Thanks in advance.

    Hi Jolly,
    thanks for your quick response. The user-exist is not java-based but ABAP-based. User-exit is included in program: MV45AFZZ. Routine: USEREXIT_SAVE_DOCUMENT_PREPARE.
    If we do not want to let the user save the order we use:
    MESSAGE eXXX....
    Thanks.

  • Download install error because it is not supported in iTunes

    I just downloaded Flash Player update (Adobe) but when I go to install it an error pops up that it is not authorized? i.e. flash player no longer resides in iTunes though it is a FREE app.
    I know this happened only because I did an OS (Mountain Lion) and Safari update which return my setting back to DEFAULT instead of my preference but I do not remember how to change to what I want. I need those directions again.
    Tks
    Sparkgapper

    Hey Sparkgapper,
    Is it possible that the operating system on your Mac is telling you that the Flash installer is from an unidentified developer? If that is the case, use the steps in this article to complete the installation -
    OS X Mountain Lion: The app is from an unidentified developer
    Thanks for using Apple Support Communities.
    Happy computing,
    Brett L 

  • PrePro [CS4] error because of missing plug-in

    Hi there,
    I got a problem when starting Premiere Pro CS 4.2.1.
    The thing is that I deleted a plug-in that was connected with Premiere Pro.
    A few days ago when I upgraded to Apple Logic Studio 2 I decided to get rid of all everything I don't need anymore.
    And since I decided to not use that specific plug in anymore I deleted it. I didn't think that any problem with Premier would occur though.
    Now when I try to start Premiere the following error occurs:
    "(the Plugin) cannot find the default file def.p5a. Please locate the file in order to use the default preset." All i can do now is click "ok". Afterwards I'm promted to locate the missing file, which isn't on my system anymore anyway. So all i can do now is cancel that procedure. Then the next error message appears:
    "(the plugin) cannot find the default controlmap file controlmap.txt. Please locate the file now." Again, the only option that remains is "ok". But that doesn't seen to achieve much, because nothing happens and that dialog stays on the screen forever. I can click "ok" as much as I want, it doesn't go away!!!!! Argh!
    How can I tell Premiere that I don't want to use that plugin anyway?
    Is there anyway to start Pre without checking for all plugins and then deselect it within premiere somewhere? This is driving me nuts. I can't work with Premiere anymore. So please help me out here.
    Cheers!

    OK, you had a VST (probably as a .dll), that is still listed in your Registry, and PrPro is hanging on loading, or trying to load it.
    Let's step back a moment, and see if this ARTICLE offers any help. If nothing else, it will give a bit of background on VST's.
    Now, PrPro tries to load all VST's. From the above article, in the case of #3, it will freeze in the launch process. However, it is also writing a "blacklist," telling the program to NOT try and load that VST again. This can result in having to launch many times, while that blacklist is being populated with all of the offending VST's. If you have a large number of say "instrument" VST's, this can mean many failed launches, until all have been added to that list, one at a time.
    If you have removed that "known bad" VST, but PrPro is still trying to load it, then something is telling PrPro that it IS still around. I would guess that this stems from an entry in the Registry, that was not removed, when you uninstalled the VST. I would look into a Registry cleaner, like CCleaner, to try and clean up the Registry, and hopefully remove all references to that now missing VST.
    Going back some versions, one user, Eddie Lotter, was working on a blacklist file to help PrPro get past the #3 VST's. What I do not know is if CS4 writes to a physical, and separate blacklist file, like Eddie's Blacklist.TXT file, or if that info is inside another file. Maybe Jeff, or others, can comment. If there IS a true, separate Blacklist.TXT (or similar extension), one should be able to manually edit it (always make a copy of it and store it safely away) to reflect the offending VST.
    I'd look at things in that order: keep trying to launch the program, in hopes that it does catalog all #3 VST's, and will finally complete that cataloging and launch; try a Registry cleaner; look for a Blacklist.txt, or similar file, and try to edit it to include that VST. Make sure that you get the exact and full name that PrPro is looking for.
    Good luck,
    Hunt

  • Flash is introducing insane rounding errors because of some arbitrary decision to round x and y coordinates to 0.05 increments

    The data type for x and y properties is a double precision floating-point Number, so why is it rounding off values?  Rounding is an unnecessary operation, and furthermore it's not saving any memory, because it just requires me to store a more precise value elsewhere, in addition to the lower-bit rounded value.
    This rounding causing unnecessary additional work when coding against these values, because I have to round other values as well to make sure there aren't discrepancies when transforming coordinates.
    So I was really surprised to discover that if I assign a value to a DisplayObject's x or y coordinates such as 10.3333333, and trace the value, it becomes 10.3.
    If I assign 10.666666, it becomes 10.65.  Apparently it's rounding everything to the nearest 20th of a unit.  So now, I have to override the x and y properties to store the Number-type value, once again as a Number-type, which is not rounded.
    Flash's arbitrary rounding of coordinates is causing erratic rounding errors when performing coordinate system transformations using localToGlobal and globalToLocal to find the composite scale of an object on the stage.
    For example, suppose an object was laid out to occupy one third of the display, and it's width ends up being 200.3333333.  One calculation of my docking framework involves obtaining the orthagonal bounding box of the child by transforming its corner points into stage coordinates using localToGlobal, which accounts for things like scaling and rotation.  So despite everything having a scale of 1, and having zero rotation, you'd still end up with a rectangle with a width of 200.3 instead of the expected 200.3333333 in stage coordinates.  So it would appear as though the composite scale is slightly smaller than 1, since 200.3 / 200.333333 is 0.99983361081528.  But the composite scale is in fact 1, we just don't know that because Flash unexpectedly rounded some coordinates to an arbitrary 1/20 unit.
    No game engine in existence does that with its transformation matrices, because it's retarded to round so early, and then allow those rounding errors to accumulate through a display hierarchy via functions like localToGlobal.
    This rounding is causing jittering by a pixel or so when animating a drop down panel in my my docking framework, because it's constantly correcting for unexpected anomalies in the scaling factor on each frame.  Despite the parent container having a constant fixed width, the child object, once its corner coordinates are passed through localToGlobal, end up reporting rounded widths, which ultimately leads to a series such as the following:
    dockedChild.width: 538.3842482614723, parent.width: 558.3412118444024
    dockedChild.width: 538.3754595467979, parent.width: 558.3412118444024
    dockedChild.width: 538.3666709755926, parent.width: 558.3412118444024
    dockedChild.width: 538.3578825478539, parent.width: 558.3412118444024
    dockedChild.width: 538.3490942635798, parent.width: 558.3412118444024
    dockedChild.width: 538.3903098666023, parent.width: 558.3412118444024
    dockedChild.width: 538.3815210529766, parent.width: 558.3412118444024
    dockedChild.width: 538.3727323828218, parent.width: 558.3412118444024
    dockedChild.width: 538.3639438561353, parent.width: 558.3412118444024
    dockedChild.width: 538.3551554729148, parent.width: 558.3412118444024
    dockedChild.width: 538.346367233158, parent.width: 558.3412118444024
    dockedChild.width: 538.3875826274011, parent.width: 558.3412118444024
    dockedChild.width: 538.3787938582956, parent.width: 558.3412118444024
    dockedChild.width: 538.37000523266, parent.width: 558.3412118444024
    dockedChild.width: 538.3612167504922, parent.width: 558.3412118444024
    dockedChild.width: 538.3524284117897, parent.width: 558.3412118444024
    dockedChild.width: 538.3436402165502, parent.width: 558.3412118444024
    dockedChild.width: 538.384855402015, parent.width: 558.3412118444024
    dockedChild.width: 538.3760666774294, parent.width: 558.3412118444024
    dockedChild.width: 538.3672780963132, parent.width: 558.3412118444024
    dockedChild.width: 538.3584896586638, parent.width: 558.3412118444024
    dockedChild.width: 538.349701364479, parent.width: 558.3412118444024
    dockedChild.width: 538.3909170139807, parent.width: 558.3412118444024
    Is there any way to turn off this rounding to 0.05 units?
    To override the x and y values to have greater precision, I must do the following:
    public class Control extends MovieClip
        public function Control()
            super(); //Flash performs timeline/graphics initialization here, which means after this call, the object may have non-zero x and y values
            _x = super.x; //acquire them immediately, so if we try to set x or y to zero, the 'if (_x != value)' check does not think it's already positioned at zero and ignore the call
            _y = super.y;
        private var _x:Number;
        private var _y:Number;
        override public function get x():Number { return _x; } //return precise value, rather than rounded super.x value
        override public function set x( value:Number ):void
            if (_x != value) //ensure value is actually changing before performing work
                _x = value; //store precise value in private variable
                super.x = value; //DisplayObject will round value to nearest 0.05
                if (stage != null)
                    stage.invalidate(); //ensure RENDER event is dispatched to re-render anything that may need to account for a repositioned object
        override public function get y():Number { return _y; } //return precise value, rather than rounded super.y value
        override public function set y( value:Number ):void
                if (_y != value) //ensure value is actually changing before performing work
                _y = value; //store precise value in private variable
                super.y = value; //DisplayObject will round value to nearest 0.05
                if (stage != null)
                        stage.invalidate(); //ensure RENDER event is dispatched to re-render anything that may need to account for a repositioned object    }
    Most importantly, you must initialize the _x and _y values to super.x and super.y in the constructor immediately after a call to super(), in order to acquire any non-zero values that the object instance may have been initialized with on the timeline.
    I just cannot fathom why they didn't leave the x and y coordinates as-is, instead of rounding them, when it causes so many problems and complications, and requires overriding not only x and y, but functions like localToGlobal/globalToLocal/getRect.
    This has been an issue for a while:
    flash - AS3 x and y property precision - Stack Overflow specifically: flash - AS3 x and y property precision - Stack Overflow
    http://www.actionscript.org/forums/showthread.php3?t=96510
    Problems with Sub-pixel Coordinate Movement
    In fact, that last link says: "
    Running the code:
    The motion is still jerky; and
    The distance between the two squares diverges
    However, the one benefit is that the distance does not diverge by more than 1 pixel."
    That's precisely what I saw happening in my own code, as you can see from the series of widths I posted above, which seem to fluctuate randomly between 358.34 and 358.39.

    Actually, there is a way.
    If you simply activate the 3D transformation by setting z to zero, the matrix3D replaces the matrix and concatatedMatrix properties of the DisplayObject's transform object, and suddenly x and y values maintain a precision higher than a twip.  It's not quite the double-precision value of the Number type, however, and looks more like a single-precision 32-bit floating point value.
    For example, if you run the following code:
    var mc:Sprite = new Sprite();
    mc.x = 200.0 + (1/3); //assign high precision value to x
    trace(mc.x); //traces 200.3 (rounded)
    mc.z = 0; //activate 3D matrix
    mc.x = 200.0 + (1/3);
    trace(mc.x); //traces 200.33333740234374 (still rounded, but accurate to 5 decimal places)
    Based on the traced output, it's clear that it is possible to force the DisplayObject to get and set higher precision values for x and y properties, without any modifications to the underlying classes.  However, I'm not happy with that solution for 2 reasons.  First, it activates stage 3D and introduces graphical glitches and unnecessary bitmap caching.  Second, it's still not "Number" precision; it's something less than that.
    Instead, I was able to successfully work around the issue by altering the overrides for properties x, y, scaleX, scaleY, and methods localToGlobal, globalToLocal, and getRect to use privately maintained values.  I was already using privately maintained width and height values in order to decouple the size from the scaling factors.  No need to override getBounds, since it accounts for stroke widths and will be non-exact anyway.
    The consistent, high precision values are vital, and they increased the performance of my layout framework, because it's actually able to prevent unnecessary assignments to x, y, width, and height when the values aren't actually changing.  #beginrant: Such detection is impossible when Flash internally rounds everything, because if you try to keep something at, for example, 1/3 of the screen, it will always think you're trying to assign a high precision value of 200.33333 over a less precise value of 200.3 as I had previously described.  Alternatively, you'd have to pre-round any value you try to assign, which is more work than it's worth.  It's sort of terrible that Flash rounds property values as it does, because the value you assign can never be read back the same.  That's generally not how numerical properties should work when assigning values of the same data type and precision.  #endrant
    In particular, two optimizations were made in the getRect override.  If the target coordinate system is null or "this", then it simply returns new Rectangle( 0, 0, _width, _height ), and more importantly, if the target coordinate system is "parent" (which is the case 99% of the time) and rotation is zero and scale is 1 (also the case 99% of the time for GUI elements), then it simply returns new Rectangle( _x, _y, _width, _height ), which is the internal, high-precision values for x, y, width, and height (resemblance to AS2 properties is purely coincidental; this is AS3 code).  That allows me to skip the following code path 99% of the time, which would otherwise return the orthagonal bounding box of the element at any rotation in any coordinate system:
    //These instance variables are used to accelerate calculations, see comments.
    //Upper left is always an empty point, and these variables store upper right, lower right, and lower left corner points.
    protected var p_UR:Point; //DO NOT ALTER p_UR.y; LEAVE AT ZERO ALWAYS
    protected var p_LR:Point; //Lower right corner: x = width, y = height
    protected var p_LL:Point; //DO NOT ALTER p_LL.x; LEAVE AT ZERO ALWAYS
    //Returns the orthogonal bounding rectangle of the object in the specified target coordinate system
    //based on its own internal height and width (actual contentRect may be larger).
    //getContentRect function was added to replace the original functionality of this method
    override public function getRect( targetCoordinateSpace:DisplayObject ):Rectangle
        switch (_scaleMode) //GUIControl allows decoupling of size and scale
            case SCALE_NOSYNC_SIZE:
                if (targetCoordinateSpace == null || targetCoordinateSpace == this)
                    return new Rectangle( 0, 0, _width, _height );
                //UPDATE: Created this optimization to ensure rounding errors introduced by
                //Flash's tendency to round x and y coordinates to twips are not introduced
                //by localToGlobal/globalToLocal calls, so they are avoided if possible.
                if (targetCoordinateSpace == parent && rotation == 0 && scaleX == 1 && scaleY == 1)
                    return new Rectangle( _x, _y, _width, _height );
                p_UR.x = _width; //note the p_UR.y is always zero
                p_LR.x = _width;
                p_LR.y = _height;
                p_LL.y = _height; //note the p_LL.x is always zero
                break;
            case SCALE_SYNC_SIZE:
                var contentRect:Rectangle = getContentRect( true ); //must use unscaled points when performing local/global transforms, since this object is scaled
                p_UR.x = contentRect.right; //note the p_UR.y is always zero
                p_LR.x = contentRect.right;
                p_LR.y = contentRect.bottom;
                p_LL.y = contentRect.bottom; //note the p_LL.x is always zero
                break;
        return calcOrthogonalBoundingBox(
            targetCoordinateSpace.globalToLocal( localToGlobal( EMPTY_POINT ) ),
            targetCoordinateSpace.globalToLocal( localToGlobal( p_UR ) ),
            targetCoordinateSpace.globalToLocal( localToGlobal( p_LR ) ),
            targetCoordinateSpace.globalToLocal( localToGlobal( p_LL ) )
    protected function calcOrthogonalBoundingBox( p0:Point, p1:Point, p2:Point, p3:Point ):Rectangle
        //Assuming no rotation, points 0 and 3 are most likely to be min_x.  This optimization minimizes the likely number of assignments.
        //Similar optimizations are in place for max_x, min_y, and max_y, all patterns are ordered 0,1,2,3... starting with the two most likely candidates in the sequence.
        var min_x:Number = p3.x;
        if (p0.x < min_x) min_x = p0.x;
        if (p1.x < min_x) min_x = p1.x;
        if (p2.x < min_x) min_x = p2.x;
        var max_x:Number = p1.x;
        if (p2.x > max_x) max_x = p2.x;
        if (p3.x > max_x) max_x = p3.x;
        if (p0.x > max_x) max_x = p0.x;
        var min_y:Number = p0.y;
        if (p1.y < min_y) min_y = p1.y;
        if (p2.y < min_y) min_y = p2.y;
        if (p3.y < min_y) min_y = p3.y;
        var max_y:Number = p2.y;
        if (p3.y > max_y) max_y = p3.y;
        if (p0.y > max_y) max_y = p0.y;
        if (p1.y > max_y) max_y = p1.y;
        return new Rectangle( min_x, min_y, max_x - min_x, max_y - min_y );
    In this framework, particularly in SCALE_NOSYNC_SIZE mode (the default), the width and height are assigned and internally maintained, independently of the scaleX and scaleY values.  The internally maintained values are used for performing layout and drawing operations such as backgrounds and borders.  In the extremely rare occasion where the actual content needs to be measured, I just use getBounds, such as in the constructor when initializing the "original" size of the clip's content, if it has timeline content, or possibly bitmap methods for masked objects.
    These changes have all increased the performance of my framework by an order of magnitude and have virtually eliminated 3rd layout passes, so I'm happy with it.  I still wish the Flash runtime would be updated to simply stop rounding these values.

  • Sync error because of app that doesn't exist

    Everytime I try to sync my iPhone 3Gs, I get an error that says...
    There was a problem downloading the artwork for "Insert app name here".
    Please try again by choosing "Check for Available Downloads" from the Store menu.
    This app is not installed on my phone, it doesn't show up in iTunes on my app list, and it no longer exists in the App Store. I have OS 4.0 and my iTunes is updated. Because of this, I am completely unable to sync my phone and it is really getting annoying. Is there a folder or something I can get into to delete all traces of this app?

    Contact itunes support & have them clear your download queue:
    http://www.apple.com/support/itunes/

  • Bad error because of the new QT package

    Hi!
    I installed the new qt package and wanted to update some packages from AUR after that. Unfortunately after starting the build it stops during configuration with the following message:
    checking for KDE... libraries /opt/kde/lib, headers /opt/kde/include
    checking if UIC has KDE plugins available... no
    configure: error:
    you need to install kdelibs first.
    If you did install kdelibs, then the Qt version that is picked up by
    this configure is not the same version you used to compile kdelibs.
    The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the
    _same Qt version_, compiled with the _same compiler_ and the same Qt
    configuration settings.
    Maybe the maintainer can rebuild the kdelibs so compiling apps for KDE will be possible again.

    I already wanted to compile kdelibs myselve using the PKGBUILD available in ABS. But to my surprise it stopped with an error, so it's impossible for me to compile it....
    I'm wondering about that, since I always thought that everything from ABS will work, because the developers build the packages using the exact same PKGBUILDs.....
    Anyway, I may downgrade again, when I found a server still having the old package... 

  • Errors because no free space on / ? [BTRFS]

    Hi,
    Two weeks ago I reinstalled my pc from scratch. Systemd all the way. The pc doubles as a desktop pc and mediaserver, and everything worked as planned.
    Yesterday I installed mkvtoolnix and used it to strip some audio channels from a .mkv. After that, I used packer (AUR installer) to install the faenza and faience icon set. The faenza icon set installed correctly, but the faience icon set did not install because the downloaded package could not be expanded.
    This could have two causes:
    1. There is no space left on the device.
    2. The device is mounted without write-privileges.
    I checked both:
    1. with 'df -h' -> I have at least 2GB free on every partitition (NOTE: there is my 'media'-partition that is listed as 100% used, but it has 6GB out of 996GB free...)
    2. with 'mount -a -o rw' -> /etc/mtab shows that all are mounted rw
    This didn't help: pacman refused to install complaining it could not write any file inside the package
    I rebooted to make sure it's not a problem with a temporary folder that had been flooded, and now gnome-session refuses to start. X starts, but Gnome/gdm gives me the sad faced computer that something has gone wrong. I can work in the console and checking both hypotheses results in the same conclusion: I have plenty space left and the (relevant) partitions are all mounted 'rw'.
    Help?
    /EDIT: more info:
    * My rootfs is btrfs and systemd warns me that there is no fsck.btrfs, but also that I can safely ignore that warning
    * gnome-session complains about I/O-errors when writing to /usr/share
    * My SSD is 1.5 years old and I have never had problems before.
    Last edited by zenlord (2012-09-27 08:00:41)

    zenlord wrote:
    Hi,
    Two weeks ago I reinstalled my pc from scratch. Systemd all the way. The pc doubles as a desktop pc and mediaserver, and everything worked as planned.
    Yesterday I installed mkvtoolnix and used it to strip some audio channels from a .mkv. After that, I used packer (AUR installer) to install the faenza and faience icon set. The faenza icon set installed correctly, but the faience icon set did not install because the downloaded package could not be expanded.
    This could have two causes:
    1. There is no space left on the device.
    2. The device is mounted without write-privileges.
    I checked both:
    1. with 'df -h' -> I have at least 2GB free on every partitition (NOTE: there is my 'media'-partition that is listed as 100% used, but it has 6GB out of 996GB free...)
    2. with 'mount -a -o rw' -> /etc/mtab shows that all are mounted rw
    This didn't help: pacman refused to install complaining it could not write any file inside the package
    I rebooted to make sure it's not a problem with a temporary folder that had been flooded, and now gnome-session refuses to start. X starts, but Gnome/gdm gives me the sad faced computer that something has gone wrong. I can work in the console and checking both hypotheses results in the same conclusion: I have plenty space left and the (relevant) partitions are all mounted 'rw'.
    Help?
    /EDIT: more info:
    * My rootfs is btrfs and systemd warns me that there is no fsck.btrfs, but also that I can safely ignore that warning
    * gnome-session complains about I/O-errors when writing to /usr/share
    * My SSD is 1.5 years old and I have never had problems before.
    Hi, it's because the metadata in btrfs takes up all of your 2GB.
    Btrfs is claimed to be clever enough to allocate inodes dynamically but actually it's not the case.
    Try to run 
    btrfs filesystem balance /
    Btrfs is far from stable. Today I just encountered another strange problem of btrfs. I can't delete an empty directory even with
    rm -rf foo
    Last edited by qiuwei (2012-10-24 22:10:42)

Maybe you are looking for

  • Repeated error: 11 problems while trying to backup to time machine

    A few months ago I purchased a 750GB NESO external hard drive and have never been able to back up using time machine on it. I can manually back up files no problem, but I have yet to get time machine to finish a complete backup, despite trying every

  • Terms of Payment in case of Residual Payment

    Dear All I have made a Terms of Payment K1 for my Customer. After  making a residual payment, the terms of payment for the residual amount  is coming by default 0004. But I want it should come from Original Invoice payment terms... Please guide me. K

  • Preview doesn't read PDFs?

    Hi My Preview app doesn't read PDFs anymore but can read images and text. I have updated Safari to the latest Adobe software and can read the latest PDFs there but when I save and OPEN WITH Preview I get Please wait... If this message is not eventual

  • Where is the link for submitting problem to apple?

    Where is apple link for submitting problems?

  • How to record V-Drums in Logic Express?

    I'm trying to record my V-Drums through the M-Audio 2626 interface into Logic Express. I'm able to trigger sounds in the Logic Express library when I conned the MIDI-out on the V-drums to the M-Audio. But I'd like to record the Roland drum sounds thr