Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[Bug] md51558244f76c53b6aeda52c8a337f2c37.BorderDrawable.isStateful BorderDrawable.java, line 34 Java.Interop.JavaLocationException: Exception of type 'Java.Interop.JavaLocationException' was thrown. #9375

Open
klausgreiner opened this issue Jan 30, 2020 · 2 comments
Labels
has-stacktrace Bugs without reproductions but that contain a stack trace. i/high Completely doesn't work, crashes, or is unusably slow, has no obvious workaround; occurs less often p/Android s/needs-info ❓ A question has been asked that requires an answer before work can continue on this issue. s/unverified New report that has yet to be verified t/bug 🐛
Projects

Comments

@klausgreiner
Copy link

we are encountering the below error in production environment, the crash is causing in Android Version 8.1 and 9.0. We could't be able to reproduce and trace the error, here is the error log from App Center

TypeManager.CreateProxy (System.Type type, System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer)
TypeManager.CreateInstance (System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer, System.Type targetType)
TypeManager.CreateInstance (System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer, System.Type targetType)
Object.GetObject (System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer, System.Type type)
Object._GetObject[T] (System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer)
Object.GetObject[T] (System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer)
Object.GetObject[T] (System.IntPtr jnienv, System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer)
Drawable.n_IsStateful (System.IntPtr jnienv, System.IntPtr native__this)
(wrapper dynamic-method) System.Object.66(intptr,intptr)
md51558244f76c53b6aeda52c8a337f2c37.BorderDrawable.n_isStateful(Native Method)
md51558244f76c53b6aeda52c8a337f2c37.BorderDrawable.isStateful BorderDrawable.java:34
android.graphics.drawable.LayerDrawable.onStateChange LayerDrawable.java:1493
android.graphics.drawable.RippleDrawable.onStateChange RippleDrawable.java:247
android.graphics.drawable.Drawable.setState Drawable.java:782
android.view.View.drawableStateChanged View.java:22845
android.widget.TextView.drawableStateChanged TextView.java:5857
android.support.v7.widget.AppCompatButton.drawableStateChanged AppCompatButton.java:154
android.view.View.refreshDrawableState View.java:22922
android.view.View.dispatchAttachedToWindow View.java:20042
android.view.ViewGroup.dispatchAttachedToWindow ViewGroup.java:3596
android.view.ViewGroup.dispatchAttachedToWindow ViewGroup.java:3596
android.view.ViewGroup.dispatchAttachedToWindow ViewGroup.java:3596
android.view.ViewGroup.dispatchAttachedToWindow ViewGroup.java:3596
android.view.ViewGroup.dispatchAttachedToWindow ViewGroup.java:3596
android.view.ViewGroup.addViewInner ViewGroup.java:5312
android.view.ViewGroup.addView ViewGroup.java:5090
android.view.ViewGroup.addView ViewGroup.java:5030
android.view.ViewGroup.addView ViewGroup.java:5003
md51558244f76c53b6aeda52c8a337f2c37.GenericMenuClickListener.n_onMenuItemClick(Native Method)
md51558244f76c53b6aeda52c8a337f2c37.GenericMenuClickListener.onMenuItemClick GenericMenuClickListener.java:30
android.support.v7.view.menu.MenuItemImpl.invoke MenuItemImpl.java:167
android.support.v7.view.menu.MenuBuilder.performItemAction MenuBuilder.java:973
android.support.v7.view.menu.MenuBuilder.performItemAction MenuBuilder.java:963
android.support.v7.widget.ActionMenuView.invokeItem ActionMenuView.java:624
android.support.v7.view.menu.ActionMenuItemView.onClick ActionMenuItemView.java:150
android.view.View.performClick View.java:7341
android.widget.TextView.performClick TextView.java:14162
android.view.View.performClickInternal View.java:7307
android.view.View.access$3200 View.java:846
android.view.View$PerformClick.run View.java:27796
android.os.Handler.handleCallback Handler.java:873
android.os.Handler.dispatchMessage Handler.java:99
android.os.Looper.loop Looper.java:214
android.app.ActivityThread.main ActivityThread.java:7156
java.lang.reflect.Method.invoke(Native Method)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run RuntimeInit.java:494
com.android.internal.os.ZygoteInit.main ZygoteInit.java:975

Affected Devices:
Galaxy Tab A (2018, 10.5) Android 9
Galaxy J6 Android 9
Galaxy Tab A (2016) with S Pen Android 8.1.0

ANY help is appreciated,

Regards

@klausgreiner klausgreiner added s/unverified New report that has yet to be verified t/bug 🐛 labels Jan 30, 2020
@pauldipietro pauldipietro added this to New in Triage Jan 30, 2020
@samhouts samhouts added has-stacktrace Bugs without reproductions but that contain a stack trace. i/high Completely doesn't work, crashes, or is unusably slow, has no obvious workaround; occurs less often p/Android labels Jan 30, 2020
@samhouts
Copy link
Member

@klausgreiner What version of Xamarin.Forms are you using?

@samhouts samhouts added the s/needs-info ❓ A question has been asked that requires an answer before work can continue on this issue. label Jan 30, 2020
@samhouts samhouts moved this from New to Needs Info in Triage Jan 30, 2020
@klausgreiner
Copy link
Author

<PackageReference Include="Prism.Core" Version="7.1.0.431" />
<PackageReference Include="Prism.Forms" Version="7.1.0.431" />
<PackageReference Include="Prism.Unity.Forms" Version="7.1.0.431" />
<PackageReference Include="System.Globalization.Extensions" Version="4.3.0" />
<PackageReference Include="Xamarin.Forms" Version="4.1.0.581479" />

@samhouts samhouts moved this from Needs Info to Resource Blocked in Triage Feb 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
has-stacktrace Bugs without reproductions but that contain a stack trace. i/high Completely doesn't work, crashes, or is unusably slow, has no obvious workaround; occurs less often p/Android s/needs-info ❓ A question has been asked that requires an answer before work can continue on this issue. s/unverified New report that has yet to be verified t/bug 🐛
Projects
Triage
  
Resource Blocked
Development

No branches or pull requests

2 participants