First step to troubleshoot simple errors

what's the best way to approch errors in Flex problem area?
As an exemple
Copy and paste my code in the mxml file,,, it's a basic form:
<?xml version="1.0"?>
<!-- containers\layouts\FormItemStyle.mxml -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:Style>      
        .myFormItemLabelStyle {
            color: #ffffff;
            fontSize: 10;
    </mx:Style>
    <mx:Script>
        <![CDATA[
            private function processValues(zip:String, pn:String):void {
                // Validate and process data.
        ]]>
    </mx:Script>
    <mx:Form id="myForm" defaultButton="{mySubmitButton}">
                <mx:FormItem label="Member"
            labelStyleName="myFormItemLabelStyle" color="#333333">
            <mx:TextInput id="fmember"/>
        </mx:FormItem>
                        <mx:FormItem label="Id Number"
            labelStyleName="myFormItemLabelStyle" color="#333333">
            <mx:TextInput id="fid"/>
        </mx:FormItem>
        <mx:FormItem>
            <mx:Button label="Submit" id="mySubmitButton"
                click="processValues(fmember.text, fid.text);"/>
        </mx:FormItem>
    </mx:Form>
</mx:Application>
So i thought i could just add new fields by copying and pasting FormItems but at the end ...
<?xml version="1.0"?>
<!-- containers\layouts\FormItemStyle.mxml -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:Style>      
        .myFormItemLabelStyle {
            color: #ffffff;
            fontSize: 10;
    </mx:Style>
    <mx:Script>
        <![CDATA[
            private function processValues(zip:String, pn:String):void {
                // Validate and process data.
        ]]>
    </mx:Script>
    <mx:Form id="myForm" defaultButton="{mySubmitButton}">
                <mx:FormItem label="Member"
            labelStyleName="myFormItemLabelStyle" color="#333333">
            <mx:TextInput id="fmember"/>
        </mx:FormItem>
                        <mx:FormItem label="Id Number"
            labelStyleName="myFormItemLabelStyle" color="#333333">
            <mx:TextInput id="fid"/>
        </mx:FormItem>
                        <mx:FormItem label="Company Name"
            labelStyleName="myFormItemLabelStyle" color="#333333">
            <mx:TextInput id="fcompany"/>
        </mx:FormItem>
                        <mx:FormItem label="Creation Date"
            labelStyleName="myFormItemLabelStyle" color="#333333">
            <mx:TextInput id="fsince"/>
        </mx:FormItem>
                        <mx:FormItem label="HeadQuarters"
            labelStyleName="myFormItemLabelStyle" color="#333333">
            <mx:TextInput id="fhq"/>
        </mx:FormItem>
                        <mx:FormItem label="Website"
            labelStyleName="myFormItemLabelStyle" color="#333333">
            <mx:TextInput id="fweb"/>
        </mx:FormItem>
                        <mx:FormItem label="Phone Number"
            labelStyleName="myFormItemLabelStyle" color="#333333">
            <mx:TextInput id="fphone"/>
        </mx:FormItem>
                        <mx:FormItem label="Address"
            labelStyleName="myFormItemLabelStyle" color="#333333">
            <mx:TextInput id="faddress"/>
        </mx:FormItem>
        <mx:FormItem label="Zip Code"
            labelStyleName="myFormItemLabelStyle" color="#333333">
            <mx:TextInput id="zipCode"/>
        </mx:FormItem>
        <mx:FormItem>
            <mx:Button label="Submit" id="mySubmitButton"
                click="processValues(fmember.text, fid.text);"/>
        </mx:FormItem>
    </mx:Form>
</mx:Application>
click="processValues(zipCode.text, fmember.text, fid.text, fcompany.text, fsince.text, fhq.text, fweb.text, fphone.text, faddress.text);"
So i created a error (i am sure it simple to fix)
1137:Icorrect number arguments. Expected no more than 2.
it doesn't have to be for this problem specifically...
what are the best approch to find the solutions?

Although i will start using your method(i assume that going from top to buttom is the way to apply your method)
your answer though apply more to errors that are not icluded in the error message as(in my example) i know what the error is or where it is in my code, i just don't know where to find the specific solution...
In my exemple, somewhere because i added field to the form my click event is still set to the original amount of 2 fields and now that i  added new field my click event can't figure it out..... so i need to find where or what tells the click event to assume there is only 2 field.
Found the error in the help but they just tell you the error # and name...that's the step i would like to figure out...
Thanks again

Similar Messages

  • During receipt validation; the first step ie, adding the files generated by asn1c tool causes errors.. especially with the

    During receipt validation; the first step ie, adding the files generated by asn1c tool causes errors.. especially with the #include statements
    --No such directory or file..
    Why this is happening??

    I am adding one more thing..
    Do we need to mention any linkage or frameworks or such while we are adding a .c file to
    Cocoa Mac OS Project

  • Can not get Itunes match to work. It stops on the first step and on my status bar it just says "sending information to apple" this goes on for hours. Help please.

    Help please. I cannt get itunes match to work. It just stops on the first step and the status bar continues to say "sending information to apple" for hours. Any ideas?

    I am having a similar issue with iTunes Match. It keeps hanging up on the same number of files (11035 of 15455) during STEP 2. I've tried signing out, re-opening iTunes, re-booting, etc. Still comesup stuck for hours. What I also don't understand is why the "iCloud Status" option in "View/View Options" disappears intermittently. It was there when I first booted up this morning and I reviewed all my music files to see if there were any "errors" and there werne't any. But after Match gets stuck on the same file niumber (11035) I 've signed out and re-booted and now the "iCloud Status" check box is missing from "View Options" (only the "iCloud Download" option remains present all the time. Please help. (I've also checked to make sure all the music files are within the suggested bit rate parameters and file type - This is also a brand new iMac out of the box). Running out of troubleshooting ideas and beginning to think this service just doesn't work well.

  • HT203167 My iTunes Match does not work, it stops after the first step and won't do anything else!!!

    Hello, I purchased iTunes Match for my new iPhone five and it is intended to move the music from my computer to my other computer, but it stopped working on my MacBook Pro, it stopped after the first step. So, my question is, can iTunes Match work if the iTunes in question has other accounts attached to it, of not, can I get a refund on a service that does not work?

    I am having a similar issue with iTunes Match. It keeps hanging up on the same number of files (11035 of 15455) during STEP 2. I've tried signing out, re-opening iTunes, re-booting, etc. Still comesup stuck for hours. What I also don't understand is why the "iCloud Status" option in "View/View Options" disappears intermittently. It was there when I first booted up this morning and I reviewed all my music files to see if there were any "errors" and there werne't any. But after Match gets stuck on the same file niumber (11035) I 've signed out and re-booted and now the "iCloud Status" check box is missing from "View Options" (only the "iCloud Download" option remains present all the time. Please help. (I've also checked to make sure all the music files are within the suggested bit rate parameters and file type - This is also a brand new iMac out of the box). Running out of troubleshooting ideas and beginning to think this service just doesn't work well.

  • Using iPod shuffle 4th generation for first time and receiving the error : one of the USB devices attached to this computer has malfunctioned, and windows does not recognize it. For assistance in solving this problem, click this message

    Using iPod shuffle 4th generation for first time and receiving the error : one of the USB devices attached to this computer has malfunctioned, and windows does not recognize it. For assistance in solving this problem, click this message.
    Using win 7 and latest iTunes [10.6.3]. Have already gone through below links and did not find any solution.
    http://support.apple.com/kb/HT2292
    http://support.apple.com/kb/TS1369
    http://support.apple.com/kb/HT1923
    http://en.kioskea.net/forum/affich-17997-ipod-not-detected

    I was hoping it would be something like a USB device conflict, but now the shuffle is the only thing connected...
    This article was one of the ones you linked to above in your initial post
    http://support.apple.com/kb/TS1369
    Under Part 9. Verify that USB drivers are installed, did you try the steps in If only "Unknown Device" appears?  That appears to be your situation.
    Also, you said that the shuffle initially worked well enough to do a sync, then it had the same problem again.  If you can get it to work again initially, before doing anything else, try the following.  Select the shuffle in the iTunes sidebar, under DEVICES.  Over to the right, go to the Summary tab.  By default, the checkbox for Enable disk use should be unchecked.  If so, check it and Apply the change.  See if that makes any difference. 
    (If Enable disk use was already checked, try unchecking it and Apply the change.  Basically, set it the "other way" and see if there is any improvement.)
    NOTE:  When disk use is enabled, you have to eject the iPod in iTunes before disconnecting it physically.
    If the disk use change makes a difference, that may provide a clue about the actual cause.

  • Using diskpart as the very first step in TS

    Hi, 
    I want to have a very first in TS as hard drive clean and partitioning it. so once WinPE is downloaded, system reboots, it will check 'IsLaptop' or 'IsDesktop' condition and if its Laptop, it should clean the disk 0 and parition it. I have tried to achieve
    this but i am getting an error. Its a MDT based TS in Configuration manager 2012 R2 (MDT 2013 is integrated). Laptops are encrypted and just need to be wiped and reload without databackup. I feel this is the easiest way to have dispart clean the disk, recreate
    partition based on condition if its laptop. 
    Steps i am doing is :
    1. diskpart. exe /s diskpart.txt - first step in TS, and has condition to run only if 'IsLaptop equals True'. I have created package for diskpart.txt ( i am wondering if this could be an issue, if it tries to download the package on hdd and hdd doesn't have
    partition yet)
    2. set imageosver to 6.1 - since its for windows 7
    3. Format and partition disk 6.1 - will format and create 2 partitions 'OS disk' and 'BDE'
    then other steps starts like Use toolkit package, gather and UDI wizard. 

    You could have the Format/Partition steps run only if the Chassis/Model type = that of a laptop or one of your laptop models.  If those parameters aren't met (e.g. PC is not one of the desktop models or doesn't have a the laptop ChassisTypes), the partition/format
    steps wont' run.
    I've ran into issues when trying to run commandline steps that require files to copy down first.  I have the best luck when the drive(s) are properly cleaned, repartitioned, and formatted first. 
     

  • First step of lsmw

    hi friends,
    in the first step of lsmw,
    i selected batch input recording, gave name ' ytrial01' and when i pressed overview,
    it says  please enter valid name
    so i went to tcode, shdb and then created a recording with name 'ytrial02' and saved it,
    came back and gave this name ' ytrial02' , it still says, please enter valid name.
    can some one help.

    Please follow below steps :
    1. When you select batch input recording ,here do not enter name first time.
      First click on overview -> Now click on create button -> you get pop up window ->
    give the recording name ,Description -> enter -> enter transaction code ->enter all required fields when you go for other transaction.
    Once you completed recording -> here you will see new screen -> please click on default all,click on save -> go back -> go back,now enter recording name
    You will not get any error message.
    Thanks
    Seshu

  • Execution interrupted msg in workflow first step

    Hi all,
    Am getting a Message (in the message text tab) in workflow log (detail section). The very first step of workflow is an activity to "instantiate employee" details. Its been used in mostly all workflows. It was working fine in development. But now in quality, everyone workflow is in "ready" state at first step and in the msg tab, am getting a msg stated : "Execution interrupted". Could anyone tell me what could be the reason for the same?
    Thanks in advance.

    Hi,
       I am slso getting the same error message " Execution Interrupted SWF 611 " while executing standard workflow .
    Kindly guide me to resolve this . What type of customizing should be maintained in SWU3 to overcome this error .
    Thanks and Regards,
    S.Sivakumar

  • Taking a long time to do first step?

    Usually Match has been pretty speedy, I have 10000 cuts of music, I chaged ny Genres from 250 to 20 with TuneUp but noeiTunes match seems stuk at the first step?  How long should I have to wait before I get concerned?
    I was tired of waiting. Turned natch off, then resumed..no difference. SO I turned Match off from iTunes Menue Bar. Now I just wait and wait. Gathering information seems Stuck.. The progress bar has been completed the Whole time I'm waiting..Is this normal? How long could Gathering information Take?
    Anyone?

    Like many users on the other similar threads, my machine stayed on step one for over 48 hours. At the suggestion from another user comment, I quit iTunes and restarted it.
    The "gathering information" progress bar seemed to start over from the beginning, but within an hour, it was underway "Matching your music with songs in the iTunes store".
    It has already checked 4,000 of 29,000 songs, but I have a 25mbps up/down FIOS connection.
    Would have been nice to know in the beginning....
    Another suggestion I took is creating smart folders for each of the following iCloud States: Duplicate, Error and Ineligible
    I have lots of errors and ineligibles..... :-(

  • Iphone 4 sync issue -  My iTunes is not able to sync the iPhone 4. I'm using windows 7 32bit. At the first step it gets stuck refelcting backing up the phone then nothing happens for ages. I'm using the latest iTUnes version, does anyone have similar prob

      My iTunes is not able to sync the iPhone 4. I'm using windows 7 32bit. At the first step it gets stuck refelcting backing up the phone then nothing happens for ages. I'm using the latest iTUnes version, does anyone have similar prob??? There are no error codes which appear and the iTUNES just gets hanged, is there a solution?

    Remove the song in question from the sync list and see if the rectifies the problem.
    If it does, then iTunes believes the song no longer exists on your drive and that will need to be corrected.

  • Simple error... Unknown solution...?

    Alright well this is a simple error and when i got it i thought alright well that's simple enough to fix.
    But wow wth, it won't fix. Lol.
    This is the error:
    Exception in thread "main" java.lang.NoClassDefFoundError: server (wrong name: n
    et/stanyer/server)
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClass(Unknown Source)
            at java.security.SecureClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.access$000(Unknown Source)
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    Press any key to continue . . .At first, you think "wth, obviously you are directing it to the wrong class name..." but i'm not ;S
    This is the directory of the run file; C:\Documents and Settings\Administrator\Desktop\stanyer_new
    This is the location of the class file "server"; C:\Documents and Settings\Administrator\Desktop\stanyer_new\bin\net\stanyer\server.class
    And this is my run.bat file;
    @echo off
    title Stanyer's 503 (server)
    cd bin/net/stanyer/
    java -Xmx1024m server 43594
    pauseWhat on earth am i doing wrong? Thanks.
    Edited by: Ryan_Stanyer on Aug 9, 2008 1:25 PM

    Works..
    But errrrr;
    Exception in thread "main" java.lang.NoSuchMethodError: main
    Press any key to continue . . .However:
    * @author Stanyer
    * The main class of the server, contains the method main(String[] args)
    * which is the first method called and the entire server is started from
    * that method, so any important variables that need to be set can be set
    * from within that method.
    package net.stanyer;
    import net.stanyer.misc.*;
    import java.io.*;
    import java.net.*;
    import java.text.*;
    import java.util.*;
    public class server implements Runnable {
         protected misc _misc = new misc();
         protected ServerSocket main_socket;
         protected boolean server_active = true;
         protected int port;
         public server() {
         public void main(String[] args) {
              port = _misc.parse_int(args[0]);
         public void run() {
              try {
                   main_socket = new ServerSocket(port);
                   _misc.cmd_log("Server was opened on port: "+port+".");
              } catch(Exception _ex) {
                   server_active = false;
                   _misc.cmd_log("Server was unable to start: port may already be in use?");
    }There is a main method.. Lol?

  • I'm a newbie to Blackberry - What is the first step to correctly using the instrument ?

     I'm a newbie to Blackberry - What is the first step to correctly using the instrument ?
    I just acquired my first blackberry phone  model-9810. What are the different simple  steps or the procedure that I should follow  to correctly use this instrument, i.e., telephone features first, internet features later. Your assistance to a newbie is highly appreciated.     All the best!  
    Solved!
    Go to Solution.

    Yes.
    - If my response has helped you, please click "Options" beside my post and mark it as solved. Clicking the "thumbs up" icon near the bottom of my response would also be appreciated.

  • TS3694 So I have an iphone4g in recovery mode. followed all the steps to the T. Error pops up in itunes 1602. Prior it was powered off during erase all content and settings mode waiting to reboot

    So I have an iphone4g in recovery mode. Followed all the steps to the T. Error pops up in itunes 1602. Prior it was powered off during erase all content and settings mode while waiting to reboot. Now its back to the apple logo. Any ideas if powering it off during the erase all content damaged the software?

    You should really read the manual.
    "How do you restore from backup? "
    Restore.  When given the choice, choose to use backup.
    "And how can I check to see if the pics and videos are on my computer somewhere first??"
    They would only be where you put them.  What program did you use to import them?  Pics/vids taken with ipod are not part of the sync process at all.  You should be importing them just as you would with any digital camera.
    If you did not import them, then they are not on your computer.

  • Workflow stuck at the very first step

    Hi,
    The workflow is started and its stuck at the first step
    this is the very first workflow created in the client
    are there any standard background jobs that should be started for the workflow to proceed ?
    thank you

    hi,
    as venugopal suggested, check whether the event was triggered and then check whether the WF has actually started or not. you can check this using transaction SWEL or SWI1.
    if the event was triggered but WF hasnt started then you might not have activated the event linkage. this can be done in the "basic data" of the WF in the "start events" tab.
    Since you have mentioned that "The workflow is started and its stuck at the first step", probably the WF has started.
    can you specify the error message that you are getting?
    what is the fisrt step in your WF?
    give some details.

  • Bought PE 13, installation and registration OK. Want to access 'Help / first steps...(as well as the other options): always get message: no connection to the Internet. Which is obviously not true!!

    I can only repeat: I Bought PE 13, installation and registration OK. Want to access 'Help / first steps'...(as well as the other options): always get message: no connection to the Internet. Which is obviously not true!!
    hakune
    P.S. the way to get through to be able to post my problem is not very userfriendly.

    Pe won't contact net please see Sign in, activation, or connection errors | CC, CS6, CS5.5 - http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html for information on how to resolve the connection error between the computer and our activation servers.

Maybe you are looking for