"admob-plus-cordova" addBannerViewWithLinearLayout sometimes throw java.lang.StackOverflowError
See original GitHub issueAfter updated the plugin, i have a lot of erros
I using latest version “admob-plus-cordova”: “^1.9.0”,
Fatal Exception: java.lang.StackOverflowError: stack size 8192KB
at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:8837)
at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:8839)
at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:8839)
at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:8839)
at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:8839)
at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:8839)
at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:8839)
at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:8839)
at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:8839)
at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:8839)
at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:8839)
at android.view.View.resetRtlProperties(View.java:21511)
at android.view.ViewGroup.addViewInner(ViewGroup.java:6116)
at android.view.ViewGroup.addView(ViewGroup.java:5884)
at android.view.ViewGroup.addView(ViewGroup.java:5824)
at android.view.ViewGroup.addView(ViewGroup.java:5796)
at admob.plugin.ads.Banner.addBannerViewWithLinearLayout(Banner.java:301)
at admob.plugin.ads.Banner.addBannerView(Banner.java:271)
at admob.plugin.ads.Banner.reloadBannerView(Banner.java:212)
at admob.plugin.ads.Banner.onConfigurationChanged(Banner.java:197)
at admob.plugin.AdMob.onConfigurationChanged(AdMob.java:204)
at org.apache.cordova.PluginManager.onConfigurationChanged(PluginManager.java:509)
at org.apache.cordova.CordovaActivity.onConfigurationChanged(CordovaActivity.java:495)
at android.app.ActivityThread.performActivityConfigurationChanged(ActivityThread.java:6248)
at android.app.ActivityThread.performConfigurationChangedForActivity(ActivityThread.java:6074)
at android.app.ActivityThread.performConfigurationChangedForActivity(ActivityThread.java:6052)
at android.app.ActivityThread.handleActivityConfigurationChanged(ActivityThread.java:6662)
at android.app.servertransaction.ActivityConfigurationChangeItem.execute(ActivityConfigurationChangeItem.java:51)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2307)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:246)
at android.app.ActivityThread.main(ActivityThread.java:8506)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
How to Fix java.lang.StackOverflowError in Java - Rollbar
The java. lang. StackOverflowError indicates that the application stack is exhausted and is usually caused by deep or infinite recursion.
Read more >What causes a java.lang.StackOverflowError - Stack Overflow
StackOverflowError is thrown to indicate that the application's stack was exhausted, due to deep recursion i.e your program/script recurses too ...
Read more >The StackOverflowError in Java - Baeldung
In this situation, the constructors of each other are getting called repetitively which causes this error to be thrown. This can also be ......
Read more >Jira applications stall due to StackOverflowError exception
Problem. Jira applications can stall when a java.lang.StackOverflowError exception occurs due to corruption of internal memory structures.
Read more >How to deal with StackOverflowError in Java? - LinkedIn
StackOverflowError is thrown by the Java Virtual Machine (JVM). When a StackOverflowError occurs java.lang.StackOverflowError, it is mainly ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@victorvhpg Would you check if
1.9.1
fixes the issue?@ratson thanks