[svn:fx-trunk] 12795: Resolving race condition with interdependent Group properies alpha and blendMode .

Revision: 12795
Revision: 12795
Author:   [email protected]
Date:     2009-12-10 09:56:11 -0800 (Thu, 10 Dec 2009)
Log Message:
Resolving race condition with interdependent Group properies alpha and blendMode.
QE notes: None
Doc notes: None
Bugs: SDK-24636
Reviewer: Deepa
Tests run: Checkin
Is noteworthy for integration: No
Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-24636
Modified Paths:
    flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Group.as

Similar Messages

  • Race conditions with UI thread

    Hi community,
    the update to LabVIEW 2014 has caused sveral of my vis to act up - vis that I had coded with race conditions with the UI thread that I was not aware of.
    Maybe they didn't exist previously, maybe I was just ignorant.
    Here is a where I first noticed something was wrong. It has a workaround inside:
    http://forums.ni.com/t5/LabVIEW/How-to-make-sure-plots-in-xy-graph-are-present/td-p/3033109
    Thanks again Norbert for your help with that.
    Now problems are showing up in other places too and it might be the tip of an iceberg. I'm a little afraid right now. It's not just xy graphs. The latest example:
    I have a sub-vi whose frontpanel I open with an invoke node inside that sub-vi. Afterwards, in the caller I register for events of frontpanel objects of the sub-vi. This fails now - apparently the fp of the sub-vi isn't open yet although the sub-vi has finished executing (yes, I use dataflow to ensure register for event is done only after the sub-vi has finished). This has a striking resemblance to my issue in the previous thread. It seems that vis can now be "finished" executing while stuff that was supposed to happen inside the sub-vi is still executing in the UI thread.
    I had not expected this.
    Is this intended behaviour?
    Is this new to LabVIEW 2014?
    Can someone please shed some light on this behavior change (if indeed it is one)?
    Can someone please advise me on a general solution/workaround for the host of problems this is causing me?
    Best regards
    Florian

    Norbert,
    I'm currently unable to reproduce the issue in my code regardless of cpu core affinity (you gotta hate random errors).
    I have attached an example that shows a simplified version of the code that has previously produced the error.
    This example might be flawed since it hasn't produced the error yet.
    The issue would show when the button "open window" is pressed, if it did at all.
    Also there is stuff in there that I just implemented in an attempt to keep the UI thread busy.
    For the core of the issue please disregard the bottom while loop in caller.vi
    I'll keep trying.
    Best regards
    Florian
    Attachments:
    subvi event registration.llb ‏56 KB

  • Custom Tag in race condition with OC4J v9.0.2.0.0...

    Hello all,
    (I tried deploying my application with OC4J 9.0.3 but none of my existing
    tags worked)
    I developed a OC4J web application implementing my own tag library extension
    and found out that there was occurring a race condition to the fact that two
    users (different sessions) where accessing the same
    tag at the same time. In the offending tag implementation I only have
    instance members and not static which could also cause a
    concurrent access problem.
    I found that OC4J was reusing concurrently the same
    Tag instance when it should not do that!!!
    public class pagesIteratorTag extends BodyTagSupport {
    // only instance class members...
    public void doInitBody() throws JspException {
    System.out.println("pageSetIteratorTag::doInitBody - Tag instance value: " + this.toString() + " for user: " + this.pageContext.getSession().getAttribute("j_username"));
    public int doAfterBody() throws JspException {           
    System.out.println("pageSetIteratorTag::doAfterBody - Tag instance value: " + this.toString() + " for user: " + this.pageContext.getSession().getAttribute("j_username"));
    Note the pagesIteratorTag@2e same instance is used when it should not
    1 because the tag instance should be protected from multiple concurrent
    access even though it can be pooled and reused if it is free.
    pageSetIteratorTag::doInitBody - Tag instance value: com.kdlabs.fogal.tagext.pagesIteratorTag@2e for user: Frank
    pageSetIteratorTag::doAfterBody - Tag instance value: com.kdlabs.fogal.tagext.pagesIteratorTag@2e for user: Frank
    pageSetIteratorTag::doInitBody - Tag instance value: com.kdlabs.fogal.tagext.pagesIteratorTag@2e for user: Giovanni
    pageSetIteratorTag::doAfterBody - Tag instance value: com.kdlabs.fogal.tagext.pagesIteratorTag@2e for user: Giovanni
    pageSetIteratorTag::doInitBody - Tag instance value: com.kdlabs.fogal.tagext.pagesIteratorTag@2e for user: Giovanni
    pageSetIteratorTag::doAfterBody - Tag instance value: com.kdlabs.fogal.tagext.pagesIteratorTag@2e for user: Giovanni
    Session for user Frank throws a null pointer exception because Giovanni's session
    started accessing the variable.
    Can anyone advise please?
    Best Regards,
    Giovanni

    First of all, you said none of your tags worked in 9.0.3. What happened? Did you do any debugging of the problem?
    Comparing the "toString()" output of your tag does not guarantee they are the same instance. That is just the output of "hashcode()", not the "pointer" to the object. The hashcode is generated from the contents of the object, not its "identity".
    I suggest you track the NPE in the debugger and get more information before you assume the container is at fault (which is still an outside possibility). SDK API Javadoc
    Object class:
    The general contract of hashCode is:
    1-. Whenever it is invoked on the same object more than once during an execution of a Java application, the hashCode method must consistently return the same integer, provided no information used in equals comparisons on the object is modified. This integer need not remain consistent from one execution of an application to another execution of the same application.
    So, the toString() is properly returning the suffix of the object instance
    number unique for that instance and is then being reused by OC4J even though
    it is being accessed from another session thread, that must not happen and it
    is not compliant with the JSP spec.
    The other history is that when I implemented my custom tags OC4J was JSP 1.1 compliant
    and not 1.2, so after moving to 1.2 the scripting variables can be defined in XML and
    by subclassing TagInfo class, the last option doesn't work with OC4J 9.0.3, not good...
    Thanks for your help,
    I will keep trying to figure out what the problem migth be,
    Best Regards,
    Giovanni

  • EMET 5.0 Group Policy Settings Ignored (Probable race condition with Policy application)

    In our deployment, EMET 5 seems to be ignoring group policy settings from immediately after the first group policy refresh post-boot.
    Settings are being applied to the computer correctly, and are appearing in the registry correctly, and on boot, a set of Event ID 50 events are logged containing ConfigAppmitGPO (and similar for the other settings) elements with the correct settings.
    Upon the first group policy refresh, further eventID 50 events are logged, with empty ConfigAppmitGPO elements.
    Investigation with Process Monitor seems to indicate this is a race condition between Group Policy Registry settings being refreshed (which deletes the entries) and the EMET service reading out these settings from the registry (which appears to be triggered
    by Group Policy application or by a notification on the registry keys themselves)
    This is reproducible on Windows 7 and Windows 8.1.
    Is there any way to arrange for settings to be applied correctly at all times, or is this a bug that will need to be fixed in a future update?

    We're experiencing the exact same behavior currently. I was starting to think I was going crazy. Glad to know others are experiencing the same behavior.
    I've found that using the method from pervious versions to read and update settings from Group Policy, using "emet_conf.exe --refresh" still works, and upon every execution, the event log shows the GPO settings being read and applied. While I welcome the
    move to have EMET update from GPO settings without requiring running a separate task, as it stands now in its current condition, it is a step back.
    Scott Ladewig http://www.ladewig.com

  • Race condition with Startup scripts and 2nd locally mounted hard drive?

    Hello,
    My main hard drive is a solid state drive that I have OS 10.6.6 installed on. I also have a secondary local drive that I have installed some applications to.
    When my system boots I have some scripts in /Library/StartupItems that run before any users log in. Some of the scripts attempt to launch applications that are stored on my second disk. I have discovered that when my StartupItems run, the second disk has not yet had the opportunity to mount! As a result, my scripts fail of course.
    I discovered this by adding the command "mount > /info.txt" to my startup scripts that were not working as expected.
    If I insert sleep statements in my scripts that buys them enough time to allow my second drive to mount before they actually perform their useful tasks.
    All of this being said can anyone advise what a more appropriate solution would be? Is there a way to arrange the OS mechanisms in a way that would cause all disks to mount before aany StartUp scripts are run?

    There are a couple of ways you can do this. The "right" approach is to use DiskArbitration, but that's not easy to do from a shell script. I'd suggest converting your job to launchd (StartupItems are deprecated). Check out Technical Note 2083 (http://developer.apple.com/library/mac/#technotes/tn2005/tn2083.html) for more information than you ever wanted on daemons and agents on Mac OS X.
    launchd can be a bit daunting if you've never used it before, but it offers a lot of flexibility -- in particular the StartOnMount key. Your job can be triggered whenever a new disk is mounted. From there you can check for the presence of your expected volume, and exit if it's not present. (There is a small race condition here: if the disk mounts after your check but before you exit, you could miss it and fail to run. Also, you may not be able to predict the mountpoint of your disk in certain cases. You might instead want to check that its UUID matches what you expect. You can process the output of diskutil(8) to get the volume UUID.)
    Check out the example property list at the bottom of launchd.plist(5). Give it a custom label, specify the path to your script in ProgramArguments, and replace the KeepAlive key with StartOnMount. Set permissions to something like 644 with ownership root:wheel, drop into /Library/LaunchDaemons, and you should be good to go on your next boot. (By convention, the file's name should be the same as your label followed by ".plist".)

  • Maintaining pricing condition with field group

    Hi
    I want to check the linkage between condition maintenance table for pricing with the Contract.
    Can any body tell me how to maintain the pricing condition with the field group of Contract.(provide me the detail path)
    I am getting one error"Internal error in condition maintenance" when i click on product tab for any of contracts.
    So I guess it may be due to any linkage failure between condition table and field group or tabstrip. please tell me how could I proceed forward to check this error.
    Thanks

    Hi, I hope that this linck to serve.
    [condition fields table|condition fields table]
    Cordial greetings.

  • ISE: create rules with AD groups for Users and Computers

    Hello,
    We've just begun to work with ISE.
    Is it the good place to post on ISE, or there is a dedicated forum in another place?
    We'd like to create some rule depending of Computer member groups AND Users member groups from AD, but we meet some difficulties.
    We've created AD groups for Computers and Users depending of their Department:
    Users_1
    Users_2
    Computers_1
    Computers_2
    When we create some basics rules regarding one group only:
    - with a group Computers_x to attribute a specific VLAN to a computer (when no Windows session is opened), it runs correctly.
    - with a group Users_x to attribute a specific VLAN to an user (when Windows session is opened), it runs correctly.
    But when we create a rule regarding a group from Computers and one from Users, to attribute a specific VLAN to an user on a specific computer, this rule is not applied.
    Is it possible to use ISE on this way?
    Thanks for help.
    Regards,
    Chris

    Enable EAP Chaining— if  you want Cisco ISE to allow authentication of both machine and user in the same  EAP-FAST authentication.
    http://www.cisco.com/en/US/solutions/collateral/ns340/ns414/ns742/ns744/docs/howto_80_eapchaining_deployment.pdf

  • Transport roles (with assigned group) containing folders and iviews

    Hi,
    This message was in the BI forum before and I think that it suits here better.
    I created a portal role which is contained in a folder X under Portal Content. This portal role is associated with a particular ABAP menu-role by means of Assigned Groups. When I transported the folder X with all dependent objects from Dev to QA, the portal role appeared but the Assigned Groups is empty. Another words, the association between portal role and the ABAP menu-role could not be transported. How can Associated Groups in a Portal Role be transported?
    Then I also tried to do the following steps:
    1. Export and import portal contents which include the whole structure with folders, roles and iviews under each role.
    2. Export and import the same roles as user management data
    The result from 1 was that the whole structure including the roles is imported; however none of the portal role contains the associated assigned group.
    The result from 2 was that the UME roles with assigned group are imported as separat objects.
    Now, the same role appears both as portal role without assigned group and the UME object with assigned group. But, there is no connection between 1 and 2. That means that I cannot use 2 anyway.
    Therefore, I still have to manuelly modify 1 with assigned role once again after importing step 1. Is there a way to import 1 with the associated assigned group without any manuel modification?
    Thank you in advance for any helpful advice.
    Best regards,
    Zabrina

    hi,
    check the following threads
    http://help.sap.com/saphelp_nw04/helpdata/en/6d/7c8cfd410ea040aadf92e1f78107a4/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/6d/7c8cfd410ea040aadf92e1f78107a4/frameset.htm
    Re: Transport management in BW 2004s
    let me know uneed any further info
    bvr

  • [svn:fx-trunk] 10635: * Fixed FB issue with FXG in library projects.

    Revision: 10635
    Author:   [email protected]
    Date:     2009-09-28 06:49:45 -0700 (Mon, 28 Sep 2009)
    Log Message:
    Fixed FB issue with FXG in library projects.
    QE notes:
    Doc notes:
    Bugs: FB-22197
    Reviewer: pfarland
    Cycloner: gcomnino
    Tests run: checkintests
    Is noteworthy for integration: Yes, fixes FB issue
    Code-level description of changes:
      Modified getSourceListMimeTypes() to include FXG mime type.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FB-22197
    Modified Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/tools/WebTierAPI.java

  • [svn:fx-trunk] 12878: When sub-components don' t have a tabIndex and when VideoPlayer instance does, assigned tabIndex to each inner-component to ensure that they appear in the correct tab order with other components on the stage .

    Revision: 12878
    Revision: 12878
    Author:   [email protected]
    Date:     2009-12-11 19:07:40 -0800 (Fri, 11 Dec 2009)
    Log Message:
    When sub-components don't have a tabIndex and when VideoPlayer instance does, assigned tabIndex to each inner-component to ensure that they appear in the correct tab order with other components on the stage.
    QE notes: none
    Doc notes: none
    Bugs: n/a
    Reviewer: Gordon
    Tests run: checkintests
    Is noteworthy for integration: no
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/VideoPlayerAccImpl.as

    Michael,
    "Michael Caughey" <[email protected]> wrote in message news:413f0af6$1@mail...
    If I'm doing something wrong what is it? Obviously there is something
    different about how I configured my environment a year ago.What happens if you bring down ms02?
    Regards,
    Slava Imeshev

  • [svn:fx-trunk] 12982: Fix for issue with exposing accessible names for combobox list items

    Revision: 12982
    Revision: 12982
    Author:   [email protected]
    Date:     2009-12-15 20:44:23 -0800 (Tue, 15 Dec 2009)
    Log Message:
    Fix for issue with exposing accessible names for combobox list items
    QE notes: none
    Doc notes: none
    Bugs: n/a
    Reviewer: Gordon
    Tests run: checkintests
    Is noteworthy for integration: no
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ComboBoxAccImpl.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ListBaseAccImpl.as

    Add this to the end of your nav p CSS selector at Line 209 of your HTML file, after 'background-repeat...':
    margin-bottom: -2px;
    Your nav p will then look like this:
    nav p {
              font-size: 90%;
              font-weight: bold;
              color: #FFC;
              background-color: #090;
              text-align: right;
              padding-top: 5px;
              padding-right: 20px;
              padding-bottom: 5px;
              border-bottom-width: 2px;
              border-bottom-style: solid;
              border-bottom-color: #060;
              background-image: url(images/background.png);
              background-repeat: repeat-x;
              margin-bottom: -2px;

  • [svn:fx-trunk] 8507: Making measureHeightOfItemsUptoMaxHeight consistent with the way we create rows in the datagrid .

    Revision: 8507
    Author:   [email protected]
    Date:     2009-07-10 10:13:11 -0700 (Fri, 10 Jul 2009)
    Log Message:
    Making measureHeightOfItemsUptoMaxHeight consistent with the way we create rows in the datagrid. MakeRow ensures reported row height is round to the nearest integer, measureHeightOfItemsUptoMaxHeight is now consistent.  Fixes a long standing PrintDataGrid issue.
    Bugs: SDK-20237.
    QE Notes: None
    Doc Notes: None
    Reviewer: Glenn/Alex
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-20237
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as

    Well, you could do the following:
    1) Create a stored procedure that assembles the data into a rowset with rows and fields like the format you want.
    2) Create stored procedures that handle insert, update, and delete.
    3) Create an entity object definition with all transient attributes. Make the attributes match the elements of one row.
    4) Override doDML() in the entity object class to call your procedures (the doc explains how to do this). You might also need to do a bit of research and figure out if you need to override some other method so you can report rows with transient attribute changes only as needing posting. (getPostState(), maybe?)
    5) Create a view object definition with entity-derived attributes based on your EO attributes.
    6) Override the appropriate methods to call your data assembly procedure rather than execute a query (this is also in the doc).
    Still kind of kludgy, but it keeps your business components pretty clean, especially if you use framework classes to do most of the work for you. (I have a partial example of how to do that here.) Of course, it keeps your business components clean by moving the real work to the DB, but some people find that more maintainable that a kazillion business components.
    Hope this helps,
    Avrom

  • [svn:fx-trunk] 8452: - Fix flicker problem with constraint bound text that is being autoSized.

    Revision: 8452
    Author:   [email protected]
    Date:     2009-07-08 08:38:32 -0700 (Wed, 08 Jul 2009)
    Log Message:
    - Fix flicker problem with constraint bound text that is being autoSized.  If the remeasure is done in a 2nd pass you will see a flicker as all the objects are moved to accommodate the reflowed text.
    - Fix data binding issue with text setter.
    - Rework measure() to accommodate implicit autoSize.
    If explicitWidth or widthInChars specified and explicitHeight or heightInLines specified, or for now, blockProgression != "tb", the text has fixed dimensions and is not auto-sized.
    If no text and width specified, but no height, start at specified width and one line high and grow taller.
    If no text and height specified, start at 1 char wide with the specified height and grow wider.
    If neither width nor height specified, and toFit lineBreaks, start at explicitMaxWidth, or default maxWidth of 160, and grow taller.
    If neither width nor height specified, and explicit lineBreaks width is unlimited and can grow taller.
    These are further constrained by min/max Width and Height except in the case that explicitWidth or explicitHeight are specified.
    - Change default maxWidth for RichText and SimpleText to 160 to match RET.  Previously it was 10000.  This is used for
    text with toFit lineBreaks if a width isn't specified.
    QA Notes: 12 or so TextGraphic tests fail because of the new default maxWidth.
    Doc Notes:SDK-22014, SDK-21837
    Reviewers: Gordon
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22014
        http://bugs.adobe.com/jira/browse/SDK-21837
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RichEditableText.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicEleme nt.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/RichEditable TextContainerManager.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/TextGraphicE lement.as
    Added Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/RichEditable TextEditManager.as

    You have used elements like header, footer, footer1 and nav without using the correct DOCTYPE declaration. Replace the first line of your code with
    <!doctype html>
    Also have a look here for other problems http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fhome.surewest.net%2Fstorytales%2F test%2Fforposting.html
    After the above has been fixed, please come back here to fix the remaining problem(s)
    Gramps

  • [svn:fx-trunk] 8968: sync api versions with flash runtime data

    Revision: 8968
    Author:   [email protected]
    Date:     2009-07-31 13:18:19 -0700 (Fri, 31 Jul 2009)
    Log Message:
    sync api versions with flash runtime data
    Modified Paths:
        flex/sdk/trunk/modules/asc/src/java/macromedia/asc/embedding/avmplus/ActionBlockEmitter.j ava
        flex/sdk/trunk/modules/asc/src/java/macromedia/asc/util/APIVersions.java

    Sorry to dig this out, but i just ran exactly into the same problem using a 7600GT. Reverting the appropriate libraries to 9.2.4 lead to a segfault in Compiz, deleting the libvdpau_nouveau files, however worked perfectly - thanks cro for the hint. But I guess, this is not a permanent solution, is there a better way to fix it? Maybe a bug report mentioning the problem would be of some use?
    Bug reported: https://bugs.archlinux.org/task/39975
    Last edited by PhotonX (2014-04-20 11:59:36)

  • [svn:fx-trunk] 10445: We're stricter with styles now, so this was not compiling.

    Revision: 10445
    Author:   [email protected]
    Date:     2009-09-20 18:59:55 -0700 (Sun, 20 Sep 2009)
    Log Message:
    We're stricter with styles now, so this was not compiling.
    Modified Paths:
        flex/sdk/trunk/samples/ja_JP/explorer/core/SimpleApplicationExample.mxml

    You are welcome. I'm glad you got it back up.
    (1) You say you did the symbolic link. I will assume this is set correctly; it's very important that it is.
    (2) I don't know what you mean by "Been feeding the [email protected] for several weeks now, 700 emails each day at least." After the initial training period, SpamAssassin doesn't learn from mail it has already processed correctly. At this point, you only need to teach SpamAssassin when it is wrong. [email protected] should only be getting spam that is being passed as clean. Likewise, [email protected] should only be getting legitimate mail that is being flagged as junk. You are redirecting mail to both [email protected] and [email protected] ... right? SpamAssassin needs both.
    (3) Next, as I said before, you need to implement those "Frontline spam defense for Mac OS X Server." Once you have that done and issue "postfix reload" you can look at your SMTP log in Server Admin and watch as Postfix blocks one piece of junk mail after another. It's kind of cool.
    (4) Add some SARE rules:
    Visit http://www.rulesemporium.com/rules.htm and download the following rules:
    70sareadult.cf
    70saregenlsubj0.cf
    70sareheader0.cf
    70sarehtml0.cf
    70sareobfu0.cf
    70sareoem.cf
    70sarespoof.cf
    70sarestocks.cf
    70sareunsub.cf
    72sare_redirectpost
    Visit http://www.rulesemporium.com/other-rules.htm and download the following rules:
    backhair.cf
    bogus-virus-warnings.cf
    chickenpox.cf
    weeds.cf
    Copy these rules to /etc/mail/spamassassin/
    Then stop and restart mail services.
    There are other things you can do, and you'll find differing opinions about such things. In general, I think implementing the "Frontline spam defense for Mac OS X Server" and adding the SARE rules will help a lot. Good luck!

Maybe you are looking for

  • When playing games, suddenly crashes

    hi. i have a hp pavilion g6 notebook and when im playing some games like league of legends, the game crashes and it goes to desktop. its really pissing me off

  • Iphoto Crash - Can't allocate memory

    Iphoto crashes and issues error report. When re-opening Iphoto, get a message stating "Inconsistencies Found - Repair Database".  Cycle repeats over and over again. Review of error reports shows failure due to "CoreImage_crashed_because_it_could_not_

  • Auto delete in logical standby

    Environment Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi PL/SQL Release 10.2.0.4.0 - Production CORE 10.2.0.4.0 Production TNS for HPUX: Version 10.2.0.4.0 - Production NLSRTL Version 10.2.0.4.0 - Production 2 instances in rac -->

  • Changing of Material Valuation Classes

    Currently changing of material valuation classes in standard SAP can be achieved if :     1.   If valuated stocks already exist, you can change the valuation class         only as follows:         a)  Post the stocks of the material to an interim acc

  • Serious accessibility regression in Acrobat 9 UI, low constrast black toolbars

    I've been evaluating whether to upgrade to Acrobat 9, or stay with Acrobat 8. Acrobat 9 fixes a Javascript auto-crash code segment I want to use in a PDF Form my business uses (the PDF currently coaches the users do a less user friendly workaround in