question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Combox Errors in KernelBase.dll--> WinRT Transform error

See original GitHub issue

Describe the bug

Combo box throws the following error when bound to an Observable collection of complex custom objects

Steps to reproduce the bug

Steps to reproduce the behavior: Bind a combobox to an observable collection using classic binding ItemsSource= {Binding CollectionName}, I am not using x:Bind since I am using MVVM pattern. These errors do not crash the app, however there are bunch of these errors when I click on the ComboBox dropdown. Wondering how this can be fixed, is this a known issue?

   <ComboBox x:Name="ClientList"  PlaceholderText="Pick a Client" ItemsSource="{Binding Clients}" DisplayMemberPath="name" SelectedValuePath="id" IsEditable="True"  
          Header="Client" Width="175">
                <Interactivity:Interaction.Behaviors>
                     <Interactions:EventTriggerBehavior EventName="SelectionChanged" SourceObject="{Binding 
                       ElementName=ClientList}" >
                        <Interactions:InvokeCommandAction Command="{Binding ClientSelectionChangedCommand}" CommandParameter="{Binding ElementName=ClientList, Path=SelectedItem}"/>
                    </Interactions:EventTriggerBehavior>
                </Interactivity:Interaction.Behaviors>
      </ComboBox>

Expected behavior

There should be no errors Screenshots

image

Version Info

NuGet package version: WinUI 0.8.0-preview

Windows app type:

UWP Win32
Yes
Windows 10 version Saw the problem?
Insider Build (xxxxx)
October 2020 Update (19042)
May 2020 Update (19041)
November 2019 Update (18363)
May 2019 Update (18362) Yes
October 2018 Update (17763)
April 2018 Update (17134)
Fall Creators Update (16299)
Creators Update (15063)
Device form factor Saw the problem?
Desktop Yes
Xbox
Surface Hub
IoT

Additional context

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

4reactions
Petrarca181commented, Sep 25, 2021

Was this fixed in some way? I’m on 1.0.0.0 and have the same “WinRT transform error” also little lag when combo box is opened.

0reactions
github-actions[bot]commented, Jul 29, 2023

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 5 days.

Read more comments on GitHub >

github_iconTop Results From Across the Web

C++/WinRT - Can/ should i ignore the exception triggered ...
I've also noticed that this behavior has already been reported before: Combox Errors in KernelBase.dll--> WinRT Transform error. It seems to be ...
Read more >
How to read WinRT errors? - windows
While debugging my Universal Windows Application in the Visual Studio 2015 I noticed some errors in the output window: Exception thrown at ...
Read more >
Strange error message that I haven't seen before
Im trying to complete a college project and part of the project is to implement drag and drop functionality of music files from...
Read more >
https://raw.githubusercontent.com/dotnet/samples/m...
Maybe a Copy&Paste mistake from file NodeRemovedTests.cs. ... I build and attempt to run the program I get an error stating that winrt-string...
Read more >
[#QTBUG-47971] Exception: WinRT transform error
The mobile app crashes with the following closing debug output: Exception thrown at 0x76F435D7 (KERNELBASE.DLL) in mobile.exe: 0x40080202: ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found