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
NullPointerException #118
Comments
I have the same problem |
is there any update? |
having same issue. Android Studio 3.1.4 phone's OS version : Android 8.0.0 target sdk version : 27 Thanks. |
So thats it? Just closing? |
I could not make it either. Perhaps it might have something to do with some conflict with newer version of SQLite or whatever. I mean I have used newest ROOM and etc. So what I have done was just giving this up and use "Device File Explorer" in Android Studio and took out all the files in database directory which is in "/data/data/com.mycompany.myapp/database" by using "Save As". After saving those 3 files in local computer, I have used "DB Browser for SQLite" to look at the content of the database. Again be careful. There could be some version conflict issue again. So I needed to try it a couple of times and etc. Take care. |
This error has nothing to do with room... |
When starting my Application a huge error log is written:
Pastebin
After that my Application is crashing with a NullPointerException
E/ClientServer: Exception. java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.util.HashMap.get(java.lang.Object)' on a null object reference at com.amitshekhar.server.RequestHandler.openDatabase(RequestHandler.java:182) at com.amitshekhar.server.RequestHandler.getTableListResponse(RequestHandler.java:304) at com.amitshekhar.server.RequestHandler.handle(RequestHandler.java:113) at com.amitshekhar.server.ClientServer.run(ClientServer.java:76) at java.lang.Thread.run(Thread.java:762)
The text was updated successfully, but these errors were encountered: