Very strange... swf based on the server tries to access the code of local working copy, thrown a zero...

In here is a strange folder...

I have my Flex application.  I create the project and copy the swf got on my development server (192.168.100.110:511/devportal/) for testing... it works perfectly well.

However, some of my testers to see an error (including me) which is odd.  When I run the swf file on the server for a specific function, I get an error of the null exception.  What is interesting is that the stack trace indicates that the error occurred in my local working copy of the code:

TypeError: Error #1009: cannot access a property or method of a null object reference.
apps::AsrUtilization/togglePanel() [C:\Users\eloy91100636\Desktop\Portal\UserInterface\htd ocs\LABPortal\src\apps\AsrUtilization.mxml:722]
apps::AsrUtilization/__callPanel_click() [C:\Users\eloy91100636\Desktop\Portal\UserInterfa ce\htdocs\LABPortal\src\apps\AsrUtilization.mxml:933]

How does a SWF running on a separate machine explodes trying to reference a function in code to work on my pc?

And who, is that some people, run the SWF fine with no error and it works clean while others run into this error.  I cleaned and recompiled the project and it does not solve the problem.

Help!

Adrian

The stack trace indicates paths for the machine where it was compiled, so it's normal. Here's your testers running the versions of Flash Player? Ignore them the errors to the best of their ability.

Tags: Flex

Similar Questions

  • When I open Roxio it changes the screen resolution of 256 colors at a very low resolution b and the program will not work.

    My Roxio VHS TO DVD movie editing program has worked on my laptop Toshiba Windows 7 system before I reformatted.  Now when I open Roxio it changes the screen resolution of 256 colors at a very low resolution b and the program will not work.  When I close the program Roxio the resolution of the screen reverts back to 256 colors.  Control of program compatibility tells that it's incompatible, but the program worked on my system before I reformatted.

    Original title: programs Application Applications compatibility

    Hello

    You can install the program in compatibility mode and check if it helps.

    Make older programs in this version of Windows

    http://Windows.Microsoft.com/en-in/Windows7/make-older-programs-run-in-this-version-of-Windows

    Let us know the status.

  • period overlaps the code does not work in apex page

    Hello

    Employees have a schedule with a start date and end. Calendar periods cannot overlap for the same employee.

    I have a function that returns the error of validation of text as follows:

    declare
    number of l_dummy;

    Start
    Select count (*)
    in l_dummy

    of fus_medewerker_roosters
    where mdr_code =: p61_mdr_code
    and <>id: p61_id
    and to_date(:p61_begin_periode,'DD-MON-YY') < = eind_periode
    and to_date(:p61_eind_periode,'DD-MOn-YY') > = begin_periode
    +;+

    If l_dummy > 0
    then
    Back to 'this employee already has a calendar in this period.';
    on the other
    Returns a null value.
    end if;

    end;

    But the code does not work. It records data of an employee even though the periods overlap.

    But the code works correctly in workshop:

    declare
    number of l_dummy;

    Start
    Select count (*)
    in l_dummy

    of fus_medewerker_roosters
    where mdr_code =: p61_mdr_code
    and <>id: p61_id
    and to_date(:p61_begin_periode,'DD-MON-YY') < = eind_periode
    and to_date(:p61_eind_periode,'DD-MOn-YY') > = begin_periode
    +;+

    If l_dummy > 0
    then
    DBMS_OUTPUT. Put_line ("this employee already has a calendar at this time."); end if;

    end;

    What goes wrong. Why it works very well in the Studio, but not in my page?

    Kind regards
    Diana

    Edited by: dianap on Sep 4, 2009 08:31

    Hi Diana,

    It comes with the following:

    to_date(begin_periode,'DD-MON-YYYY')
    

    and

    to_date(eind_periode,'DD-MON-YYYY')
    

    Here are the dates of the table itself, should not be converted to dates.

    Secondly and more important still, the list of selection of P11_MDR_ID does not return NULL, it returns "null %" - it is a string that should be converted to null.

    I have made a few changes for postings of these - please take a look and check that everything is working ok.

    Andy

  • Understand a clock based on the code

    The goal:

    With the timeline has stopped, a timer of account to a specified number of seconds, then performs an action (play, gotoAndPlay, etc.).

    Here's the code cobbled together from tutorials and generosity of forum, but how to set this action to dry fire 30 or 60 sec?

    stop();
    var timer:Timer = new Timer(20, 100); // Sets delay to 100, repeatCount to 100
    timer.addEventListener(TimerEvent.TIMER, stopper);
    function stopper(event:TimerEvent):void {
        switch (timer.currentCount) {
            case timer.repeatCount:
                        timerText.text = "Done";
                timer.reset();
                break;
        }
    }
    
    function timerListener (e:TimerEvent):void {
               gotoAndPlay("2");
      // Code here will execute when triggered by a TimerEvent.TIMER event
    }
    timer.addEventListener(TimerEvent.TIMER, timerListener);
    
    
    //fire the timer
    timer.start();
    
    //setup reset button
    resetButton.addEventListener(MouseEvent.MOUSE_DOWN, resetBut); 
    //reset timer on call
    function resetBut(event:MouseEvent):void {
    timerText.text = "";
    timer.reset();
    timer.start();
    }
    
    
    

    Get the answer without doubt in the second line, but 20, 100 do correspond to? My rough test timer is running now for about 3 seconds before firing the event.

    FLA posted here: https://my.Syncplicity.com/share/kobzidmgnm/as3_timer-CT-simple

    Thanks for the tips...

    If you look to the top of the Timer class in the help documentation, you will find the answers you are looking for.  If you are not familiar with how to do this, a simple way is to select the word "timer" in the Actions panel code and right-click, and choose view help at the bottom of the menu that appears.  The Timer class document should open.

    In here, you will find that the 20 and 100 are delay and repeatCount property.

  • This option button who worked, the code no longer works?

    Hello

    I had a forum until a few months ago and got help to get option buttons to work with a button continue, causing Stop on a specific frame in the sequence. (All done it on the main timeline).

    Everything worked fine, now I keep trying it again, but regardless of which button I click, it only goes to the frame 2 where the Novice option button is supposed to go.

    I think the problem is in the line of code that reads:

    var frameNumber = 2 + Number (noviceButton.group.selectedData)

    I know he is set to only go to the area of novice, but my understanding is that since it was radio button, any click button would work, and only, I needed to type in one of the unique instance names.

    Here is the code:

    Stop();

    continueButton.enabled = false

    noviceButton.addEventListener (MouseEvent.CLICK, revealContinue);

    intermediateButton.addEventListener (MouseEvent.CLICK, revealContinue);

    expertButton.addEventListener (MouseEvent.CLICK, revealContinue);

    function revealContinue (evt) {}

    continueButton.enabled = true;

    }

    continueButton.addEventListener (MouseEvent.CLICK, clickContinue);
    function clickContinue (evt) {}
    var frameNumber = 2 + Number (noviceButton.group.selectedData)

    Stop (frameNumber);
    }

    Is there a better way to write this code so that you click any button on the radio, then press on continue, goes in and stops as appropriate frame?

    Thank you

    Babs

    Should I say turn off instead of hide... continueButton.enabled = false

    Based on the output window that appears, but nothing show, I have a moment difficult to conclude what could be bad, except that the radio buttons would need to have empty spaces assigned as their value parameters.  If they have no value I expect to see a null value appear in the output panel.

  • The University provided renewing his subscription student creative cloud, but the code does not work.

    I have been updated Creative Cloud, then update to Photoshop. When I open it it says that I started my 30 day free trial. I then went to my University for a new code site renew my account. The code provided for me did not work, I even updated my email on my account to my email to student, as site Web of the University said that it may be useful. I am still unable to renew my account. Thanks in advance!

    Hello

    Please see the following links:

    Serial numbers, purchase and product codes codes | Schoolgirl and her teacher editions

    Redemption code help

    If you still need help, mention code in a personal message, I will check and let you know if the redemption code is valid or not.

    Let us know if that helps.

    Kind regards

    Bani

  • Hello. I am creating a quiz slide / move, a simple using flash, actionscript 3. I found the free sample on the Internet and I tried to run the code. It works! BUT. Once I tried to edit in my own simple movieclip, images etc, the boxes couldn't be dragged

    Here, I am attaching my mistake

    error.JPG

    Here is the actual code (credit to the owner)

    package

    {

    import flash.display.Sprite;

    import flash.events.MouseEvent;

    SerializableAttribute public class Main extends Sprite

    {

    var xPos:int;

    var yPos:int;

    public void Main (): void

    {

    addListeners (den, ocean, jungle, River, forest);

    }

    private void getPosition(target:Object):void

    {

    Target.x = PosX;

    yPos = target.y;

    }

    private void dragObject(e:MouseEvent):void

    {

    getPosition (e.target);

    e.target.startDrag (true);

    }

    private void stopDragObject(e:MouseEvent):void

    {

    If (e.target.hitTestObject (getChildByName (e.target.name + "Target")))

    {

    e.Target.x = getChildByName(e.target.name_+_"Target").x;

    e.Target.y = getChildByName(e.target.name_+_"Target").y;

    }

    on the other

    {

    e.Target.x = xPos;

    e.Target.y = yPos;

    }

    e.target.stopDrag ();

    }

    private void addListeners(..._objects):void

    {

    for (var i: int = 0; i < objects.length; i ++)

    {

    objects [i] .addEventListener (MouseEvent.MOUSE_DOWN, dragObject);

    objects [i] .addEventListener (MouseEvent.MOUSE_UP, stopDragObject);

    }

    }

    }

    }

    So here is one that I tried to change

    package

    {

    import flash.display.Sprite;

    import flash.events.MouseEvent;

    SerializableAttribute public class Main extends Sprite

    {

    var xPos:int;

    var yPos:int;

    public void Main (): void

    {

    addListeners (CAT, bear, duck);

    }

    private void getPosition(target:Object):void

    {

    Target.x = PosX;

    yPos = target.y;

    }

    private void dragObject(e:MouseEvent):void

    {

    getPosition (e.target);

    e.target.startDrag (true);

    }

    private void stopDragObject(e:MouseEvent):void

    {

    If (e.target.hitTestObject (getChildByName (e.target.name + "Target")))

    {

    e.Target.x = getChildByName(e.target.name_+_"Target").x;

    e.Target.y = getChildByName(e.target.name_+_"Target").y;

    }

    on the other

    {

    e.Target.x = xPos;

    e.Target.y = yPos;

    }

    e.target.stopDrag ();

    }

    private void addListeners(..._objects):void

    {

    for (var i: int = 0; i < objects.length; i ++)

    {

    objects [i] .addEventListener (MouseEvent.MOUSE_DOWN, dragObject);

    objects [i] .addEventListener (MouseEvent.MOUSE_UP, stopDragObject);

    }

    }

    }

    }

    in frame 1, click the object that you think is the cat.  in the properties panel, is - this "cat"?

  • hitTest on an object array - use removeEvent and now the code does not work

    I used hitTest to see what sunny (mc) would hit one of five objects in a table.

    BUT I had to use removeEventListener otherwise she'd keep ancestral. But now I can't "beat" the next object. Why the addeventListener method does not work yet?

    stage.addEventListener (MouseEvent.CLICK, myClickReaction);
    speeds the LONG NYPOTENUSE
    var v: Number = 5;
    var varObject:String;
    var i: Number;
    var arrayObjects:Array;

    complete table and initialize the variables i and varObject
    arrayObjects is ['chocolate', 'ice', 'pizza', 'Burger', 'sandwich', 'egg'];.
    i = 1;
    varObject = arrayObjects [i-1];
    trace (varObject);


    mouse click point
    var clickPoint:Point = new focus();
    function myClickReaction(e:MouseEvent):void {}
    clickPoint.x = mouseX;
    clickPoint.y = mouseY;
    addEventListener (Event.ENTER_FRAME, onEnterFrame);
    }
    function onEnterFrame(event:Event):void {}
    var xDistance:Number = clickPoint.x - sunny.x;
    var yDistance:Number = clickPoint.y - sunny.y;
    var angle: Number = Math.atan2 (yDistance, xDistance);
    Sunny.x += v * Math.cos (angle);
    Sunny.y += v * Math.sin (angle);
    If (clickPoint.x > = sunny.x) {}
    sunny.gotoAndPlay ("walk straight");
    trace (Math.ABS (xDistance));
    }
    If (sunny.x > = clickPoint.x) {}
    sunny.gotoAndPlay ("left foot").
    trace (Math.ABS (xDistance));
    }
    If (Math.abs (xDistance) < = 10) {}
    trace ("Works");
    sunny.gotoAndPlay ("static");
    removeEventListener (Event.ENTER_FRAME, onEnterFrame);
    }
    }
    addEventListener (Event.ENTER_FRAME, enterFrameHandler);
    function enterFrameHandler(e:Event):void {}
    If (sunny.hitTestObject (hotspot_pizza)) {}
    If (sunny.hitTestObject (varObject)) {}
    If (sunny.hitTestObject (this [varObject])) {}
    i = i + 1; / / ie: he comes to the table object and NOT the string.
    trace (varObject);
    removeEventListener (Event.ENTER_FRAME, enterFrameHandler);
    }
    }

    because you stop your loop when the first object has a positive hittest.

    What do you do?

  • App problem based on the Web on the process

    Hi all

    AIX 6.1

    11.2.0.3

    We have a new application based on the web, put in work, by changing the old system.

    We have only 100 users who can simultaneously connected, and our process of db is set to 120.

    But we met often too can mistake Treaty which we met in the previous system.

    It seems that the process are left behind when the disconnection of users or disconnected from the new web-based application.,.

    Is it possible that I can to check which processes are orphaned? And how do I auto cleaning/kill them?

    Oracle 11g has proc stored to manage this questions?

    Thank you very much

    zxy

    You say you have a web-based application.  Which implies that it is a three-tier application?  If, therefore, normally, middle-tier servers maintain pools of connections.  If this is the case, you wouldn't think that a session is created each time a user connected to the application, or that a session ended whenever a user logged out of the application.  At best, the connections of killing the middle tier has opened in the connection pool would cause problems of application performance.  At worst, you cause the application being unusable.  You could certainly do things like create profiles that limit a user can have how many sessions, how long those sessions can be slowed down, etc.  But in doing so for a three-tier application would generally strongly discouraged.

    With regard to the question of if you can change PROCESSES affecting dynamically...

    Oracle documentation is available at

    http://Tahiti.Oracle.com

    Once you're there, choose the documentation for your version of Oracle

    Online Oracle Database Documentation 11g Release 2 (11.2)

    Go to the reference

    http://docs.Oracle.com/CD/E11882_01/server.112/e25513/TOC.htm

    Now, either search METHODS or access the initialization parameters section to find the parameter page

    http://docs.Oracle.com/CD/E11882_01/server.112/e25513/initparams200.htm#i1132608

    As with all other initialization settings, should be recorded the editable attribute.

    Justin

  • Where conditional Clause based on the length of the field

    Hello people,
    I tried to search for this scenario in OTN and not been able to find any success so I will post the question here.

    I have two tables - with the detail records and the other being a table of codes. I need to join these two tables based on the code and the length of the code. Let me explain using examples.

    Scripts for creating the table and inserts
    create table ILLNESS_CODES(illness_code varchar2(4), illness_description varchar2(100));
    create table PATIENT_TB(patient_id varchar2(4), primary_cause varchar2(4));
    
    insert into illness_codes values('B10', 'Flu');
    insert into illness_codes values('B30', 'Hepatitis');
    insert into illness_codes values('B301', 'Hepatitis A');
    insert into illness_codes values('B302', 'Hepatitis B');
    insert into illness_codes values('B303', 'Hepatitis C');
    
    insert into patient_tb values ('1001', 'B101');
    insert into patient_tb values ('1002', 'B102');
    insert into patient_tb values ('1003', 'B30');
    insert into patient_tb values ('1004', 'B301');
    insert into patient_tb values ('1005', 'B302');
    insert into patient_tb values ('1006', 'B302');
    insert into patient_tb values ('1007', 'B303');
    insert into patient_tb values ('1008', 'B30');
    As you can see that patients * 1001 * and * 1002 * have no codes in the Master table. In this case, I want only the first 3 characters of the ILLNESS_CODES table.
    However, for B30, it has a Code and the same for B301, B302 B303 where I would meet the description based on the exact code.

    Example of output
    Patient ID   Illness Description
    =====================================
    1001         Flu
    1002         Flu
    1003         Hepatitis
    1004         Hepatitis A
    1005         Hepatitis B
    1006         Hepatitis B
    1007         Hepatitis C
    1008         Hepatitis
    Thanks in advance!
    SELECT p.*,
           NVL ( (SELECT illness_description
                    FROM ILLNESS_CODES I
                   WHERE i.illness_code = p.primary_cause),
                (SELECT illness_description
                   FROM ILLNESS_CODES I
                  WHERE i.illness_code = SUBSTR (p.primary_cause, 1, 3)))
      FROM PATIENT_TB p;
    
  • Redirect to 3 different pages based on the value of the Auto complete field.

    Hi friends,

    I use a "Auto complete field" in a page for research (Apex version 4.0). But I need to get the values of the 3 tables and when you click on the redirection of the value to one of the 3 pages based on the value.

    For example, I have 3 tables. 1 customer 2 Sites 3.Employees. When I enter "c" in the search field, I need to get values of 3 tables in this area "AutoComplete". That is to say, if I have a customer with the name "cusotmer1", "customer2" and the location with the names of "cisc1", "cisc2" and employees with the name "cid1", "cid2"; When I enter "c" in the FQDN of the auto all 6 values must be given in the "AutoComplete" box and clicking on "customer1" / "customer2" need to redirect to the 'customer' page When you click on 'cisc1' / 'cisc2' redirect to 'site' when clicking on "cid1" / "cid2" redirect to the page of the employees. Is there a way to do this. Help, please.


    Kind regards
    NAV

    Net asset value,
    Here is a sample page that uses the code I proposed works fine for me with FF and IE (8.0).

    http://Apex.Oracle.com/pls/Apex/f?p=18:3

    Note: I've added a warning message before being submitted

    This page works by your side?

  • How to refresh a single chart based on the time of day

    This site advanced of Muse, HOME | Great American Car Wash, traffic light is programmed to change to red when the business is closed and green when it opens. The code I wrote back the following meta tag:

    < meta http-equiv = "refresh" content = "5" / >

    It refreshes the whole page every 5 seconds. Page Flash as it refreshes is not desirable. My best temporary solution is to change the frequency to 2 minutes. I fixed provisionally for 5 seconds for troubleshooting. It will have the value 30 seconds when it's time to publish the site.

    I used the command "INSERT HTML code" in Muse to add the code. It works as expected, with the exception of the blink of an annoying page to update the traffic lights. Business owner could easily tolerate a traffic light flashing when updating.

    Is there a way to only update the graphics only? Or is there a better way to "automatically update" status of light?

    Thank you.

    "Cincinnati."

    You can try the suggestions mentioned here:

    http://StackOverflow.com/questions/17886578/refresh-part-of-page-div

    http://crunchify.com/how-to-refresh-div-content-without-reloading-page-using-jQuery-and-AJ ax.

    Thank you

    Sanjit

  • FireFox automatically manages "this.print ()" regardless of the position in the code?

    FireFox seems to automatically print a PDF file if the line "this.print ()" appears anywhere in the code, even if it's in a function not called, and even if it is commented out. Example, if you create a document with only the following code:

    function UncalledFunction() {}

    /*

    If {(false)

    This.Print)

    }

    */

    }

    When you open it in FireFox, the print dialog box are displayed automatically, despite the fact that the function is not called anywhere, the code within the function is enclosed in a block, a false condition comment, and is also commented line.

    Is it possible to include the printing functionality in a script without having run automatically?

    It's very strange. What happens if you remove this line of code completely? I think that something else could be trigger feel.

    If this is not it, you could always do something like:

    var doc = this;

    sMethod var = "pr" + "int";

    If (typeof doc [sMethod] = 'function') {}

    doc [sMethod] ();

    }

    or something in that sense.

  • How can I check if a field is empty? The code that I think that a '0' is empty, what is wrong.

    The code I used is copied from this thread: https://forums.adobe.com/thread/1223607

    I created a button that lists each field if it's empty. However, a field will always pop up even if there is a character in it, i.e. '0 '.

    Help, please.

    I expected that you would change the code based on what I've shown. Then change a line to:

    If ((f.type == "text" && f.valueAsString === "") |) (f.type == "checkbox" && f.value === "Off")) emptyFields.push (f.name);

  • I am updating of content in an old site and uses an old extension to close a page of the child.  It worked fine until I started using CS6.  The code for this is in a model that I use and the code has not changed.

    So the site is www.fulcrumcwi.com and the URL of the page is: FulcrumCWI Rebecca Morgan operations strategy Consulting newsletters.

    If you choose the first HTML link for the news bulletin when you try to use the close buttons, none of them work.  Yet if you go down in the January issue and switch to the HTML version, it works very well.  This is the code that the extension highlights:

    < form >

    < input name = "Close" onclick = "self.close (); return false"type ="button"value ="Close"/ >

    < / make >

    I have not changed somehow.  The only change is I use Dreamweaver CS6 to make these changes.  Does anyone have a solution for me?

    As always, thanks in advance.  (and Yes, I know that this site needs a major update)

    GraphicEdge

    Looks like you're missing target = "_blank" in the link "HTML" to open in a new window that works properly...

Maybe you are looking for