Skip to content
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

Closed
Kandr0s opened this issue Jun 26, 2018 · 6 comments
Closed

NullPointerException #118

Kandr0s opened this issue Jun 26, 2018 · 6 comments

Comments

@Kandr0s
Copy link

Kandr0s commented Jun 26, 2018

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)

@EminDemiri
Copy link

I have the same problem

@ajitdubey-mob-ibtech
Copy link

is there any update?
having same issue

@hyoungtaikkim
Copy link

having same issue.

Android Studio 3.1.4

phone's OS version : Android 8.0.0

target sdk version : 27

Thanks.

@Kandr0s
Copy link
Author

Kandr0s commented Jan 23, 2019

So thats it? Just closing?

@hyoungtaikkim
Copy link

hyoungtaikkim commented Jan 23, 2019

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.

@Kandr0s
Copy link
Author

Kandr0s commented Jan 24, 2019

This error has nothing to do with room...
just closing without any form of response is just sad.
At least catch the NullPointerException.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants