Search Issue Tracker

Fixed

Fixed in 6000.6.0a1

Votes

0

Found in

6000.3.9f1

6000.4.0b9

6000.5.0a7

6000.6.0a1

Issue ID

UUM-135897

Regression

Yes

A NullReferenceException error is thrown when a Painter2D path is saved to a VectorImage without setting a fill color

UI Toolkit Graphics

-

How to reproduce:
1. Open the attached project “IN-135583”
2. In the menu bar, select “Repro → Create VectorImage”
3. Observe the Console

Actual result: “NullReferenceException: Object reference not set to an instance of an object” error is thrown in the Console
Expected result: No errors are thrown in the Console

Reproducible with: 6000.3.0a4, 6000.3.10f1, 6000.4.0b10, 6000.5.0a7
Not reproducible with: 6000.0.68f1, 6000.3.0a3

Reproducible on: Windows 11
Not reproducible on: No other environments tested

Workaround: Setting a fill color before saving the image

Note: Reproduction is inconsistent, with the error message sometimes not appearing on the first attempt

  1. Resolution Note:

    This problem was fixed as part of UUM-128715.

  2. Resolution Note (fix version 6000.6.0a1):

    This problem was fixed as part of UUM-128715.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.