Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Windows] Object Null Reference Exception thrown when dynamically changing ToolbarItem visibility until Page Disappearing #26803

Open
HarishKumarSF4517 opened this issue Dec 24, 2024 · 1 comment · May be fixed by #26836
Assignees
Labels
area-controls-toolbar ToolBar partner/syncfusion Issues / PR's with Syncfusion collaboration platform/windows 🪟 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working

Comments

@HarishKumarSF4517
Copy link
Contributor

Description

Bug Description:

When running the attached sample on Windows, an Object Reference Exception is thrown when changing the IsVisible property of a ConditionalToolbarItem until the OnDisappearing() method calls. This issue is not observed on other platforms.

Image

Steps to Reproduce

Reproduction Steps:

Expected Behavior:

  • Sample need to run Without Exception

Actual Behavior:

  • App Crashes with Object Reference Exception.

Link to public reproduction project repository

No response

Version with bug

9.0.21 SR2.1

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

No response

Affected platforms

Windows

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

@HarishKumarSF4517 HarishKumarSF4517 added the t/bug Something isn't working label Dec 24, 2024
@sheiksyedm sheiksyedm self-assigned this Dec 24, 2024
@sheiksyedm sheiksyedm added the partner/syncfusion Issues / PR's with Syncfusion collaboration label Dec 24, 2024
@ninachen03 ninachen03 added platform/windows 🪟 s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Dec 25, 2024
@ninachen03
Copy link

This issue has been verified using Visual Studio 17.13.0 Preview 2.1 (9.0.21 & 9.0.0). Can repro on Windows platform.
System.NullReferenceException
HResult=0x80004003
Message=Object reference not set to an instance of an object.
Source=BugzillaSample
StackTrace:
at Issue9419.Issue9419Page.d__3.MoveNext() in C:\Users\v-dongmc\Downloads\Issue9419\BugzillaSample\Issue9419.cs:line 104

@PureWeen PureWeen added this to the .NET 9 Servicing milestone Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-toolbar ToolBar partner/syncfusion Issues / PR's with Syncfusion collaboration platform/windows 🪟 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants