@BjornB Awesome yea! That is exactly what I did. I put it into all the new fast renderers on my side. Would you mind also putting it into FrameRenderer and VisualElementRenderer.UpdateBackgroundColor if its not there? Thanks btw!
EDIT: To add I also put a fix in for the .'s showing up on the controls again but I havent had the time to put it up. I should be done with the grid perf by saturday and hope to put it up if its not fixed by then.
Application crashes on iOS with NullReferenceException in a ListView with HasUnevenRows=true after simple operations.
Occurs on 2.3.5-Pre2. Does not happen with HasUnevenRows=false. Simple example to reproduce is attached in bugzilla.
Building UWP in Release mode with -Pre2 I get the following error:
MCG0024: MCG0024:UnresolvableTypeReference Unresolvable type reference 'Xamarin.Forms.Platform.UWP.FormsDatePicker' in 'Assembly(Name=Xamarin.Forms.Platform.UAP, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null)' found. Please check the references in your build system. A reference is either missing or an assembly is missing an expected type.
I'm also getting this exception on UWP, but dont know what causes it:
System.InvalidOperationException
at System.Runtime.CompilerServices.ConditionalWeakTable2.VerifyIntegrity() at System.Runtime.CompilerServices.ConditionalWeakTable2.TryGetValue(TKey key, TValue& value)
at Xamarin.Forms.Setter.UnApply(BindableObject target, Boolean fromStyle)
at Xamarin.Forms.TriggerBase.OnConditionChanged(BindableObject bindable, Boolean oldValue, Boolean newValue)
at Xamarin.Forms.BindingCondition.OnBoundPropertyChanged(BindableObject bindable, Object oldValue, Object newValue)
at Xamarin.Forms.BindableObject.ClearValue(BindableProperty property, Boolean checkaccess)
at Xamarin.Forms.BindingCondition.TearDown(BindableObject bindable)
at Xamarin.Forms.TriggerBase.OnDetachingFrom(BindableObject bindable)
at Xamarin.Forms.TriggerBase.Xamarin.Forms.IAttachedObject.DetachFrom(BindableObject bindable)
at Xamarin.Forms.AttachedCollection`1.OnDetachingFrom(BindableObject bindable)
at Xamarin.Forms.VisualElement.Finalize()
Application crashes on iOS with NullReferenceException in a ListView with HasUnevenRows=true after simple operations.
Occurs on 2.3.5-Pre2. Does not happen with HasUnevenRows=false. Simple example to reproduce is attached in bugzilla.
@DavidOrtinau Thanks for the reply. Unfortunately my project is quite complicated. so tracking down is quite difficult. It seems to be when disposing of a grouped list but i havent been able to get a repo toghether yet
I encounter the bug @JKay mentioned in Comment #270708 in stable 2.3.4.231 as well. It only happens if i use a trigger in my custom control. If i don't use triggers at all or remove them in the deconstructor it works.
@Thomas.Goerlich Sounds like it could be the case. I use Syncfusion controls so have no control over detaching the triggers. Probably one for Xamarin to investigate
@JKay said:
I'm also getting this exception on UWP, but dont know what causes it:
System.InvalidOperationException
at System.Runtime.CompilerServices.ConditionalWeakTable2.VerifyIntegrity() at System.Runtime.CompilerServices.ConditionalWeakTable2.TryGetValue(TKey key, TValue& value)
at Xamarin.Forms.Setter.UnApply(BindableObject target, Boolean fromStyle)
at Xamarin.Forms.TriggerBase.OnConditionChanged(BindableObject bindable, Boolean oldValue, Boolean newValue)
at Xamarin.Forms.BindingCondition.OnBoundPropertyChanged(BindableObject bindable, Object oldValue, Object newValue)
at Xamarin.Forms.BindableObject.ClearValue(BindableProperty property, Boolean checkaccess)
at Xamarin.Forms.BindingCondition.TearDown(BindableObject bindable)
at Xamarin.Forms.TriggerBase.OnDetachingFrom(BindableObject bindable)
at Xamarin.Forms.TriggerBase.Xamarin.Forms.IAttachedObject.DetachFrom(BindableObject bindable)
at Xamarin.Forms.AttachedCollection`1.OnDetachingFrom(BindableObject bindable)
at Xamarin.Forms.VisualElement.Finalize()
VS for Mac 7.0(build3146)
Xamarin.Forms/Android.
Xamarin.Android 7.3.0.13
Android SDK API 25
Tested on Xamarin Android Player. (Nexus 4-API23)
It opens my first ContentPage well, but It crashes when I try to change my App.MainPage after success to log in.
Can anyone help me to know what this log means?
His dying message...
Are there any plans to drop the hardcoded 29.0.0.1 dependency on the GooglePlayServices.Maps library on Xamarin.Forms.Maps? I was happy to see it lifted for general use of the play services DLLs so that I could finally use Google's PlacePicker, but if I want to include a map, I'm back to square 1...
The GooglePlayServices.Maps 29.0.0.1 dependency is a minimum version in theory, as of Xamarin.Forms.Maps 2.3.3.193. With a bugfix in 2.3.4 it became practical. You should be fine to update your Google Play Services as long as you're at least on the latest stable.
@RobertDurfee said:
With 2.3.5 pre2, the effects I have attached to Labels in XAML or c# are no longer being hit. Attaching the effect to other controls works fine.
That could be related to Fast Renderers. Please file a report with a repro project.
We had a couple builds of -pre3, but the current one is the only one we pushed to NuGet, unless there was a misfire in the Build busy-ness. Why do you ask?
We had a couple builds of -pre3, but the current one is the only one we pushed to NuGet, unless there was a misfire in the Build busy-ness. Why do you ask?
Forgot that i took the previous pre 3 nuget from github. nvm!
Posts
@NMackay I'll ask to have it revisited.
Thanks David
@DavidOrtinau @NMackay I'm also hit by this issue. Doesn't this (longstanding!) PR resolve it? https://github.com/xamarin/Xamarin.Forms/pull/431
Seeing a slight twitch in iOS but can live with it, seeing a small seizure in Android.
Sorry dear XF Team, but this pre is just buggy
After I had to switch sto stable on Android because of the Disposed Fast renderers I know had to do tha same in iOS because of this:
Xamarin.Forms.TextElement.OnTextColorPropertyChanged(BindableObject bindable, object oldValue, object newValue)
Xamarin.Forms.BindableObject.SetValueActual(BindableProperty property, BindableObject.BindablePropertyContext context, object value, bool currentlyApplying, SetValueFlags attributes, bool silent)
Xamarin.Forms.BindableObject.SetValueCore(BindableProperty property, object value, SetValueFlags attributes, BindableObject.SetValuePrivateFlags privateAttributes)
Xamarin.Forms.BindableObject.SetValue(BindableProperty property, object value, bool fromStyle, bool checkAccess)
Xamarin.Forms.BindableObject.SetValue(BindableProperty property, object value)
JistTV.Login.CreateAccountPage.InitializeComponent()
JistTV.Login.CreateAccountPage.CreateAccountPage()
System.Reflection.MonoCMethod.InternalInvoke(MonoCMethod, object, object[], ref Exception)(wrapper managed-to-native)
System.Reflection.MonoCMethod.InternalInvoke(object obj, object[] parameters)MonoMethod.cs:661
--- End of inner exception stack trace ---
JistTV.MyRxHandler.<>c__DisplayClass0_0.b__0()
System.Reactive.Concurrency.Scheduler.Invoke(IScheduler scheduler, Action action):0
ReactiveUI.NSRunloopScheduler.<>c__DisplayClass2_0.b__0():0
CoreFoundation.DispatchQueue.static_dispatcher_to_managed(IntPtr context)Dispatch.cs:343
CoreFoundation.DispatchQueue.static_dispatcher_to_managed(intptr)(wrapper native-to-managed)
UIKit.UIApplication.UIApplicationMain(int, string[], intptr, intptr)(wrapper managed-to-native)
UIKit.UIApplication.Main(string[] args, IntPtr principal, IntPtr delegate)UIApplication.cs:79
UIKit.UIApplication.Main(string[] args, string principalClassName, string delegateClassName)UIApplication.cs:63
JistTV.iOS.Application.Main(string[] args)
@ThomasBurkhart It looks like Hartez already fixed it: https://github.com/xamarin/Xamarin.Forms/commit/cdc405512844671bc3b2c8bd28f583036e5530a2
Might want to try the next nightly...
The dispose check is not implemented yet right (LabelRendere)? @BradChase.2654
https://github.com/xamarin/Xamarin.Forms/pull/886
I just made my first PR ever, i havent tested it, but i added a dispose check on GetDesiredSize the same way as in this pr https://github.com/xamarin/Xamarin.Forms/commit/cdc405512844671bc3b2c8bd28f583036e5530a2
@BradChase.2654 is this somewhat what you had in mind for your pr?
@BjornB Awesome yea! That is exactly what I did. I put it into all the new fast renderers on my side. Would you mind also putting it into FrameRenderer and VisualElementRenderer.UpdateBackgroundColor if its not there? Thanks btw!
EDIT: To add I also put a fix in for the .'s showing up on the controls again but I havent had the time to put it up. I should be done with the grid perf by saturday and hope to put it up if its not fixed by then.
Frame -> https://github.com/xamarin/Xamarin.Forms/pull/887
VisualElement -> https://github.com/xamarin/Xamarin.Forms/pull/888
looks ok? @BradChase.2654
@BjornB thx for the PRs! When you have a series of changes like that that are related, go ahead and bundle them into a single PR.
Got it!
@BjornB Yea exactly what I had except for the other frame updates. I didnt crash on those but thats not to say the issue didnt exist
.
There has to be a better way of handling the disposed, I am not sure I like the local disposed stuff. But it works for now.
Found a regression to 2.3.4.
Application crashes on iOS with NullReferenceException in a ListView with HasUnevenRows=true after simple operations.
Occurs on 2.3.5-Pre2. Does not happen with HasUnevenRows=false. Simple example to reproduce is attached in bugzilla.
https://bugzilla.xamarin.com/show_bug.cgi?id=55745
Building UWP in Release mode with -Pre2 I get the following error:
Anyone got any ideas what this might be?
I'm also getting this exception on UWP, but dont know what causes it:
I'm guessing this error is something to do with this change by @StephaneDelcroix: https://github.com/xamarin/Xamarin.Forms/commit/0ee636003b6d1083ea4caeed85ef3efbc815ed06#diff-880b7a8b0af7ca9c5e438d1901e8bda0
Or actually by looks it might be
TryGetValue
which would be this line:https://github.com/xamarin/Xamarin.Forms/blob/master/Xamarin.Forms.Core/Setter.cs#L79
Thx, the team just fixed that and it'll be in the next release.
@JKay looking at that info we're not sure what's going on there. Please post a repro project to Bugzilla for us and we'll dig deeper.
@DavidOrtinau
Will embedding native controls with XamlC enabled make it into 2.3.5? It did mention Q2 on the roadmap I think.
Thanks.
@DavidOrtinau
Thanks, that way it is motivating to spend the extra effort of creating a good repro solution.
No, not in 2.3.5.
Thanks for clarifying David
@DavidOrtinau Thanks for the reply. Unfortunately my project is quite complicated. so tracking down is quite difficult. It seems to be when disposing of a grouped list but i havent been able to get a repo toghether yet
With -Pre2 TapGesutures have also become really intermittent on Android. Have any changes happened here / Has anyone else seen this?
@JKay You might be hitting this issue with TapGestureRecognizers in Android. Can you test with -pre3 once it's published on NuGet and let us if you're still seeing this? Thanks!
@JimmyGarrido Thanks, Sounds exactly like our issue. I'll test with -pre3 and let you know
With 2.3.5 pre2, the effects I have attached to Labels in XAML or c# are no longer being hit. Attaching the effect to other controls works fine.
Rolling back to stable (2.3.4.231) fixed both bugs I mentioned above on UWP:
https://forums.xamarin.com/discussion/comment/270680/#Comment_270680
and
https://forums.xamarin.com/discussion/comment/270708/#Comment_270708
So both have definitely been introduced in the pre release version
I encounter the bug @JKay mentioned in Comment #270708 in stable 2.3.4.231 as well. It only happens if i use a trigger in my custom control. If i don't use triggers at all or remove them in the deconstructor it works.
@Thomas.Goerlich Sounds like it could be the case. I use Syncfusion controls so have no control over detaching the triggers. Probably one for Xamarin to investigate
change thread to pre 3?
There is 100% a problem when using DataTemplate with Custom Controls with Triggers on UWP. See Syncfusions report: https://bugzilla.xamarin.com/show_bug.cgi?id=56210
Bug appears in Xamarin.Forms 2.3.4.231 onwards, gets worse in pre-releases
Hey @JKay we are working on that issue.
Hi, just tested pre-3.
VS for Mac 7.0(build3146)
Xamarin.Forms/Android.
Xamarin.Android 7.3.0.13
Android SDK API 25
Tested on Xamarin Android Player. (Nexus 4-API23)
It opens my first ContentPage well, but It crashes when I try to change my App.MainPage after success to log in.
Can anyone help me to know what this log means?
His dying message...
Edit:
found others who faced same issue.
https://forums.xamarin.com/discussion/95285/update-to-visual-studio-mac-with-mono-etc-broke-app-on-emulator
Is this a second release of a pre 3? @DavidOrtinau
Are there any plans to drop the hardcoded 29.0.0.1 dependency on the GooglePlayServices.Maps library on Xamarin.Forms.Maps? I was happy to see it lifted for general use of the play services DLLs so that I could finally use Google's PlacePicker, but if I want to include a map, I'm back to square 1...
The GooglePlayServices.Maps 29.0.0.1 dependency is a minimum version in theory, as of Xamarin.Forms.Maps 2.3.3.193. With a bugfix in 2.3.4 it became practical. You should be fine to update your Google Play Services as long as you're at least on the latest stable.
That could be related to Fast Renderers. Please file a report with a repro project.
We had a couple builds of -pre3, but the current one is the only one we pushed to NuGet, unless there was a misfire in the Build busy-ness. Why do you ask?
Forgot that i took the previous pre 3 nuget from github. nvm!