CISCO switches run java? or is this some management utility that runs on a PC?
Anyway, this is a very common error - it means you have referenced an object which does not exist. It usually indicates a bug in the code where you have run past the end of an array, or failed to create an object due to some edge case, or maybe there is a file which is supposed to exist but doesn't.
It's best practice to catch these exceptions and print an error message, so the fact that it has just been allowed to fail indicates something is happening that the programmer never intended to happen.
Did you check you have the latest version of the utility? are you sure it is installed correctly?