Old Flex App suddenly has an error?

We have several custom Dashboards we wrote in Flex 3 several months ago which are deployed with various customers around the country.  Haven't done anything in Flex for about six months, until recently when I was tasked to customize another one of these Dashboards for a new customer.
Much to my surprise I found that when I ran my Dashboard from Flex Developer I get an error, apparently due to a drawing method drawRect().  Luckily for me this error only appears when I run from Flex Developer, when I compile the App it runs fine.
I now need to determine the source / cause of this error, which apparently is being caused by one of the Components we use in the Application, some Degrafa stuff and a Treemap component to which we don't have all of the source code.  I may have to find the answer in some other site (where we found the components) but I'd like some insight into what is happening here.
I would also very much like someone more skilled than I am with Flex (I am a beginner Flex programmer myself) to explain to me why an Application which worked fine for almost a year would suddenly develop a problem in the code which did not exist before?   This kind of thing would not happen with the other software development tools we use.
This is the error I got.
ArgumentError: Error #2004: One of the parameters is invalid.
at flash.display::Graphics/drawRect()
at mx.skins::ProgrammaticSkin/drawRoundRect()[C:\autobuild\3.2.0\frameworks\projects\framewo rk\src\mx\skins\ProgrammaticSkin.as:739]
at mx.skins.halo::TabSkin/updateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\framewo rk\src\mx\skins\halo\TabSkin.as:397]
at mx.skins::ProgrammaticSkin/validateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\f ramework\src\mx\skins\ProgrammaticSkin.as:421]
at mx.managers::LayoutManager/validateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\f ramework\src\mx\managers\LayoutManager.as:622]
at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects \framework\src\mx\managers\LayoutManager.as:677]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\core\UIComponent.as:8628]
at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framewo rk\src\mx\core\UIComponent.as:8568]
Any help would be veyr appreciated.
Jean

This is my TabNavigator statement:
<mx:TabNavigator 
x="50" y="15" width="94%" height="90%" backgroundColor="#FFFFFF" horizontalAlign="center" tabWidth="
{this.width * 0.32}" creationPolicy="all"> 
Is the tabWidth a problem now possibly due to some change in IE 8?
D

Similar Messages

  • 9650 Radio Companion App- suddenly stopped working error 201 need APN settings?

    The error code directs me to the Advanced options/TCP settings and it asks for  APN settings.  It was working fine until about a week ago and I can't find these settings anywhere.  The web site the help file directs you to does NOT list Verizon network. Has all the others though.
    Any help appreciated!

    Please contact your carrier as it sounds like something has changed on their side.  Please make sure that they are not blocking you in any way.  You can also contact [email protected] for help as APN settings are specific to the carrier you are using.  Please check the Nobex website for more information.  www.nobexrc.com.
    Hope this helps!

  • File not Found Error in Flex APP-MDI

    Hi Friends,
    In my Flex APP-MDI application  have error.Th error is given blew.How can i solve this problem,please any one help to me.
    Error:
    File not found: file:/C:progmfiles/AdobeFlashBuilderBeta2/amdiBasicExample_1_1_1/bin-debug/amdiBasicExamp le.html
    Thanks,
    Magesh R.

    You would do better to ask this in the developer forum, not the user forum.

  • Flex app calling CF cfc to download file gets "Channel disconnected" fault

    I am a newbie with ColdFusion and Flex. I am trying to implement file download/streaming functionality in my Flex 4.5 application and I am running ColdFusion 9 as my back end. More specifically, I have a component in my Flex app that displays a list of files - some of these files can be available for opening (or "previewing") via the client. I want the client to be able to click a button and download the file from the ColdFusion server, after the appropriate security checks are performed (also in ColdFusion). Right now I am just trying to get the basic download functionality to work with a very simple cfc. Here is the cfc code:
    <cfcomponent displayname="Preview Document"
         output="false">
         <cffunction name="streamFile" access="remote" returntype="any">
              <cfargument name="filename" displayName="Filename" type="string" required="true" />
              <cfheader name="Content-Disposition" value="attachment;filename=#filename#" >
              <cfcontent type="application/unknown" file="c:\myserverpath\#filename#">
         </cffunction>
    </cfcomponent>
    When I try this via a cfm, it works fine (I get a File Download window where I can choose to either open or save the file). But when I try to use this in my Flex app, I get an error.
    In my Flex app, I have a RemoteObject to access my cfc and a CallResponder:
    <s:RemoteObject id="PreviewDocument"
       source="PreviewDocument"
       destination="ColdFusion"
       showBusyCursor="true"/>
      <s:CallResponder id="PreviewDocumentResult"
        fault="Alert.show('CallResponder PreviewDocumentResult: ' +
        event.fault.faultString + '\n' + event.fault.faultDetail)"
        result="PreviewDocumentResult_resultHandler(event)"/>
    Then I created a button whose click even executes the following line:
    PreviewDocumentResult.token = PreviewDocument.streamFile("myfile.pdf");
    When I run my app, I get the following fault:
    faultCode = "Client.Error.DeliveryInDoubt"
    faultString = "Channel disconnected"
    faultDetail = "Channel disconnected before an acknowledgement was received"
    I have tried many different approaches and searched online for help with this fault, but I could not find any helpful clue to where I can start investigating this.
    Can anyone help with why I am getting this fault?
    Thanks in advance.

    @sir_teddy, thanks for your reply again.
    Yes I have created a simple cfc that returns a string successfully (in fact I had used the same cfc and basically just commented out the cfcontent and cfheader tags, and returned the name of the file being requested in the cfreturn tag). When I un-comment the cfcontent tag from the code, the error comes back.
    So I am really at a loss here...

  • Is there a way to trap for exceptions that were unhandled anywhere else in a Flex app?

    Hi All,
    Is there a way I can setup my Flex app to trap exceptions (errors) that are thrown, but not caught anywhere else in my app?  What I'm hoping to do is put some code at the "topmost" layer of my application that will trap for any exceptions that are thrown, and then it can log them and notify the server that an unhandled exception happened in the Flex app.  This will notify me that an error happened, and allow me to troubleshoot the issue by giving me the complete stack trace (and whatever other information I want to send along with the error).
    In ASP.NET you can do something like this with ELMAH:
    http://code.google.com/p/elmah/
      -Josh

    Global exceptions handling in Flex 4 along with FlashPlayer 10.1:
    http://www.rialvalue.com/blog/2010/05/13/global-exception-or-error-handling-in-flex/
    Best Regards
    Martin Andersen

  • An AS component doesn't appear in a flex app

    The following AS draws a line and works in its own right,
    package components {
    import flash.display.Sprite;
    import flash.display.Shape;
    public class DrawTest1 extends Sprite {
    public function DrawTest1() {
    var shape:Shape = new Shape();
    shape.graphics.lineStyle(0,0x0000FF, 1);
    shape.graphics.lineTo(100,100);
    addChild(shape);
    It was then included in a flex app as
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns:custom="components.*"
    layout="horizontal">
    <custom:DrawTest1 />
    </mx:Application>
    but only a blank screen (i.e. without the line) was displayed
    when the flex app was executed (no error message was given during
    compilation). Please help.

    Flex containers (incluing Application) can contain only
    components which are derived from UIComponent or implement
    IUIComponent interface.
    To get your component to display in the application create a
    UIComponent as child and add the DrawTest1 component as a child to
    it.
    <mx:UIComponent id="p1"
    creationComplete="p1.addChild(t1)"/>
    <custom:DrawTest1 id="t1"/>

  • Suddenly iPhoto gives me the error message "your photo library is either in use by another app or has become unreadable".  HELP

    Suddenly iphoto gives me error message 'your photo library is either in use by another app or has become unreadable'.  What can I do?

    What version of iPhoto? Assuming 09 or later...
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • CS3 suddenly has a startup error, cant find MFC71.DLL

    Start CS3 normally, and suddenly get this error:
    Adobe Photoshop CS3: Photoshop.exe - Unable To Locate Component (title bar
    of error dialog)
    This application has failed to start because MFC71.DLL was not found.
    Re-installing the application may fix this problem.
    OK
    I click on OK and CS3 starts, but with differences. Seems some of the
    windows on the right are missing now. Bridge still runs fine, I can edit
    RAW files from Bridge to ACR4.5, then open from that into Photoshop, then
    convert and save the files. I don't seem to have a Layers palette now or a
    Tool Options palette.
    I had just gone through and uninstalled a number of old applications. None
    were Adobe programs though. Immediately after doing that, this error
    started.
    I found MFC71.DLL, but putting it in the Photoshop installation folder
    didn't help. Can someone tell me how to fix this? Hopefully without
    re-installing CS3. I have also just discovered that my DVD rewriter will
    not recognize the CS3 DVD, so doing a reinstall from the disk will require a
    new DVD drive first.
    The Adobe updater works and I updated PS to 10.01, and still get that
    startup error and have missing palettes.
    Thanks!
    Michael

    It belongs in the Windows\system32 folder.
    I also have copies in C:\Program Files\Common Files\Adobe\Updater and C:\Program Files\Adobe\CS3\Acrobat 8.0\Designer 8.0
    All of the copies I found are version 7.10.3077.0
    Peter

  • Publishing Universal App - An unexpected network error has occurred

    Hello,
    Each time that we tried to "Associate App with Store" or Create App package" via Visual Studio 2013 to publish our Windows Phone 8.1 Universal app, we have the error "An unexpected network error has occurred. the app list cannot be refreshed.
    Please retry by pressing the refresh button".
    Our account has more 100 WP apps, and we saw that it could be the problem?
    With Silverlight app, it was easy to generate a XAP. But now with Universal Apps, due to this issue, we are blocking! Please Microsoft, can you correct this bug?
    Thanks
    ClevLab (www.clevlab.com)

    Hello Sroye.
    I have been struckling with the same problem. Copying large data amounts between my MacBook and my Airdisk works perfectly (though slowly).
    But copying data amounts larger than about 300MB from my XP to my airdisk suddenly stops with the error you get. Hereafter I cannot access the airdisk until I have re-started both my AEBS and my 500GB LaCie HFS+ formatted disk drive.
    I use the new 7.1.1 firmware version in my AEBS.
    Have you solved your problem?
    Kind regards Thomas.

  • I suddenly have this error message on FireFoxthis message pops up: "Could not initialize the application's security component. The most likely cause is problems with files in your application's profile directory. Please check that this directory has no re

    I suddenly encounter this error message from Fire Fox.
    Could not initialize the application's security component. The most likely cause is problems with files in your application's profile directory. Please check that this directory has no read/write restrictions and your hard disk is not full or close to full. It is recommended that you exit the application and fix the problem. If you continue to use this session, you might see incorrect application behaviour when accessing security features.
    I uninstalled the browser and download a new version but it does not resolve the issue.
    I know my hard disc has ample space. I do NOT know where to find the Profile directory to fix the read restriction box.
    == This happened ==
    Every time Firefox opened
    == After something about security add-on of Norton pop up by itself. ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; MSN Optimized;US)

    This link shows things to check - https://support.mozilla.com/kb/Could+not+initialize+the+browser+security+component

  • App World Inaccessible - Error Message "App World has been blocked"

    Dear All,
    I recently purchased a Sprint-branded Blackberry Curve 9350 (in excellent condition) off of Amazon, and all of the phone is entirely functional, except that every time I try to access the Blackberry App World I receive a pop-up message reading "App World has been blocked".
    Initially, when I switched my pre-existing Sprint line to my new Curve, the phone was entirely wiped and reset.  I began using the various functions and only a few days later realized that I cannot access App World.  I spoke to several Sprint representatives and over the course of a few days took the following steps, all without any success:
    De-installed and reinstalled App World
    Did a Batt-pull with the phone on, de-installed and reinstalled App World, and did another Batt-pull
    Hooked connected the phone to my laptop and de-installed App World via Blackberry Desktop Manager
    As I purchased the phone over Amazon, I don't believe warranty protection applies.  However, it seem incongruous that all of the other applications and functionality of the phone work, with the sole exception of App World.
    Could someone please suggest steps to remedy the problem and make App World accessible? 
    Also, could someone please advise whether I can bypass the App World app and install Blackberry apps onto the Curve directly via Blackberry Desktop Manager and, if so, what the steps to do that are?
    Many thanks in advance,
    Colby
    Solved!
    Go to Solution.

    Hello,
    From that description, I suspect a latent IT Policy is on your BB that is blocking AW. Normally, the error message would say more than what you reported, and that would be more indicative...but this is my guess from what you provided.
    To cleanse it, you actually have several things you need to do...starting with checking to see if this is indeed the case:
    KB30076 How to check for an IT Policy on a BlackBerry smartphone
    Sadly, there also are also rare situations with "stealth" IT Policies that exist, but do not actually display as such via the above. Again, the complete error message may have provided a better hint about this issue.
    Nevertheless, I believe you need to conduct certain steps anyway, especially given your method of procurement. Refer:
    KB05099 Steps to take before selling or after buying a previously owned BlackBerry smartphone
    While it sounds as if someone did or had you do much of this, I think you need to review it to be sure. Further, none of those WIPE methods would actually have removed an IT Policy from the BB. Rather, you need to perform the ResetToFactory process, which I recommend you do instead of (or in addition to) the WIPE that the KB recommends:
    KB31291 How to reset a BlackBerry smartphone to factory settings using BlackBerry Desktop Software
    In addition, you need to be careful if you've already placed data onto the BB that you need to retain. You can backup/restore your device before/after these WIPEs, but you need to be careful when you restore...do not do a full restore, or you will simply put the offending IT Policy back on board. Rather, do a selective restore of only the databases you require, and being 100% sure to avoid any databases that have anything at all to do with IT Policy:
    KB03974 BlackBerry smartphone database list
    Lastly...given this situation, it is entirely possible that there are further challenges with this specific BB. For example, if the BIS account is locked due to the BB being previously reported as lost or stolen, there will be nothing you can do about that, and you will never be able to have full services. But Orange certainly should be able to tell you if this is the case.
    cbhjenkins wrote:
    Also, could someone please advise whether I can bypass the App World app and install Blackberry apps onto the Curve directly via Blackberry Desktop Manager and, if so, what the steps to do that are?
    These methods exist:
    KB14473 How to install an application on a BlackBerry smartphone using the BlackBerry Desktop Software
    KB04670 Install a third-party application with the Application Loader
    KB28715 How to Install applications from BlackBerry App World using a computer system
    However, there is no way to know if the IT Policy will also block these methods.
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • I sold my ipod (which has always been backed up to Itunes/computer)and am waiting for my new ipad.  Do I have to manually download all my apps on the ipad, or will itunes sync my old ipod apps/music to the ipad?

    I sold my ipod (which has always been backed up to itunes/computer) and am waiting for a new Ipad.
    Do I have to manually download all my apps on the ipad, or will itunes allow me to sync my old ipod apps and music to the ipad?

    Welcome to the Apple Community.
    You can sync your music and apps from iTunes. However since you are moving from an iPod to an iPad, many of the apps will have iPad versions which you will need to redownload.

  • Jazn-data. xml has 3 errors on newly created portal app

    I just created a new portal app and my jazn-data.xml has 3 errors right off the bat.
    1. element attributes not expected
    2. element functions not expected
    3. Element system-policy not expected
    Why am I getting these errors.

    Are you sure? Cause somebody told me the same thing about my css files. But then somebody suggested I check the ADF Faces Extension and the errors went away and my skins were able to be applied.
    Also I created a user how the Portal Framework tutorial told me too and when I login as that user all the files I am bringing in from the content server won't display, all my panel links disappear and I get this error when I log in as content admin:
    oracle.webcenter.content.integration.RepositoryException: Sep 14, 2012 9:53:59 AM oracle.webcenter.content.integration.spi.ucm.UCMBridge getUCMAccessLevel
    SEVERE: Cannot get security info for node ID: /UCM/0
    Caused by: oracle.webcenter.content.integration.RepositoryException: oracle.stellent.ridc.protocol.ServiceException: Could not calculate the user's permissions. User 'contentadmin' cannot be retrieved.
    Edited by: beachw08 on Sep 14, 2012 6:54 AM
    Edited by: beachw08 on Sep 14, 2012 10:38 AM

  • APP-PAY-06153: System Error : Procedure pay_us_emp_dt_tax_rules.insert_fed_tax_row - ORA-20001: &1 element does not exist or has not linked to pay at step 4

    Hi Experts,
    I'm finding the below mentioned error while I'm saving assignment with Salary Basis, Location and Payroll.
    APP-PAY-06153: System Error : Procedure pay_us_emp_dt_tax_rules.insert_fed_tax_row - ORA-20001: &1 element does not exist or has not linked to pay at step 4.
    Please note that I am able to save the record if I do not any one of Salary Basis, Location. Payroll. It is basically happening on creating default tax.
    Can anyone pleas let me know if you have facing the above error and resolved?
    Guru

    Hi Guru,
    Did you check -
    Error Saving A Salary Basis - pay_us_emp_dt_tax_rules.Insert_fed_tax_row (Doc ID 302878.1)
    Cheers,
    Vignesh

  • App World Web Plugin Error: An error has occurred communicating with the BlackBerry App World Client.

    App World Web Plugin Error
    An error has occurred communicating with the BlackBerry App World Client.
    Please help me with this problem. I have a new Blackberry Storm 2. When I sign in, it asked me to get the BB appworld browser plug-in and connect my smartphone. So, i did connect it. Then, this message kept on popping out. I don't know how to fix it.

    Okay. this is what I do.
    I go onto http://appworld.blackberry.com/webstore/ & sign in. I then connect my phone & enter the device password. As soon as I do that, this comes up -> App World Web Plugin Error
    An error has occurred communicating with the BlackBerry App World Client.
    I don't know what's the problem & I've been searching for a solution but to no avail.

Maybe you are looking for

  • PI 7.0  & PI 7.1

    Experts,    We got PI 7.0  and decided to go ahead with PI 7.1 ,As a  Intial step  we plan to  convert our Sandbox PI 7.0 to PI 7.1. I like to know what is the step for it ( to convert to PI 7.1 ) & What will happen to the existing interface in the S

  • What is actually in logic 9

    I recently bought logic pro 9 and i think when i tried it out in the apple store it had drums in the drum library which i don't seem to have. Particularly acoustic drums. The guy in the store said all the drums came with it. I wondered if there is a

  • Loading Screen

    I have a program class that connects to a database,it then carries out a SQL command,this can take up to 5 or 6 seconds sometimes which leaves the user wondering if an error has occured or not,although if an error does occur i deal with it i want som

  • After Effects CS6 interface very slow and causing weird things happening

    Hi all, Since upgrading from AE CS3 to CS6, I noticed that the interface is much slower in CS6 than in CS3. Specifically, when working in the timeline window, like renaming layers, or even just clicking just a layer, it takes up to multiple seconds b

  • Error 1406 and 1402

    I get these errors when I try to install I-tunes. Error 1406. Could not write value to key \software\classes.cdda.\openwithlist\itunes.exe verify that you have sufficient access to that key, or contact your support personnel. Error 1402. Could not op