Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
NullPointerException can happen in HttpRequestMethodNotSupportedException.getSupportedHttpMethods() [SPR-15377] #19941
You can create an object without supportedMethod array.
However when getSupportedHttpMethods() is called there is no null-check for this.supportedMethods in it: