java.lang.NullPointerException
at fi.iki.elonen.router.RouterNanoHTTPD$UriRouter.process(RouterNanoHTTPD.java:596)
at fi.iki.elonen.router.RouterNanoHTTPD.serve(RouterNanoHTTPD.java:671)
at fi.iki.elonen.NanoHTTPD$HTTPSession.execute(NanoHTTPD.java:945)
at fi.iki.elonen.NanoHTTPD$ClientHandler.run(NanoHTTPD.java:192)
at java.base/java.lang.Thread.run(Thread.java:834)
But notifiee.stop() is correctly call, I get response in browser. Just the NPE is thrown.
Any help will be much appreciated.
This is probably just a simple question, but I can't find any solution? Here me simple code, using 2.3.1 :
When I call http://localhost:port/stop, I get this :
But notifiee.stop() is correctly call, I get response in browser. Just the NPE is thrown. Any help will be much appreciated.