forked from loafle/openapi-generator-original
* try to catch NullPointerException and print error message * handles invalid specifications when the spec file is invalid * added comment * added null pointer exception test
* try to catch NullPointerException and print error message * handles invalid specifications when the spec file is invalid * added comment * added null pointer exception test