Runtime error 1009 after conversion from Flex 3.6 to 4.5.1

I am trying to convert my SDK 3.6 application 4.5.1.  Process goes smoothly through many resources out there including Greg Lafrance http://www.adobe.com/devnet/flex/articles/migrating-flex-apps-part1.html series

Now, I get an error while the application is loading in the browser.  The error text is:

TypeError: Error #1009: cannot access a property or method of a null object reference.

hand / initApp ()...

The error occurs in the code AS where I'm looking to get the URL of the player using the mx.utils.URLUtil library.  In particular, I'll put a global variable in my application to the URL of the visitor.  The specific code for this is:

this.stServerName = URLUtil.getServerName (mainApp.url);

URLUtil is still in use in Flex 4.5.1?  If not, is there another way to get the name of the server on the host?

Thank you!

Lee

URLUtil still exists.  I would check that's null.

Tags: Flex

Similar Questions

  • Runtime error! After installing Photoshop Elements 10

    Yesterday, I installed Photoshop Elements 10 and first 10 elements. After installation, whenever I log on my user account in Windows 7, I get a Microsoft Visual C++ Runtime Library Runtime Error! It is said further program: C:\Program Files (x 86) \Adobe... This application has requested the execution to terminate in an unusual way. For more information, contact the application support team. In addition to logging on the windows account, the same error sometimes occurs when Photoshop elements Organizer, editor and Premier elements is started. My wife has a different account in windows and does not receive this error in any of the above cases. After clearing the error, I seem to be able to use the programs, but that happens from time to time.

    What can I do to fix the installation? I tried uninstalling and reinstalling but the problem remains. Any help with this would be appreciated. Thank you.

    Problem is solved. Replaced the C:\Users\(bad user) \AppData\Roaming\Adobe\dynamiclinkmanager with \AppData\Roaming\Adobe\dynamiclinkmanager C:\Users\ (gooduser).

    Thank you Kris in Support Adobe technique

    Ron

  • Failed installation of Bluetooth after conversion from 32 bit to 64 bit

    Recently, I converted my laptop ACER from 32-bit to 64-bit. Since then, I am unable to install bluetoothdrivers on my system and both 32 & 64-bit versions of the Installer failed, both the performance of the installation with "your system is not compatible for this product.  Kindly let me know if any solution for this.

    The product details are as under:

    OS Windows 7 Ultimate (32 bit to 64 bit conversion).

    ASPIRE E1 - 531

    6 GB OF RAM

    320 GB HD

    You cannot convert a version of bit of victory, it requires a clean installation of the specific bits version of victory.

    All system drivers would be obtained from Acer support.

    If you get a "msg is not compatible" when you install the correct version driver of ILO, either you are using the wrong driver got on the wrong site or there is a problem with your installation of win.

    I just clean installed win7 64-bit on the same laptop model, and got drivers from Acer support, everything went without a hitch - other hours of updates to windows that followed.

    (Remember there are 3 or 4 different Bluetooth drivers on Acer support)

  • problem with the files of exported data after conversion from 10.1 to 10.3 OPA OPA

    Hello

    If all goes well a relatively simple question

    We have recently acquired access to the OPA 10.3

    We have previously developed a 10.1 modules which we imported 10.3 using the upgrade features. This one is designed to be an interface from machine to machine and as such is entirely dependent on the Fed data to make decisions, there is no question screens or interviews.

    Then, we have tried to import some ".xds" files we had created to 10.1. There are more than 160 of them, including in general more than 120 items of data in each with multiple entities and bodies.

    When we import in 10.3 you get an error message which reads:


    + "System.NullReferenceException: object reference not set to an instance of an object." +

    + Oracle.Determinations.Remote2.Util.LegacySessionDataXDSImporter.ReadEntity (XMLStreamReader reader) +.

    + Oracle.Determinations.Remote2.Util.LegacySessionDataXDSImporter.ReadSessionData (XMLStreamReader reader) +.

    + Oracle.Determinations.Remote2.Util.SessionDataXDSUtils.ImportSession (SessionData sessionData, Rulebase rulebase File xmlFile) +.

    at Oracle.Modelling.Debugger.Core.UI.DebuggerRunView.btnImport_Click (Object sender, EventArgs e) + ' + '.

    the simple solution is for us to reintroduce the '.xds' files in the debugger, but given that it it took over 2 weeks for our team at the entrance of the '.xds' in the first place, we would obviously like to explore other options first!

    Any help or ideas would be greatly appreciated

    See you soon

    Dave

    Hi Dave,.

    I have this working on the copy of the modules I've had, it's because your entity / relationship public names do not match the .xds, probably because of the upgrade file. I sent you an email on this subject.

  • code conversion from Flex to Flash Builder 4

    I have a code that has been created in a primitive version of Flex that I am trying to bring in Flash Builder 4.  The project will not build.  There seems to be a problem with some the MXML.

    I am well known in ActionScript 3.0, well that is just beginning to work with Flex and Flash Builder framework, so the MXML is still not clear to me.

    Flash shows Builder an error on this line:

    "< local: GeocentricView id ="geocentricView"orb ="GCOrbSlider. {} " value }"/>

    ... error stating: "'local' prefix for the element" local: GeocentricView "is not related."

    The full code file is located here (I'm fairly certain that the problem is not with the code ActionScript, why have not included):

    <? XML version = "1.0" encoding = "utf-8"? >

    < s:WindowedApplication ' xmlns:fx = ' http://ns.Adobe.com/MXML/2009 "

    " xmlns:s = 'library://ns.adobe.com/flex/spark"" "

    " xmlns:mx = 'library://ns.adobe.com/flex/mx"" "

    " xmlns:components ="components.*"xmlns:custom ="custom.*">

              < fx:Script >

                   <! [CDATA]

                   

    / / a bunch of ActionScript 3.0...


                   ]]>

              < / fx:Script >

              

    < fx:Declarations >

    <!-< mx:Style source = "AION.css" / >-->

              

    " < mx:ApplicationControlBar width ="100%""">

    "" < mx:Label text = "AION" color ="0xFFFFFF" fontWeight = "bold" fontSize ="20"/ >

    < / mx:ApplicationControlBar >

              

              < mx:Spacer height = "5""/ >

              

    "" " < mx:VDividedBox width ="100%"height ="100%"liveDragging ="true"dividerPress ='realPause=" dividerRelease = "falsebreak=">

    "" " < mx:HDividedBox id ="hd"width ="100%"height ="100%"liveDragging ="true"dividerPress = 'realPause=" dividerRelease ="falsebreak=">

    "" " < custom: AIONPanel id ="geocentricPanel"title ="view geocentric"width ="100%"height ="100%"reset ="resetPanelSizes()"maximize ='timelinePanel.height = 0; heliocentricPanel.width = 0"""> "

    " < local: GeocentricView id ="geocentricView"orb ="GCOrbSlider. {} " value }"/>

    "" "" < mx:HSlider id = "GCOrbSlider" value ="2" minimum = "0" "maximum ="10"low ="10"left ="10"liveDragging ="true"showDataTip ="fake"" visible = "fake"/ >

                        < / custom: AIONPanel >

    "" " < mx:VBox minWidth ="175"maxWidth ="175"height ="100%"horizontalAlign ="center"horizontalCenter ="true">

    "" < mx:Tile id = "checkBoxesTile" height ="100%" width = "100%">

                             < / mx:Tile >

                             

    <!-< mx:Label id = "dateLabel" width = "100%" color = "0xFFFFFF" fontSize = "13" horizontalCenter = "true" textAlign = "center" / >

    < = mx:DateField id = "dateField" change "date = dateField.selectedDate" width = "0" visible = "false" includeInLayout = "false" / >-> "

    " < mx:HSlider id ="speedSlider"change ="speed=speedSlider. " value"liveDragging ="true"/ >

                             < mx:Spacer height = "7""/ >

                        < / mx:VBox >

    "" " < custom: AIONPanel id ="heliocentricPanel"title ="view heliocentric"width ="100%"height ="100%"reset ="resetPanelSizes()"maximize ='timelinePanel.height = 0; geocentricPanel.width = 0"""> "

    " < local: HeliocentricView id ="heliocentricView"zoom ="HCZoomSlider. {} " value }"/>

    "" "" < mx:HSlider id = "HCZoomSlider" value ="1" minimum = "0.6" "maximum ="25"low ="10"right ="10"liveDragging ="true"showDataTip ="fake"/ > "

                        < / custom: AIONPanel >

    < / mx:HDividedBox >

    "" " < custom: AIONPanel id ="timelinePanel"title ="timeline"maximize = 'hd.height = 0" width ="100%" height = "100%" reset ="resetPanelSizes()"""/ > "

    < / mx:VDividedBox >

              < mx:Image source = "{fpsTimer}""/ >

    < / fx:Declarations >

    < / s:WindowedApplication >

    The contents of the GeocentricView.mxml file is here:

    <? XML version = "1.0" encoding = "utf-8"? >

    "" " < mx:UIComponent xmlns:mx ="http://www.adobe.com/2006/mxml"creationComplete ="init()"width ="100%"height ="100%"resize = 'onResize()"> .

    < mx:Script >

              <! [CDATA]

                   

    / / a bunch of ActionScript 3.0...


              ]]>

    < / mx:Script >

    < / mx:UIComponent >

    Glimpses of what the problem and the solution is?

    You must add the local namespace in your MXML. Do the same with components

    xmlns:components = "components. " "--> xmlns:local ="com.yourpathtotheview."

    C

  • Assistant device communicating with pressure gauge, but still get error 1073807246 after conversion of Win7

    I have a simple .vi I used last year to connect with a manometer. There is no pressure journal and intrigue over time. Our computers just got converted to Windows 7, and now I can't get the .vi to work. I can go in the wizard of the Instrument and send a command to the gauge and the gauge will react appropriately. But, when I run the program, didn't get any pressure on my face or in my log file information.

    I searched the error code and tried several things including http://www.ni.com/support/labview/visa/verr3.htm. I'm guessing it's a simple solution, I don't know what it is. Help a newbie!

    Are you absolutely sure that you have closed all other programs that may access the port? Having MAX open with a panel of test VISA or an older version of LabVIEW would cause the error.

  • VCAC Orchestrator - runtime error 'add the IaaS from vCAC host host '.

    I try to run the "add host a host vCAC IaaS" and the following error below. I tried all the users of [email protected] for the service account Admin that I used to install IaaS. Someone at - it captures the good 'authentication user name"screen, complete a qualified URL for the"URL of the host"and the"domain for NTLM authentication?

    Exception:

    vcacerror.jpg

    to shoot bad security issue we take; We checked the IaaS box security event logs and saw requests for authentication has failed. We were able to determine that the domain entry that we use "ad.ufl.edu" did not work. We ended up having to use one of the of the 'UFAD' domain alias instead. The ID on the security control logs on the box of IaaS and see if you can find the auth error failed in there to see if that gives you any useful information. I think that we have also checked model Web logs Manager \Server\Model Manager Web\Logs in the box of IaaS, but they did not really help in our case.

  • Local calling XML gives Error #1009: cannot access a null object

    Kind of perplexed as to what is happening...

    Calling a function "loadDownloads" which prepares to load a local file "downloads.xml" (located in the CBC even as the application mxml file); This XML file is very simple, containing a root 'downloads' with several 'download' elements it contains (each is a brief description and the url)

    I put my compiler settings for - use-network = 'false' to be able to load local XML file, and I use a HTTPService.send () to raise the load.  My HTTPService is defined as follows:

    <mx: HTTPService id="httpService" resultFormat="e4x" 
     fault="httpService_fault(event)" result="httpService_result(event)" />
    

    I put the default event handler until, in case of default, an alert indicates the error information; the result handler simply does the following:

    private function httpService_result(evt:ResultEvent):void {
         xmlContent = XML(evt.result);}
    

    Yes, all variables have been previously declared and typed.  This throws any errors (he did at the beginning, when I was incorrect for the URL file names and when I had the malformed XML instructions, so I know that Manager error works) to access the XML file

    However, when I try to access the nodes or elements in the XML document, I get this runtime Error #1009: cannot access method or property object, null, and of course, xmlContent shows as null.  Here's how I'm trying to access:

    for each (xmlDownload in xmlContent.downloads) {
         // do stuff here like...
         linkLabel.text = [email protected]();
    }
    

    All all all ideas why HTTPService is to see the XML file and says it's OK, but does not seem to extract the XML file in the xmlContent:XML object?

    Three service objects would be better.

    Also remember that you can not call a fair request after the other because you can have only active requires both.

    You must call each new request out of the resultHandler of demand of ends.

  • In Dreamweaver CS4 runtime error

    When you try to start working with Dreamweaver CS4 I get a runtime error

    error.jpg

    After building a site of the div and css and registering I had no problem. After closing the computer and start working the next morning, I got the error. I restarted my computer, clean my registry but still get the error.

    Someone did he do no what to do? Help, please.

    It is impossible to work without Dreamweaver.

    John

    This is the folder of personal Configuration inside the Application data. Thus, the hidden files are enabled.

    I'm pretty sure that Dreamweaver does not have a preference on Windows file. Instead, the Configuration folder stores all of your preferences. I suggest to rename the Configuration folder. Frequently, which solves the problems with start-up and crashes.

  • My Flex components constantly throw error: #1009

    In a user interface, we've created, we use many elements drawn in flash and exported using the flash components.  Almost any time there is a user interaction this components, or if the application loses focus, it throws error 1009.  This problem is so prolific, that we can not find the cause.  Here are a few of the error stack traces:

    TypeError: Error #1009: cannot access a property or method of a null object reference.

    to::UIMovieClip/removeFocusEventListeners() [E:\dev\trunk\frameworks\projects\flash-integration\src\mx\flash\UIMovieClip.as:2466] mx.flash

    to mx.flash::UIMovieClip/focusOutHandler() [E:\dev\trunk\frameworks\projects\flash-integratio n\src\mx\flash\UIMovieClip.as:2509]

    to flash. display::Stage / set focus()

    to::UIComponent/setFocus() fl.core

    to::FocusManager/setFocus() fl.managers

    to::FocusManager/mouseDownHandler() fl.managers

    The above happened when I clicked on a flex component exported from flash this is a clip that contains only a text field.

    TypeError: Error #1009: cannot access a property or method of a null object reference.

    to::UIMovieClip/removeFocusEventListeners() [E:\dev\trunk\frameworks\projects\flash-integration\src\mx\flash\UIMovieClip.as:2466] mx.flash

    to mx.flash::UIMovieClip/focusOutHandler() [E:\dev\trunk\frameworks\projects\flash-integratio n\src\mx\flash\UIMovieClip.as:2509]

    to flash. display::Stage / set focus()

    to::UIComponent/setFocus() fl.core

    to::FocusManager/setFocus() fl.managers

    to::FocusManager/mouseDownHandler() fl.managers

    The above happened when I clicked on a flash component flex exported within a scroll within another component flash flex exported flash component.

    Maybe part of the problem try to mix the flash and flex frameworks too.  Any help would be appreciated.

    Dan

    This looks like a bug.  Workaround should be to change the focus to something else before removing a component from the stage.

  • Stops running after the recall of custom Manager runtime error

    I have written a custom runtime error handler based on the example of ErrorHandlerExample which comes with TestStand uses Teststand 2010 SP1. It has been implemented as a reminder of StationPostStepRuntimeError in my folder of reminders of the Station.  I modified the example as follows:

    (1) added code to disable the transmitter USE if it was on.

    (2) added a call to an executable that sends an email to the currently logged in user.

    (3) call the TestStand standard runtime error dialog box using the method DisplayRunTimeErrorDialog of engine.

    (4) the user's selection process, then turn on the transmitter USE for any another option and then have an abortion.

    The recall also checks the State of the break and "do not show this execution" options selected by the user.  If the user selects break so the only option I can find is to call the method of the Execution.Break () API which breaks execution there in my reminder. The user must then step go out the recall.   Is there a way to instruct TestStand to complete execution of callback and the break immediately after completing the callback (i.e.at the next step after the error)?  I have compressed upwards and attached my modified sequence.

    If not, is there a better way to do this?

    Kind regards

    David

    Had the chance to try it yet but maybe StepOut is your solution?

    The help of TS:

    StepOut method
    Syntax
    Execution.StepOut

    Goal
    Resumes the execution of a suspended state and then pauses again once the execution of the current sequence.

  • Problem with Quicken 2012 House and the company after installation, runtime error

    I have a problem with my Quicken home and business 2012. I upgraded from 2009 to 2012 and was able to use the new version for about 1 hour, but he hung a little.  Now when I tent to access my Quicken program, I get a runtime error "program: C:\Program Files\Quicken\qw.exe ' abnormal program termination. Quicken is then stopped immediately.  I am currently running Windows XP service pack 3.  Any suggestions?

    Hi RENEE HETTERLY,.

    I suggest that you uninstall and reinstall Quicken program on the computer, check to see if it helps.

    How to change or remove a program in Windows XP

    http://support.Microsoft.com/kb/307895

    If the previous step fails, then you will need to contact Quicken support for assistance.

    http://Quicken.Intuit.com/support/Windows.jsp

  • Why the system has a runtime error whenever I get a notification from Facebook and try to open it on my windows Live Mail Inbox

    Why my computer has a runtime error and I have to close the computer whenever I get an email from Facebook on my WindowsLive email inbox

    Whenever I try to open it it gives me the message "runtime error" and then I can't do anything except that close and restart.

    I hope you can help

    Hello

    The question you have posted will be well suited in Windows Live Solution Center. I suggest you to send your application in the Windows Live Solution Center for better support

    http://windowslivehelp.com/product.aspx?ProductID=15

  • Fix runtime error after trying to solve a problem of printer

    A program that was fine yesterday now displays the following error message:

    Runtime error!

    Program: C:\Sierra\CardZone\Planner.exe

    abnormal termination of the program

    This happened after Epson technical support was trying to solve a problem with the printer. UGH!

    You can replace the file execution somehow?

    Where is it on my PC (Vista)

    Is there a registry fix?

    IF I reinstall the software Cela will correct the error?  It must be a Windows file and not a software?

    Thank you.

    I'm so positive that she has nothing to do with my profile, because I have no problem with other software or programs.

    One last question. So, there is NO single file on my computer which can be replaced by a new version of a registry file that would take care of this?

    She seems to be just associated with a program that I think I'll quit smoking aid.

    Thanks for your time.

  • I get a runtime error pop up and then shortly after that my computer stops. It only happens when I watch movies, shows or sports on line.__How can only solve this problem.

    I get a runtime error pop up and then shortly after that my computer stops. It only happens when I watch movies, shows or sports online.
    How can I fix this.

    I get a runtime error pop up and then shortly after that my computer stops. It only happens when I watch movies, shows or sports online.
    How can I fix this.

    Hey vickiesguy

    Here is a link to your other thread on this problem

    http://social.answers.Microsoft.com/forums/en-us/vistaperformance/thread/658bb987-8680-4fcd-b07d-66ddbbd9cdc2

    Walter, the time zone traveller

Maybe you are looking for