| Sorry, I was in a bit of a rush when I posted that, and didn't notice the comments.
Anyways, according to the documentation the only reason the exec() would throw a NullPointerException would be that either the String array would be null, or one of the elements was null, but that doesn't seem to be the case. Could you post the stack trace you get? |