Bug 59087 - Master detail page causes app crash
Summary: Master detail page causes app crash
Status: RESOLVED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.4.0
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-08-29 05:09 UTC by Paradise
Modified: 2017-09-29 10:00 UTC (History)
3 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 FIXED

Description Paradise 2017-08-29 05:09:48 UTC
App crashes at starting master detail page Android API 25 :

VisualElementTracker_AttachTracker.n_onViewAttachedToWindow
Xamarin caused by: java.lang.NoSuchMethodError: no static method "Lcom/xamarin/forms/platform/android/FormsViewGroup;.sendViewBatchUpdate(Landroid/view/View;FFIZFFFFFFF)V"
	at md5b60ffeb829f638581ab2bb9b1a7f4f3f.VisualElementTracker_AttachTracker.n_onViewAttachedToWindow(Native Method)
	at md5b60ffeb829f638581ab2bb9b1a7f4f3f.VisualElementTracker_AttachTracker.onViewAttachedToWindow(VisualElementTracker_AttachTracker.java:31)
	at android.view.View.dispatchAttachedToWindow(View.java:15520)
	at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2916)
	at android.view.ViewGroup.addViewInner(ViewGroup.java:4456)
	at android.view.ViewGroup.addView(ViewGroup.java:4258)
	at android.view.ViewGroup.addView(ViewGroup.java:4198)
	at android.view.ViewGroup.addView(ViewGroup.java:4171)
	at mono.java.lang.RunnableImplementor.n_run(Native Method)
	at mono.java.lang.RunnableImplementor.run(RunnableImplementor.java:30)
	at android.os.Handler.handleCallback(Handler.java:751)
	at android.os.Handler.dispatchMessage(Handler.java:95)
	at android.os.Looper.loop(Looper.java:154)
	at android.app.ActivityThread.main(ActivityThread.java:6119)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
Comment 1 Paul DiPietro [MSFT] 2017-08-29 14:46:51 UTC
Is this a pre-existing project, and if so, are you able to reproduce it otherwise? By API 25, I assume you mean an API 25 device/emulator? What version of the support libraries are you using in the project? I see the Forms version is set to 2.4.0 -- have you found this to be a regression?
Comment 2 Paradise 2017-08-29 14:53:22 UTC
### Platforms Affected
Android

### .Net library
.NetStandard 2.0 

##Android Support Ver 
25.4.0.2

### Steps to Reproduce
1. Run on an Android API 25 emulator


### Version Tests
2.4.0.266-pre1 Fail
2.3.4.267   Fail
Comment 3 Paradise 2017-08-29 14:59:53 UTC
Before I migrate to .netstandard 2.0, everything was fine ...
Comment 4 Paradise 2017-08-29 21:20:04 UTC
bug has been fix at 2.4.0.266-pre2
Comment 5 Paul DiPietro [MSFT] 2017-09-21 16:47:49 UTC
Thanks for the update.
Comment 6 Helder DB 2017-09-29 09:29:32 UTC
I'm having the same issue on Forms v2.4.0.280

Just updated
Comment 7 Helder DB 2017-09-29 10:00:16 UTC
Clean All fixed it...