Bug 33380 - Insights Errors
Summary: Insights Errors
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.4.4
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2015-08-25 21:53 UTC by Wessel Oosthuizen
Modified: 2016-04-13 18:21 UTC (History)
5 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Wessel Oosthuizen 2015-08-25 21:53:11 UTC
Hi, I'm getting a few crash reports in insights.  The stack trace does not tell me where the errors occur in my code.  I will create a bug report for each of them.  Below is the stack trace...

System.NotSupportedException Unable to activate instance of type Xamarin.Forms.Platform.Android.FrameRenderer+FrameDrawable from native handle 85d00019

Java.Interop.TypeManager.CreateInstance(intptr, JniHandleOwnership, Type)
Java.Lang.Object.GetObject(intptr, JniHandleOwnership, Type)
at Java.Lang.Object._GetObject<Android.Graphics.Drawables.Drawable> (intptr,Android.Runtime.JniHandleOwnership) <0x0004f>
at Java.Lang.Object.GetObject<Android.Graphics.Drawables.Drawable> (intptr,Android.Runtime.JniHandleOwnership) <0x0002b>
at Java.Lang.Object.GetObject<Android.Graphics.Drawables.Drawable> (intptr,intptr,Android.Runtime.JniHandleOwnership) <0x00037>
Android.Graphics.Drawables.Drawable.n_IsStateful(intptr, intptr)
at (wrapper dynamic-method) object.5ed27af5-5531-4b2d-8665-4a37fff4ee4e (intptr,intptr) <0x00043>
System.MissingMethodExceptionNo constructor found for Xamarin.Forms.Platform.Android.FrameRenderer+FrameDrawable::.ctor(System.IntPtr, Android.Runtime.JniHandleOwnership)
Java.Interop.TypeManager.CreateProxy(Type type, IntPtr handle, JniHandleOwnership transfer)
Java.Interop.TypeManager.CreateInstance(IntPtr handle, JniHandleOwnership transfer, Type targetType)
Java.Interop.JavaLocationExceptionException of type 'Java.Interop.JavaLocationException' was thrown.
Java.Lang.Error: Exception of type 'Java.Lang.Error' was thrown.
--- End of managed exception stack trace ---
java.lang.Error: Java callstack:
md5530bd51e982e6e7b340b73e88efe666e.FrameRenderer_FrameDrawable.n_isStateful(Native Method)
at md5530bd51e982e6e7b340b73e88efe666e.FrameRenderer_FrameDrawable.isStateful(FrameRenderer_FrameDrawable.java:33)
at android.view.View.drawableStateChanged(View.java:16133)
at android.view.ViewGroup.drawableStateChanged(ViewGroup.java:5718)
at android.view.View.refreshDrawableState(View.java:16148)
at android.view.View.setPressed(View.java:6771)
at android.view.View$CheckForTap.run(View.java:19496)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:146)
at android.app.ActivityThread.main(ActivityThread.java:5678)
java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)
dalvik.system.NativeStart.main(Native Method)
Comment 1 Paul DiPietro [MSFT] 2015-08-25 23:52:15 UTC

Unfortunately, the provided stack trace is rather ambiguous and we will require more information (preferably exact reproduction steps and/or a reproduction project) in order to investigate this issue.
Comment 2 Wessel Oosthuizen 2015-08-26 09:51:17 UTC
I really have no idea how to reproduce this, or any of the other issues I
opened.  I don't even know where in my app to start trying because the stack
trace contains none of my code.  But it is happening for sure out in production
because these errors are all in insights.
Comment 3 Paul DiPietro [MSFT] 2016-04-13 18:21:42 UTC
Thank you for your bug report. As we have not received the information requested, we cannot properly triage your bug and are marking it resolved.

Warm regards,
Xamarin Forms Team