Hi, I have got problem with my nullchecker and I dont know why. I am getting an error Unhandled exception on line 34 which looks like this Code: if(args[0].length() == 0 || args[1].length() == 0) { //something } 34 is the first one. I thought that error is in the || (OR) statement. But I dont know. *Before nullchecker is just Command name checker
i think you want to check if the argument length is 1 or 2 right? then you would use Code: args.length instead of your code. (yes, you don't need the brackets, because it's a variable)