Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Android SDK Crash

Avatar

Level 1

I am seeing the following crash log in App Dynamics. I have not been able to reproduce locally but there are a lot of crashes of that type in prod.

 

Has anyone seen this error before? We can't even wrap it in a try/catch because the sdk itself is starting that call 

 

 

com.adobe.marketing.mobile.AssuranceFullScreenTakeover$1.run()(AssuranceFullScreenTakeover.java:57)

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi @yoeln ,

Thank you for providing the ANR trace. This seems like an issue inside WebView (or Chromium related classes) while loading a web view. Can you please open a ticket with our customer support team with this ANR trace and other variations of the stack trace related to this ANR (if any).

5 Replies

Avatar

Employee

Hi @yoeln,

We are sorry that you are experiencing these crashes. We would like to get a few more information before we can right solution for you.

 

1. Can u provide us with more insights on the crash? Does this crash pertain to a specific Android version or from a specific device manufacturer?

2. Can u share us the version of the Assurance SDK that is being used in your application?

 

Thanks,

Pravin

Computer Scientist

Adobe

Avatar

Level 1

Hi @pkpravin I tried asking the questions twice before with the stacktrace and it kept marking it as spam, so I decided to just add one line 🙂 below is the full stacktrace. The distribution of crashes are not specific to a device or OS version as you can see below as well.

 

The specific version of the Assurance SDK is com.adobe.marketing.mobile:assurance:1.0.4

 

Exception:     AppNotResponding
Ex. Message:   Application not responsive since: Wed Sep 21 10:17:05 GMT+02:00 2022
Thread:        Thread[main,5,main]
Memory Usage:  12 / 3673 MB (0%)

NOTE:
=====
  We didn't find a mapping file that exactly matches your application with build id '391c7d0c-cc76-4852-9778-e267e4894d5e'.
 Deobfuscation was done using a mapping file that was built with an older version of appdynamics plugin.

De-obfuscated stack trace:
===========================
AppNotResponding : Application not responsive since: Wed Sep 21 10:17:05 GMT+02:00 2022
        at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:130)
        at android.app.ApplicationLoaders.getClassLoaderWithSharedLibraries(ApplicationLoaders.java:93)
        at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:999)
        at android.app.LoadedApk.getClassLoader(LoadedApk.java:1129)
        at android.app.ContextImpl.getClassLoader(ContextImpl.java:403)
        at android.webkit.WebViewFactory.getProviderClass(WebViewFactory.java:414)
        at android.webkit.WebViewFactory.getProvider(WebViewFactory.java:252)
        at android.webkit.WebView.getFactory(WebView.java:2591)
        at android.webkit.WebView.ensureProviderCreated(WebView.java:2585)
        at android.webkit.WebView.setOverScrollMode(WebView.java:2696)
        at android.view.View.<init>(View.java:5217)
        at android.view.View.<init>(View.java:5358)
        at android.view.ViewGroup.<init>(ViewGroup.java:709)
        at android.widget.AbsoluteLayout.<init>(AbsoluteLayout.java:57)
        at android.webkit.WebView.<init>(WebView.java:426)
        at android.webkit.WebView.<init>(WebView.java:367)
        at android.webkit.WebView.<init>(WebView.java:350)
        at android.webkit.WebView.<init>(WebView.java:337)
        at android.webkit.WebView.<init>(WebView.java:327)
        at com.adobe.marketing.mobile.AssuranceFullScreenTakeover$1.run()(AssuranceFullScreenTakeover.java:57)
        at android.os.Handler.handleCallback(Handler.java:900)
        at android.os.Handler.dispatchMessage(Handler.java:103)
        at android.os.Looper.loop(Looper.java:219)
        at android.app.ActivityThread.main(ActivityThread.java:8668)
        at java.lang.reflect.Method.invoke(Method.java)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1109)


Original stack trace:
======================
AppNotResponding : Application not responsive since: Wed Sep 21 10:17:05 GMT+02:00 2022
        at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:130)
        at android.app.ApplicationLoaders.getClassLoaderWithSharedLibraries(ApplicationLoaders.java:93)
        at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:999)
        at android.app.LoadedApk.getClassLoader(LoadedApk.java:1129)
        at android.app.ContextImpl.getClassLoader(ContextImpl.java:403)
        at android.webkit.WebViewFactory.getProviderClass(WebViewFactory.java:414)
        at android.webkit.WebViewFactory.getProvider(WebViewFactory.java:252)
        at android.webkit.WebView.getFactory(WebView.java:2591)
        at android.webkit.WebView.ensureProviderCreated(WebView.java:2585)
        at android.webkit.WebView.setOverScrollMode(WebView.java:2696)
        at android.view.View.<init>(View.java:5217)
        at android.view.View.<init>(View.java:5358)
        at android.view.ViewGroup.<init>(ViewGroup.java:709)
        at android.widget.AbsoluteLayout.<init>(AbsoluteLayout.java:57)
        at android.webkit.WebView.<init>(WebView.java:426)
        at android.webkit.WebView.<init>(WebView.java:367)
        at android.webkit.WebView.<init>(WebView.java:350)
        at android.webkit.WebView.<init>(WebView.java:337)
        at android.webkit.WebView.<init>(WebView.java:327)
        at com.adobe.marketing.mobile.AssuranceFullScreenTakeover$1.run(AssuranceFullScreenTakeover.java:1)
        at android.os.Handler.handleCallback(Handler.java:900)
        at android.os.Handler.dispatchMessage(Handler.java:103)
        at android.os.Looper.loop(Looper.java:219)
        at android.app.ActivityThread.main(ActivityThread.java:8668)
        at java.lang.reflect.Method.invoke(Method.java)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1109)
 

Screen Shot 2022-09-27 at 6.37.45 PM.png

 

Avatar

Level 1

I don't know why every single time I post the stacktrace my comment/question gets deleted or marked as spam; that is inefficient. Below is the stacktrace image.

 

Screen Shot 2022-09-27 at 6.45.32 PM.png

 

The crash distribution is all over the place, so it's not for a specific device and/or combination; see below.

Screen Shot 2022-09-27 at 6.47.13 PM.png

 

Here is the SDK version we are using 

com.adobe.marketing.mobile:assurance:1.0.4

 

Avatar

Level 1
AppNotResponding : Application not responsive since: Wed Sep 21 10:17:05 GMT+02:00 2022
        at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:130)
        at android.app.ApplicationLoaders.getClassLoaderWithSharedLibraries(ApplicationLoaders.java:93)
        at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:999)
        at android.app.LoadedApk.getClassLoader(LoadedApk.java:1129)
        at android.app.ContextImpl.getClassLoader(ContextImpl.java:403)
        at android.webkit.WebViewFactory.getProviderClass(WebViewFactory.java:414)
        at android.webkit.WebViewFactory.getProvider(WebViewFactory.java:252)
        at android.webkit.WebView.getFactory(WebView.java:2591)
        at android.webkit.WebView.ensureProviderCreated(WebView.java:2585)
        at android.webkit.WebView.setOverScrollMode(WebView.java:2696)
        at android.view.View.<init>(View.java:5217)
        at android.view.View.<init>(View.java:5358)
        at android.view.ViewGroup.<init>(ViewGroup.java:709)
        at android.widget.AbsoluteLayout.<init>(AbsoluteLayout.java:57)
        at android.webkit.WebView.<init>(WebView.java:426)
        at android.webkit.WebView.<init>(WebView.java:367)
        at android.webkit.WebView.<init>(WebView.java:350)
        at android.webkit.WebView.<init>(WebView.java:337)
        at android.webkit.WebView.<init>(WebView.java:327)
        at com.adobe.marketing.mobile.AssuranceFullScreenTakeover$1.run()(AssuranceFullScreenTakeover.java:57)
        at android.os.Handler.handleCallback(Handler.java:900)
        at android.os.Handler.dispatchMessage(Handler.java:103)
        at android.os.Looper.loop(Looper.java:219)
        at android.app.ActivityThread.main(ActivityThread.java:8668)
        at java.lang.reflect.Method.invoke(Method.java)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1109)

Avatar

Correct answer by
Employee

Hi @yoeln ,

Thank you for providing the ANR trace. This seems like an issue inside WebView (or Chromium related classes) while loading a web view. Can you please open a ticket with our customer support team with this ANR trace and other variations of the stack trace related to this ANR (if any).