Open busitech opened 9 months ago
The test application will start successfully on macOS.
Verified this on Visual Studio Enterprise 17.9.0 Preview 1(8.0.3). Repro on Windows 11, not repro on MacCatalyst with below Project: FlexLayoutScrollViewBug1.zip
Description
App crashes on startup. There is no practical way to debug this problem, because all of the code in the stack is in the System namespace, and coming up from the COM Interop layer as a COMException. The most meaningful Exception thrown is: 'System.InvalidOperationException' in WinRT.Runtime.dll
System.InvalidOperationException: Operation is not valid due to the current state of the object. The program '[2268] FlexLayoutTest.exe' has exited with code 3221226107 (0xc000027b).
There is also a Message of "Element not found." in the UnhandledExceptionEventArgs.
Stack Trace 1:
Stack Trace 2:
Steps to Reproduce
Run the reproducer, and observe the crash.
Link to public reproduction project repository
https://github.com/busitech/FlexLayoutScrollViewBug1
Version with bug
7.0.101
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
Windows 10.0.19045.3636
Did you find any workaround?
The only workaround is to compromise the desired functionality by removing some FlexLayouts or ScrollViews until a combination allows the app to start.
Relevant log output
No response