-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NullPointer in ServerRunnable #270
Comments
This is a timing issue, should be fixed in the SNAPSHOT, could you try that? |
assumed working, if not please reopen |
I'm using 2.3.0, still have this issue sometimes
|
I just ran into this issue and fixed it, so maybe this will help. The problem (for me) was Splunk Mint, whose documentation states the following: "Currently, there are known compatibility issues with network monitoring and certain external libraries such as OkHttp, resulting in crashes. Splunk is currently working on this issue, but until it is resolved, disable network monitoring entirely if you experience this issue" The full documentation is here: To fix the problem, I had to disable Splunk Mint network monitoring: |
I confirm that the above solution by @MrStanaland works ... Thanks @MrStanaland for sharing this... |
@MrStanaland can you please tell me where to add : I didn't get this. I will be really grateful if you help. |
I am on NanoHttpd v2.2.0.
It was working nicely for couple of weeks until recently I started getting this error suddenly.
java.lang.NullPointerException: Attempt to invoke virtual method 'void java.io.FileDescriptor.setInt$(int)' on a null object reference at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:93) at java.net.ServerSocket.implAccept(ServerSocket.java:216) at java.net.ServerSocket.accept(ServerSocket.java:140) at fi.iki.elonen.NanoHTTPD$ServerRunnable.run(NanoHTTPD.java:1570) at java.lang.Thread.run(Thread.java:818)
The text was updated successfully, but these errors were encountered: