Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.MissingMethodException: No constructor found for Rg.Plugins.Popup.Droid.Renderers.PopupPageRenderer #764

Open
2 of 7 tasks
PrzemekZA opened this issue Dec 6, 2023 · 0 comments

Comments

@PrzemekZA
Copy link

PrzemekZA commented Dec 6, 2023

馃悰 Bug Report

On the appcenter.ms found today some crashes issue with Stack:

Xamarin Exception Stack:
System.NotSupportedException: Unable to activate instance of type Rg.Plugins.Popup.Droid.Renderers.PopupPageRenderer from native handle 0x7ffe920824 (key_handle 0x28e56a0).
at Java.Interop.TypeManager.CreateInstance (System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer, System.Type targetType) [0x00174] in <2705ebb5a06f428abce6df53f5b62683>:0
at Java.Lang.Object.GetObject (System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer, System.Type type) [0x00023] in <2705ebb5a06f428abce6df53f5b62683>:0
at Java.Lang.Object._GetObject[T] (System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer) [0x00017] in <2705ebb5a06f428abce6df53f5b62683>:0
at Java.Lang.Object.GetObject[T] (System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer) [0x00000] in <2705ebb5a06f428abce6df53f5b62683>:0
at Java.Lang.Object.GetObject[T] (System.IntPtr jnienv, System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer) [0x00006] in <2705ebb5a06f428abce6df53f5b62683>:0
at Android.Views.View.n_OnMeasure_II (System.IntPtr jnienv, System.IntPtr native__this, System.Int32 widthMeasureSpec, System.Int32 heightMeasureSpec) [0x00000] in <2705ebb5a06f428abce6df53f5b62683>:0
at Android.Runtime.JNINativeWrapper.Wrap_JniMarshal_PPII_V (_JniMarshal_PPII_V callback, System.IntPtr jnienv, System.IntPtr klazz, System.Int32 p0, System.Int32 p1) [0x00005] in <2705ebb5a06f428abce6df53f5b62683>:0
--- End of inner exception stack trace ---
System.MissingMethodException: No constructor found for Rg.Plugins.Popup.Droid.Renderers.PopupPageRenderer::.ctor(System.IntPtr, Android.Runtime.JniHandleOwnership)
at Java.Interop.TypeManager.CreateProxy (System.Type type, System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer) [0x000b5] in <2705ebb5a06f428abce6df53f5b62683>:0
at Java.Interop.TypeManager.CreateInstance (System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer, System.Type targetType) [0x0010c] in <2705ebb5a06f428abce6df53f5b62683>:0
--- End of inner exception stack trace ---
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 crc643f46942d9dd1fff9.VisualElementRenderer_1.n_onMeasure(Native Method)
at crc643f46942d9dd1fff9.VisualElementRenderer_1.onMeasure(VisualElementRenderer_1.java:111)
at android.view.View.measure(View.java:24603)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6925)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
at com.android.internal.policy.DecorView.onMeasure(DecorView.java:756)
at android.view.View.measure(View.java:24603)
at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:3061)
at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1888)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2233)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1776)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7662)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:966)
at android.view.Choreographer.doCallbacks(Choreographer.java:790)
at android.view.Choreographer.doFrame(Choreographer.java:725)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:951)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7708)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:503)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)

Expected behavior

App will not crash and PopUp will be visible.

Reproduction steps

Unknown. Found this issue on the appcenter diagnostic report.

Configuration

Devices list

  1. Android: 13
    Android Build: QP1A.190711.020
    Manufacturer: sprd
    Model: ums512_1h10_Natv

  2. Android: 13
    Android Build: TP1A.220624.014
    Manufacturer: samsung
    Model: SM-N986B

  3. Android: 10
    Android Build: QP1A.190711.020
    Manufacturer: samsung
    Model: SM-G965F

  4. Android: 10
    Android Build: QKQ1.191222.002
    Manufacturer: LGE
    Model: LM-V405

  5. Android Build: HUAWEIHMA-L29
    Manufacturer: HUAWEI
    Model: HMA-L29

Version: 2.1.0

Platform:

  • 馃摫 iOS
  • 馃 Android
  • 馃弫 WPF
  • 馃寧 UWP
  • 馃崕 MacOS
  • 馃摵 tvOS
  • 馃悞 Xamarin.Forms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant