K
K
Kitoved2018-03-16 07:29:19
Android
Kitoved, 2018-03-16 07:29:19

How to find out what kind of error and in what place this error appears and how to fix it?

I myself cannot provoke this error on my devices, I don’t know where it comes from, but reports come in the playconsole, I copied everything that was in the report.
I use the sqlite database and the DBHelper class, I call different query and rawQuery queries to it, I also use the update method (for cells). The base seems to be closed everywhere after each request.

java.lang.RuntimeException: 
  at android.app.ActivityThread.performResumeActivity (ActivityThread.java:3478)
  at android.app.ActivityThread.handleResumeActivity (ActivityThread.java:3518)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1566)
  at android.os.Handler.dispatchMessage (Handler.java:102)
  at android.os.Looper.loop (Looper.java:163)
  at android.app.ActivityThread.main (ActivityThread.java:6205)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:904)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:794)
Caused by: java.lang.IllegalStateException: 
  at android.app.Activity.performRestart (Activity.java:6946)
  at android.app.Activity.performResume (Activity.java:6969)
  at android.app.ActivityThread.performResumeActivity (ActivityThread.java:3455)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Zagaevsky, 2018-03-16
@zagayevskiy

The stacktrace is cut off. For this piece - no way to understand. In the full stacktrace, your files will appear with the lines in which the exception was thrown.

R
Ruslan., 2018-03-16
@LaRN

Perhaps this post will help:
https://ru.stackoverflow.com/questions/508612/%D0%...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question