2 Replies Latest reply on Oct 26, 2007 2:52 PM by thunder_storm

    Target not found

    thunder_storm
      Target not found: Target="null" Base="_level0"

      I am getting this error in my code, which is in a button, I had switch case statements which was not executing cases after case 40, ( i have no idea why) so i created a new switch statement with the same arguments and now although the case is working I get the above error,.. any guesses why?
        • 1. Re: Target not found
          scrfix Level 1
          You would have to post the code in order to have help. You have not provided enough information to give a decisive solution or opinion.

          Wayne
          • 2. Re: Target not found
            thunder_storm Level 1
            //this is the frame of the code.. the error i get here is : Target not found: Target="null" Base="_level0"
            //i think it is because i added 2 switch statements with the same condition one after the other
            //this i did beacuse for some strange reason i was unable to get results for cases after no.40
            //the target = "null" here i think is the "" case which is repeated twice in both the switches

            switch (condition1) {
            case "":
            break;
            case "1" :
            switch(condition2) {
            }
            break;
            case "2" :
            switch(condition2) {
            }
            break;
            case "3" :
            switch(condition2) {
            }
            break;
            .
            .
            .
            .
            case "40" : //By Puneet
            switch(condition2) {
            }
            break;
            default:
            break;
            } //end of first switch

            //start of the second switch having the same arguments as the first one
            switch (condition1) {
            case "":
            break;
            case "41" :
            switch(condition2) {
            }
            break;
            default:
            break;
            }