Skip to main content
Participating Frequently
October 24, 2007
Question

Target not found

  • October 24, 2007
  • 2 replies
  • 267 views
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?
This topic has been closed for replies.

2 replies

Participating Frequently
October 26, 2007
//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;
}
Inspiring
October 25, 2007
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