Skip to content

Null Reference Exception in ABI.Microsoft.UI.Xaml.Data.ICustomProperty #840

@JanRajnoha

Description

@JanRajnoha

Describe the bug
First think, I'm not sure, it should be here, but I don't know about better place.

In my app I get Null Reference exception, when I'm trying to Notify Property Change. Null exception but throw after some time, with no specific time or user flow through app, it is random. Problem is probably in function Do_Abi_GetValue_2, but i'm not sure. Here is stack trace of exception:
image

Exception has no other useful information (I think), no keys or values related to exception. I tried to find, what was null, but without success.

Steps to reproduce the bug
Steps to reproduce the behavior:
Repo link - This is copy of real repo, but with changed DB info

  1. Start app packaged
  2. Sign as User
  3. Do some sells and payments
  4. Tables
  5. Click on T1
  6. Do sell by click on some product
  7. Pay by Pay button
  8. Do payment (you could split table, transfer items, ...)
  9. After a few steps between tables view, table and payment you will get Null Reference Exception

Expected behavior
No exception, property changed notification should work okay.

Version Info
Windows 10 Insider, tested on multiple versions including 21364.1

NuGet package version:
[WinUI 3 - Project Reunion 0.5: 0.5.6]

Windows 10 version Saw the problem?
Insider Build (21364.1) Yes
May 2020 Update (19041) Not tested
November 2019 Update (18363) Not tested
May 2019 Update (18362) Not tested
October 2018 Update (17763) Not tested

Additional context

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingfixedIssue has been fixed in an upcoming or existing release

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions