Is there a problem with "Check, validate and fix" option? Whe i press the button, this messasge appears: "error while checking model contents. Aborting"
To Reproduce
Steps to reproduce the behavior:
Create an AAS
Create a submodel
Save
Go to File option, then "check, validate and fix" option
See error
This message appears in log: "Error: Checking model contents: Object reference not set to an instance of an object. Object reference not set to an instance of an object. at at Extensions.ExtendSubmodel.Validate(Submodel submodel, AasValidationRecordList results) in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxCsharpLibrary\Extensions\ExtendSubmodel.cs:line 116
at Extensions.ExtendIReferable.Validate(IReferable referable, AasValidationRecordList results) in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxCsharpLibrary\Extensions\ExtendIReferable.cs:line 173
at Extensions.ExtendEnvironment.ValidateAll(Environment environment) in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxCsharpLibrary\Extensions\ExtendEnvironment.cs:line 45
at AasxPackageExplorer.MainWindow.CommandBinding_CheckAndFix() in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxPackageExplorer\MainWindow.CommandBindings.cs:line 411."
Expected behavior
A clear and concise description of what you expected to happen.
Hi,
Is there a problem with "Check, validate and fix" option? Whe i press the button, this messasge appears: "error while checking model contents. Aborting"
To Reproduce Steps to reproduce the behavior:
This message appears in log: "Error: Checking model contents: Object reference not set to an instance of an object. Object reference not set to an instance of an object. at at Extensions.ExtendSubmodel.Validate(Submodel submodel, AasValidationRecordList results) in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxCsharpLibrary\Extensions\ExtendSubmodel.cs:line 116 at Extensions.ExtendIReferable.Validate(IReferable referable, AasValidationRecordList results) in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxCsharpLibrary\Extensions\ExtendIReferable.cs:line 173 at Extensions.ExtendEnvironment.ValidateAll(Environment environment) in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxCsharpLibrary\Extensions\ExtendEnvironment.cs:line 45 at AasxPackageExplorer.MainWindow.CommandBinding_CheckAndFix() in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxPackageExplorer\MainWindow.CommandBindings.cs:line 411."
Expected behavior A clear and concise description of what you expected to happen.
Screenshots
Thanks