I’ve got a property change script that works well. For some reason I get a null pointer error in my script now. I’ve tried adding checks before it gets to the line that causes the issue but I’m still getting the error. Shouldn’t my if statements catch the null and just do nothing with it?
if event.propertyName == 'selectedTab':
selectedTab = event.source.selectedTab
if selectedTab and event.source.parent.getComponent('Tier2_'+selectedTab).tabData:
event.source.parent.getComponent('Tier2').tabData = event.source.parent.getComponent('Tier2_'+selectedTab).tabData
This error never occurs during “normal runtime” but only when I save the designer - still somewhat annoying for the operators.
