NullReferenceException when calling Shape.RefreshData()

Hello,

I am using Aspose.Diagram for .NET 26.1 and I encounter a System.NullReferenceException when calling Shape.RefreshData().

I am attaching the code, the input file (input1.vsdx), and the stream file (Basic Shapes.vss).
code.zip (282.4 KB)

The behavior is reproducible in both Aspose.Diagram 26.1 and 26.4 (.NET 4.8).

Best regards,

@ISIWARE
Thanks for the template file and sample codes.
We reproduced the problems you mentioned . We need to evaluate your issue in details.
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): DIAGRAMNET-53936

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

Hello,

I noticed that the ticket WORDSNET-29173 has been marked as Resolved on your forum.

However, in your previous message, you indicated that the issue had only been logged and would be fixed according to the Free Support Policies.

Could you please clarify why the status is now marked as resolved?
Has a fix already been implemented, or is there a workaround available that I may have missed?

Thank you in advance for your clarification.
Best regards,

@ISIWARE
This is to inform you that your issue (DIAGRAMNET-53936) has been resolved now. The fix will be included in an upcoming release (Aspose.Diagram v26.5) that we plan to release in the first half of May 2026. You will be notified when the next version is released.
Thanks.