I am trying to add security context for swagger to access oauth2 protected APIs but it throws the following exception: java.lang.NullPointerException: null at ...
at java.net.SocketInputStream.socketRead0(Native Method) ~[na:1.8.0_73] at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) ~[na:1.8.0_73] at java ...