Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

[Xamarin Forms - Android] App Crashes when I try to select text from an Entry

$
0
0

On every page of my application (even a new Page) I have a strange behaviour, when I try to select text inside an entry the application crashes with no particular exception, here's the Output (Diagnostic)

    `02-03 19:05:37.997 D/OpenGLRenderer( 3340): TextureCache::get: create texture(0xb9656418): name, size, mSize = 13, 3328, 1658856
    02-03 19:05:38.001 D/OpenGLRenderer( 3340): TextureCache::get: create texture(0xb8286388): name, size, mSize = 14, 100, 1658956
    02-03 19:05:40.269 W/EGL_genymotion( 3340): eglSurfaceAttrib not implemented
    02-03 19:05:40.281 D/OpenGLRenderer( 3340): TextureCache::get: create texture(0xb97dd080): name, size, mSize = 33, 10904, 1669860
    02-03 19:05:40.301 D/dalvikvm( 3340): GC_CONCURRENT freed 70K, 13% free 8493K/9735K, paused 10ms+0ms, total 13ms
    An unhandled exception occured.

    An exception occured.

    02-03 19:05:42.821 D/Mono    ( 3340): DllImport attempting to load: '/system/lib/liblog.so'.
    02-03 19:05:42.821 D/Mono    ( 3340): DllImport loaded library '/system/lib/liblog.so'.
    02-03 19:05:42.821 D/Mono    ( 3340): DllImport searching in: '/system/lib/liblog.so' ('/system/lib/liblog.so').
    02-03 19:05:42.821 D/Mono    ( 3340): Searching for '__android_log_print'.
    02-03 19:05:42.821 D/Mono    ( 3340): Probing '__android_log_print'.
    02-03 19:05:42.821 D/Mono    ( 3340): Found as '__android_log_print'.
    02-03 19:05:42.825 I/MonoDroid( 3340):  at android.view.LayoutInflater.onCreateView(LayoutInflater.java:6602-03 19:05:42.821 I/MonoDroid(                                       3340): UNHANDLED EXCEPTION:
    02-03 19:05:42.825 I/MonoDroid( 3340): Android.Views.InflateException: Exception of type 'Android.Views.InflateException' was thrown.
    02-03 19:05:42.825 I/MonoDroid( 3340): at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <IL 0x00011, 0x00047>
    02-03 19:05:42.825 I/MonoDroid( 3340): at Android.Runtime.JNIEnv.CallNonvirtualBooleanMethod (intptr,intptr,intptr,Android.Runtime.JValue[])        [0x00085] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.21-      series/49a04b96/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:585
    02-03 19:05:42.825 I/MonoDroid( 3340): at Android.Views.View.DispatchTouchEvent (Android.Views.MotionEvent) [0x00071] in        /Users/builder/data/lanes/monodroid-mlion-monodroid-4.21-series/49a04b96/source/monodroid/src/Mono.Android/platforms/android-       19/src/generated/Android.Views.View.cs:11063
    An unhandled exception occured.

    02-03 19:05:42.825 I/MonoDroid( 3340): at Xamarin.Forms.Platform.Android.PlatformRenderer.DispatchTouchEvent (Android.Views.MotionEvent) <IL 0x00037, 0x001bf>
    02-03 19:05:42.825 I/MonoDroid( 3340): at Android.Views.View.n_DispatchTouchEvent_Landroid_view_MotionEvent_ (intptr,intptr,intptr) [0x00011] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.21-series/49a04b96/source/monodroid/src/Mono.Android/platforms/android-19/src/generated/Android.Views.View.cs:11046
    02-03 19:05:42.825 I/MonoDroid( 3340): at (wrapper dynamic-method) object.395b99f6-d966-4779-9420-6f20b8f4e27c (intptr,intptr,intptr) <IL 0x00017, 0x00023>
    02-03 19:05:42.825 I/MonoDroid( 3340):   --- End of managed exception stack trace ---
    02-03 19:05:42.825 I/MonoDroid( 3340): android.view.InflateException: Binary XML file line #17: Error inflating class <unknown>
    02-03 19:05:42.825 I/MonoDroid( 3340):  at android.view.LayoutInflater.createView(LayoutInflater.java:613)
    02-03 19:05:42.825 I/MonoDroid( 3340):  at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
    02-03 19:05:42.825 I/MonoDroid( 3340):  at android.view.LayoutInflater.onCreateView(LayoutInflater.java:660)
    02-03 19:05:42.825 I/MonoDroid( 3340):  at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:685)
    02-03 19:05:42.825 I/MonoDroid( 3340):  at android.view.LayoutInflater.inflate(LayoutInflater.java:466)
    02-03 19:05:42.825 I/MonoDroid( 3340):  at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
    02-03 19:05:42.825 I/MonoDroid( 3340):  at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
    02-03 19:05:42.825 I/MonoDroid( 3340):  at android.widget.Editor$ActionPopupWindow.initContentView(Editor.java:2794)
    02-03 19:05:42.825 I/MonoDroid( 3340):  at android.widget.Editor$PinnedPopupWindow.<init>(Editor.java:2089)
    02-03 19:05:42.825 I/MonoDroid( 3340):  at android.widget.Editor$ActionPopupWindow.<init>(Editor.java:2767)
    02-03 19:05:42.825 I/MonoDroid( 3340):  at android.widget.Editor$ActionPopupWindow.<init>(Editor.java:2767)
    02-03 19:05:42.825 I/MonoDroid( 3340):  at android.widget.Editor$HandleView.showActionPopupWindow(Editor.java:2987)
    02-03 19:05:42.825 I/MonoDroid( 3340):  at android.widget.Editor$SelectionModifierCursorController.initHandles(Editor.java:3498)
    02-03 19:05:42.829 I/MonoDroid( 3340):  at android.widget.Editor$SelectionModifierCursorController.show(Editor.java:3469)
    02-03 19:05:42.829 I/MonoDroid( 3340):  at com.android.internal.policy.impl.PhoneWindow$DecorView$ActionModeCallbackWrapper.onCreateActionMode(PhoneWindow.java:2522)
    02-03 19:05:42.829 I/MonoDroid( 3340):  at com.android.internal.app.ActionBarImpl$ActionModeImpl.dispatchOnCreate(ActionBarImpl.java:871)
    02-03 19:05:42.829 I/MonoDroid( 3340):  at com.android.internal.app.ActionBarImpl.startActionMode(ActionBarImpl.java:446)
    02-03 19:05:42.829 I/MonoDroid( 3340):  at android.app.Activity.onWindowStartingActionMode(Activity.java:4801)
    02-03 19:05:42.829 I/MonoDroid( 3340):  at com.android.internal.policy.impl.PhoneWindow$DecorView.startActionMode(PhoneWindow.java:2228)
    02-03 19:05:42.829 I/MonoDroid( 3340):  at com.android.internal.policy.impl.PhoneWindow$DecorView.startActionModeForChild(PhoneWindow.java:2215)
    02-03 19:05:42.829 I/MonoDroid( 3340):  at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:619)
    02-03 19:05:42.829 I/MonoDroid( 3340):  at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:619)
    02-03 19:05:42.829 I/MonoDroid( 3340):  at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:619)
    02-03 19:05:42.829 I/MonoDroid( 3340):  at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:619)
    02-03 19:05:42.829 I/MonoDroid( 3340):  at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:619)
    02-03 19:05:42.829 I/MonoDroid( 3340):  at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:619)
    02-03 19:05:42.829 I/MonoDroid( 3340):  at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:619)
    02-03 19:05:42.829 I/MonoDroid( 3340):  at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:619)
    02-03 19:05:42.829 I/MonoDroid( 3340):  at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:619)
    02-03 19:05:42.829 I/MonoDroid( 3340):  at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:619)
    02-03 19:05:42.829 I/MonoDroid( 3340):  at android.view.View.startActionMode(View.java:4182)
    02-03 19:05:42.829 I/MonoDroid( 3340):  at android.widget.Editor.startSelectionActionMode(Editor.java:1479)
    02-03 19:05:42.829 I/MonoDroid( 3340):  at android.widget.Editor$SelectionModifierCursorController.onTouchEvent(Editor.java:3534)
    02-03 19:05:42.829 I/MonoDroid( 3340):  at android.widget.Editor.onTouchEvent(Editor.java:988)
    02-03 19:05:42.829 I/MonoDroid( 3340):  at android.widget.TextView.onTouchEvent(TextView.java:7361)
    02-03 19:05:42.829 I/MonoDroid( 3340):  at android.view.View.dispatchTouchEvent(View.java:7127)
    02-03 19:05:42.829 I/MonoDroid( 3340):  at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2176)
    02-03 19:05:42.829 I/MonoDroid( 3340):  at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1877)
    02-03 19:05:42.829 I/MonoDroid( 3340):  at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2176)
    02-03 19:05:42.829 I/MonoDroid( 3340):  at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1877)
    02-03 19:05:42.833 I/MonoDroid( 3340):  at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2176)
    02-03 19:05:42.833 I/MonoDroid( 3340):  at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1877)
    02-03 19:05:42.833 I/MonoDroid( 3340):  at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2176)
    02-03 19:05:42.833 I/MonoDroid( 3340):  at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1877)
    02-03 19:05:42.833 I/MonoDroid( 3340):  at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2176)
    02-03 19:05:42.833 I/MonoDroid( 3340):  at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1877)
    02-03 19:05:42.833 I/MonoDroid( 3340):  at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2176)
    02-03 19:05:42.833 I/MonoDroid( 3340):  at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1877)
    02-03 19:05:42.833 I/MonoDroid( 3340):  at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2176)
    02-03 19:05:42.833 I/MonoDroid( 3340):  at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1877)
    02-03 19:05:42.833 I/MonoDroid( 3340):  at xamarin.forms.platform.android.PlatformRenderer.n_dispatchTouchEvent(Native Method)
    02-03 19:05:42.833 I/MonoDroid( 3340):  at xamarin.forms.platform.android.PlatformRenderer.dispatchTouchEvent(PlatformRenderer.java:62)
    02-03 19:05:42.833 I/MonoDroid( 3340):  at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2176)
    02-03 19:05:42.833 I/MonoDroid( 3340):  at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1877)
    02-03 19:05:42.833 I/MonoDroid( 3340):  at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2176)
    02-03 19:05:42.833 I/MonoDroid( 3340):  at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1877)
    02-03 19:05:42.833 I/MonoDroid( 3340):  at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2176)
    02-03 19:05:42.833 I/MonoDroid( 3340):  at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1877)
    02-03 19:05:42.833 I/MonoDroid( 3340):  at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2176)
    02-03 19:05:42.833 I/MonoDroid( 3340):  at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1877)
    02-03 19:05:42.833 I/MonoDroid( 3340):  at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1925)
    02-03 19:05:42.833 I/MonoDroid( 3340):  at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1379)
    02-03 19:05:42.833 I/MonoDroid( 3340):  at android.app.Activity.dispatchTouchEvent(Activity.java:2396)
    02-03 19:05:42.837 I/MonoDroid( 3340):  at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1873)
    02-03 19:05:42.837 I/MonoDroid( 3340):  at android.view.View.dispatchPointerEvent(View.java:7307)
    02-03 19:05:42.837 I/MonoDroid( 3340):  at android.view.ViewRootImpl.deliverPointerEvent(ViewRootImpl.java:3172)
    02-03 19:05:42.837 I/MonoDroid( 3340):  at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:3117)
    02-03 19:05:42.837 I/MonoDroid( 3340):  at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:4153)
    02-03 19:05:42.837 I/MonoDroid( 3340):  at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:4132)
    02-03 19:05:42.837 I/MonoDroid( 3340):  at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:4224)
    02-03 19:05:42.837 I/MonoDroid( 3340):  at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:171)
    02-03 19:05:42.837 I/MonoDroid( 3340):  at android.os.MessageQueue.nativePollOnce(Native Method)
    02-03 19:05:42.837 I/MonoDroid( 3340):  at android.os.MessageQueue.next(MessageQueue.java:125)
    02-03 19:05:42.837 I/MonoDroid( 3340):  at android.os.Looper.loop(Looper.java:124)
    02-03 19:05:42.837 I/MonoDroid( 3340):  at android.app.ActivityThread.main(ActivityThread.java:4745)
    02-03 19:05:42.837 I/MonoDroid( 3340):  at java.lang.reflect.Method.invokeNative(Native Method)
    02-03 19:05:42.837 I/MonoDroid( 3340):  at java.lang.reflect.Method.invoke(Method.java:511)
    02-03 19:05:42.837 I/MonoDroid( 3340):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
    02-03 19:05:42.837 I/MonoDroid( 3340):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
    02-03 19:05:42.837 I/MonoDroid( 3340):  at dalvik.system.NativeStart.main(Native Method)
    02-03 19:05:42.837 I/MonoDroid( 3340): Caused by: java.lang.reflect.InvocationTargetException
    02-03 19:05:42.837 I/MonoDroid( 3340):  at java.lang.reflect.Constructor.constructNative(Native Method)
    02-03 19:05:42.837 I/MonoDroid( 3340):  at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
    02-03 19:05:42.837 I/MonoDroid( 3340):  at android.view.LayoutInflater.createView(LayoutInflater.java:587)
    02-03 19:05:42.841 I/MonoDroid( 3340):  ... 80 more
    02-03 19:05:42.841 I/MonoDroid( 3340): Caused by: java.lang.ArrayIndexOutOfBoundsException: length=15; index=454
    02-03 19:05:42.841 I/MonoDroid( 3340):  at android.content.res.StringBlock.get(StringBlock.java:64)
    02-03 19:05:42.841 I/MonoDroid( 3340):  at android.content.res.XmlBlock$Parser.getPooledString(XmlBlock.java:458)
    02-03 19:05:42.841 I/MonoDroid( 3340):  at android.content.res.TypedArray.loadStringValueAt(TypedArray.java:720)
    02-03 19:05:42.845 I/MonoDroid( 3340):  at android.content.res.TypedArray.getString(TypedArray.java:124)
    02-03 19:05:42.845 I/MonoDroid( 3340):  at android.widget.TextView.<init>(TextView.java:792)
    02-03 19:05:42.845 I/MonoDroid( 3340):  at android.widget.TextView.<init>(TextView.java:442)
    02-03 19:05:42.845 I/MonoDroid( 3340):  ... 83 more
    02-03 19:05:43.949 E/mono    ( 3340): 
    02-03 19:05:43.949 E/mono    ( 3340): Unhandled Exception:
    02-03 19:05:43.949 E/mono    ( 3340): Android.Views.InflateException: Exception of type 'Android.Views.InflateException' was thrown.
    02-03 19:05:43.949 E/mono    ( 3340): at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <IL 0x00011, 0x00047>
    02-03 19:05:43.949 E/mono    ( 3340): at Android.Runtime.JNIEnv.CallNonvirtualBooleanMethod (intptr,intptr,intptr,Android.Runtime.JValue[]) [0x00085] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.21-series/49a04b96/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:585
    02-03 19:05:43.949 E/mono    ( 3340): at Android.Views.View.DispatchTouchEvent (Android.Views.MotionEvent) [0x00071] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.21-series/49a04b96/source/monodroid/src/Mono.Android/platforms/android-19/src/generated/Android.Views.View.cs:11063
    The program 'Mono' has exited with code 0 (0x0).`

Viewing all articles
Browse latest Browse all 58056

Trending Articles