daniel-luberda / DLToolkit.Forms.Controls

Xamarin.Forms Custom Controls
Apache License 2.0
393 stars 182 forks source link

TagEntryView Android cannot add new tag issue #272

Open leaguefun opened 5 years ago

leaguefun commented 5 years ago

TagEntry threw exception while detect new tag to add on Android, by the way, iOS found no problem:

System.NotSupportedException: Unable to activate instance of type Xamarin.Forms.Platform.Android.EntryRenderer from native handle 0x7fff883b7b04 (key_handle 0x7d7817b). ---> System.MissingMethodException: No constructor found for Xamarin.Forms.Platform.Android.EntryRenderer::.ctor(System.IntPtr, Android.Runtime.JniHandleOwnership) ---> Java.Interop.JavaLocationException: Exception of type 'Java.Interop.JavaLocationException' was thrown. at Java.Lang.Error: Exception of type 'Java.Lang.Error' was thrown. at java.lang.Error: Java callstack: at at md51558244f76c53b6aeda52c8a337f2c37.EntryRenderer.n_afterTextChanged(Native Method) at at md51558244f76c53b6aeda52c8a337f2c37.EntryRenderer.afterTextChanged(EntryRenderer.java:51) at at android.widget.TextView.sendAfterTextChanged(TextView.java:8203) at at android.widget.TextView$ChangeWatcher.afterTextChanged(TextView.java:10382) at at android.text.SpannableStringBuilder.sendAfterTextChanged(SpannableStringBuilder.java:1218) at at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:579) at at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:509) at at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:508) at at android.text.method.QwertyKeyListener.onKeyDown(QwertyKeyListener.java:223) at at android.text.method.TextKeyListener.onKeyDown(TextKeyListener.java:136) at at android.widget.TextView.doKeyDown(TextView.java:6285) at at android.widget.TextView.onKeyDown(TextView.java:6075) at at android.view.KeyEvent.dispatch(KeyEvent.java:2688) at at android.view.View.dispatchKeyEvent(View.java:9960) at at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1630) at at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1630) at at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1630) at at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1630) at at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1630) at at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1630) at at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1630) at at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1630) at at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1630) at at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1630) at at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1630) at at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1630) at at com.android.internal.policy.DecorView.superDispatchKeyEvent(DecorView.java:405) at at com.android.internal.policy.PhoneWindow.superDispatchKeyEvent(PhoneWindow.java:1798) at at android.app.Activity.dispatchKeyEvent(Activity.java:3021) at at android.support.v7.app.AppCompatActivity.dispatchKeyEvent(AppCompatActivity.java:534) at at android.support.v7.view.WindowCallbackWrapper.dispatchKeyEvent(WindowCallbackWrapper.java:58) at at android.support.v7.app.AppCompatDelegateImplBase$AppCompatWindowCallbackBase.dispatchKeyEvent(AppCompatDelegateImplBase.java:316) at at android.support.v7.view.WindowCallbackWrapper.dispatchKeyEvent(WindowCallbackWrapper.java:58) at at com.android.internal.policy.DecorView.dispatchKeyEvent(DecorView.java:319) at at android.view.ViewRootImpl$ViewPostImeInputStage.processKeyEvent(ViewRootImpl.java:4331) at at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4302) at at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3853) at at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3906) at at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3872) at at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3999) at at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3880) at at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4056) at at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3853) at at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3906) at at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3872) at at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3880) at at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3853) at at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3906) at at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3872) at at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4032) at at android.view.ViewRootImpl$ImeInputStage.onFinishedInputEvent(ViewRootImpl.java:4193) at at android.view.inputmethod.InputMethodManager$PendingEvent.run(InputMethodManager.java:2400) at at android.view.inputmethod.InputMethodManager.invokeFinishedInputEventCallback(InputMethodManager.java:1964) at at android.view.inputmethod.InputMethodManager.finishedInputEvent(InputMethodManager.java:1955) at at android.view.inputmethod.InputMethodManager$ImeInputEventSender.onInputEventFinished(InputMethodManager.java:2377) at at android.view.InputEventSender.dispatchInputEventFinished(InputEventSender.java:141) at at android.os.MessageQueue.nativePollOnce(Native Method) at at android.os.MessageQueue.next(MessageQueue.java:323) at at android.os.Looper.loop(Looper.java:136) at at android.app.ActivityThread.main(ActivityThread.java:6119) at at java.lang.reflect.Method.invoke(Native Method) at at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886) at at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776) --- End of inner exception stack trace --- at Java.Interop.TypeManager.CreateProxy (System.Type type, System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer) [0x00055] in <ff9f3f3d4e134974a889db1b532c9b6e>:0 at Java.Interop.TypeManager.CreateInstance (System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer, System.Type targetType) [0x00116] in <ff9f3f3d4e134974a889db1b532c9b6e>:0 --- End of inner exception stack trace --- at Java.Interop.TypeManager.CreateInstance (System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer, System.Type targetType) [0x00182] in <ff9f3f3d4e134974a889db1b532c9b6e>:0 at Java.Lang.Object.GetObject (System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer, System.Type type) [0x000c1] in <ff9f3f3d4e134974a889db1b532c9b6e>:0 at Java.Lang.Object._GetObject[T] (System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer) [0x00017] in <ff9f3f3d4e134974a889db1b532c9b6e>:0 at Java.Lang.Object.GetObject[T] (System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer) [0x00000] in <ff9f3f3d4e134974a889db1b532c9b6e>:0 at Java.Lang.Object.GetObject[T] (System.IntPtr jnienv, System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer) [0x00006] in <ff9f3f3d4e134974a889db1b532c9b6e>:0 at Android.Text.ITextWatcherInvoker.n_AfterTextChanged_Landroid_text_Editable_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_s) [0x00000] in <ff9f3f3d4e134974a889db1b532c9b6e>:0 at at (wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.58(intptr,intptr,intptr)