View Issue Details

IDProjectCategoryView StatusLast Update
0033471CommunityOCCT:Application Frameworkpublic2023-09-11 13:26
Reporterpmanousis Assigned Todpasukhi  
PrioritynormalSeveritycrash 
Status newResolutionopen 
PlatformWindowsOSVC++ 2019 
Product Version7.7.1 
Summary0033471: Application Framework - Crash on TDF_CopyTool::CopyAttributes due to nullptr
DescriptionIn TDF_CopyTool::CopyAttributes the ''' tAtt = sAtt->NewEmpty(); ''' for the ''' TDocStd_Owner ''' is null because the NewEmpty of TDocStd_Owner return a TDF_Attribute, not a new TDocStd_Owner. Changing this, makes everything work as expected.
Steps To ReproduceTry using the XLinkTool.CopyWithLink(target, source); it will see there is an TDocStd_Owner attribute, it will initialize it with NewEmpty, but this will give nullptr exception.
TagsNo tags attached.
Test case number

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2023-09-07 17:05 pmanousis New Issue
2023-09-07 17:05 pmanousis Assigned To => pmanousis
2023-09-07 18:20 dpasukhi Category OCCT:Coding => OCCT:Application Framework
2023-09-07 18:20 dpasukhi Summary Crash on TDF_CopyTool::CopyAttributes due to nullptr => Application Framework - Crash on TDF_CopyTool::CopyAttributes due to nullptr
2023-09-11 11:58 pmanousis Assigned To pmanousis =>
2023-09-11 13:26 dpasukhi Assigned To => dpasukhi