Как узнать место сбоя в приложении

помогите разобраться.

Раньше когда смотрел трассировки стека, в ней указывалось обычно номер строки в классе (метод) которая запустила ошибку и конкретное место в методе.

А в последние время в Google console начали приходить вот такие отчеты об ошибки:

java.lang.RuntimeException: 

at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2740)

at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2801)

at android.app.ActivityThread.-wrap12 (ActivityThread.java)

at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1540)

at android.os.Handler.dispatchMessage (Handler.java:102)

at android.os.Looper.loop (Looper.java:163)

at android.app.ActivityThread.main (ActivityThread.java:6358)

at java.lang.reflect.Method.invoke (Native Method)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:909)

at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:799)

Caused by: java.lang.NullPointerException:

at st.hromlist.viktortsoi.SongActivity.onCreate (1)

at android.app.Activity.performCreate (Activity.java:6840)

at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1119)

at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2693)

android.content.res.Resources$NotFoundException: 

at android.content.res.Resources.getText (Resources.java:337)

at android.content.res.Resources.getString (Resources.java:435)

at com.android.org.chromium.content.browser.ContentViewCore.setContainerView (ContentViewCore.java:684)

at com.android.org.chromium.content.browser.ContentViewCore.initialize (ContentViewCore.java:608)

at com.android.org.chromium.android_webview.AwContents.createAndInitializeContentViewCore (AwContents.java:674)

at com.android.org.chromium.android_webview.AwContents.setNewAwContents (AwContents.java:823)

at com.android.org.chromium.android_webview.AwContents. (AwContents.java:662)

at com.android.org.chromium.android_webview.AwContents. (AwContents.java:597)

at com.android.webview.chromium.WebViewChromium.initForReal (WebViewChromium.java:319)

at com.android.webview.chromium.WebViewChromium.access$100 (WebViewChromium.java:104)

at com.android.webview.chromium.WebViewChromium$1.run (WebViewChromium.java:271)

at com.android.webview.chromium.WebViewChromium$WebViewChromiumRunQueue.drainQueue (WebViewChromium.java:131)

at com.android.webview.chromium.WebViewChromium$WebViewChromiumRunQueue$1.run (WebViewChromium.java:118)

at com.android.org.chromium.base.ThreadUtils.runOnUiThread (ThreadUtils.java:144)

at com.android.webview.chromium.WebViewChromium$WebViewChromiumRunQueue.addTask (WebViewChromium.java:115)

at com.android.webview.chromium.WebViewChromium.init (WebViewChromium.java:268)

at android.webkit.WebView. (WebView.java:591)

at android.webkit.WebView. (WebView.java:526)

at android.webkit.WebView. (WebView.java:509)

at android.webkit.WebView. (WebView.java:496)

at android.webkit.WebView. (WebView.java:486)

at com.google.ads.consent.ConsentForm. (13)

at st.hromlist.viktortsoi.MainActivity$a.a (7)

at com.google.ads.consent.ConsentInformation$ConsentInfoUpdateTask.onPostExecute (1)

at android.os.AsyncTask.finish (AsyncTask.java:636)

at android.os.AsyncTask.access$500 (AsyncTask.java:177)

at android.os.AsyncTask$InternalHandler.handleMessage (AsyncTask.java:653)

at android.os.Handler.dispatchMessage (Handler.java:111)

at android.os.Looper.loop (Looper.java:194)

at android.app.ActivityThread.main (ActivityThread.java:5631)

at java.lang.reflect.Method.invoke (Native Method)

at java.lang.reflect.Method.invoke (Method.java:372)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:959)

at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:754)

Как понять в каком месте приложения была вызвана ошибка?


Ответы (0 шт):