Bug 33173 - Error in the scrolviewRenderer
Summary: Error in the scrolviewRenderer
Status: RESOLVED NORESPONSE
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.3.2
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-08-17 15:41 UTC by wchiou
Modified: 2016-04-13 18:26 UTC (History)
5 users (show)

Tags:
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:
Status:
RESOLVED NORESPONSE

Description wchiou 2015-08-17 15:41:38 UTC
I got this error from time to time

Java.Lang.RuntimeException: java.lang.reflect.InvocationTargetException
  at --- End of managed exception stack trace ---
  at java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
  at at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
  at at dalvik.system.NativeStart.main(Native Method)
  at Caused by: java.lang.reflect.InvocationTargetException
  at at java.lang.reflect.Method.invokeNative(Native Method)
  at at java.lang.reflect.Method.invoke(Method.java:515)
  at at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
  at ... 2 more
  at Caused by: md52ce486a14f4bcd95899665e9d932190b.JavaProxyThrowable: System.ArgumentException: 'jobject' must not be IntPtr.Zero.
  at Parameter name: jobject
  at Android.Runtime.JNIEnv.CallIntMethod (intptr,intptr) [0x00010] in /Users/builder/data/lanes/1978/f98871a9/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:378
  at Android.Views.View.get_ScrollX () [0x0002d] in /Users/builder/data/lanes/1978/f98871a9/source/monodroid/src/Mono.Android/platforms/android-22/src/generated/Android.Views.View.cs:9366
  at at Xamarin.Forms.Platform.Android.ScrollViewRenderer/<>c__DisplayClass4.<OnScrollToRequested>b__0 (object,Android.Animation.ValueAnimator/AnimatorUpdateEventArgs) <IL 0x00018, 0x0007b>
  at Android.Animation.ValueAnimator/IAnimatorUpdateListenerImplementor.OnAnimationUpdate (Android.Animation.ValueAnimator) [0x0000d] in /Users/builder/data/lanes/1978/f98871a9/source/monodroid/src/Mono.Android/platforms/android-22/src/generated/Android.Animation.ValueAnimator.cs:136
  at Android.Animation.ValueAnimator/IAnimatorUpdateListenerInvoker.n_OnAnimationUpdate_Landroid_animation_ValueAnimator_ (intptr,intptr,intptr) [0x00011] in /Users/builder/data/lanes/1978/f98871a9/source/monodroid/src/Mono.Android/platforms/android-22/src/generated/Android.Animation.ValueAnimator.cs:85
  at at (wrapper dynamic-method) object.f55ebde8-ff87-44c5-a6d2-d5282e634aee (intptr,intptr,intptr) <IL 0x00017, 0x00027>
  at at mono.android.animation.ValueAnimator_AnimatorUpdateListenerImplementor.n_onAnimationUpdate(Native Method)
  at at mono.android.animation.ValueAnimator_AnimatorUpdateListenerImplementor.onAnimationUpdate(ValueAnimator_AnimatorUpdateListenerImplementor.java:29)
  at at android.animation.ValueAnimator.animateValue(ValueAnimator.java:1251)
  at at android.animation.ValueAnimator.animationFrame(ValueAnimator.java:1175)
  at at android.animation.ValueAnimator.doAnimationFrame(ValueAnimator.java:1216)
  at at android.animation.ValueAnimator$AnimationHandler.doAnimationFrame(ValueAnimator.java:637)
  at at android.animation.ValueAnimator$AnimationHandler.run(ValueAnimator.java:660)
  at at android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)
  at at android.view.Choreographer.doCallbacks(Choreographer.java:574)
  at at android.view.Choreographer.doFrame(Choreographer.java:543)
  at at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747)
  at at android.os.Handler.handleCallback(Handler.java:733)
  at at android.os.Handler.dispatchMessage(Handler.java:95)
  at at android.os.Looper.loop(Looper.java:136)
  at at android.app.ActivityThread.main(ActivityThread.java:5001)
  at ... 5 more
Comment 1 Abhishek 2015-08-18 10:27:40 UTC
I have tried this issue and unable to reproduce the reported behavior at my end.

Could you please provide me sample application along with bug so that I can reproduce this issue at my end.Also provide the IDE log, Device Log and Environment Info:

IDE log via Help->Open Log Directory.
Environment Info via Xamarin Studio->About Xamarin Studio->Show Details.

Environment Info:

=== Xamarin Studio ===

Version 5.9.5 (build 9)
Installation UUID: 93e693b0-b53d-40f4-b29c-b61ff5cbe892
Runtime:
	Mono 4.0.3 ((detached/d6946b4)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 400030020

=== Apple Developer Tools ===

Xcode 6.3 (7569)
Build 6D570

=== Xamarin.iOS ===

Version: 8.10.4.57 (Enterprise Edition)
Hash: 9622cee
Branch: master
Build date: 2015-08-16 13:52:37-0400

=== Xamarin.Android ===

Version: 5.1.5.3 (Enterprise Edition)
Android SDK: /Users/xamarin23/Desktop/android-sdk-macosx
	Supported Android versions:
		2.3    (API level 10)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
		5.1    (API level 22)
Java SDK: /usr
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

=== Xamarin Android Player ===

Version: Unknown version
Location: /Applications/Xamarin Android Player.app

=== Xamarin.Mac ===

Version: 2.0.2.132 (Enterprise Edition)

=== Build Information ===

Release ID: 509050009
Git revision: b99cb19a1d3b15d8980c4616f13f837457e5b292
Build date: 2015-07-28 02:01:44-04
Xamarin addins: d53d6eceb828422f3d4aff8547f2f6bab6c9ea58

=== Operating System ===

Mac OS X 10.10.0
Darwin 800BC.local 14.0.0 Darwin Kernel Version 14.0.0
    Fri Sep 19 00:26:44 PDT 2014
    root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64
Comment 2 Samantha Houts [MSFT] 2016-04-13 18:26:33 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