Is it possible that cmd.getCommandName() could ever return null? If so, avoid doing things like cmd.getComandName().getArgs(), without checking it for null first. That will avoid any NullPointerExceptions. If it can never be null, disregard my comments.
http://git.fedorahosted.org/git/?p=spacewalk.git;a=commitdiff;h=ae5414539b6e57f7e0724eabb582d0bec421e178 jesus _______________________________________________ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel