Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Error while checking model contents. Aborting #696

Open
jaalvarado20 opened this issue Mar 4, 2024 · 1 comment
Open

Error while checking model contents. Aborting #696

jaalvarado20 opened this issue Mar 4, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@jaalvarado20
Copy link

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:

  1. Create an AAS
  2. Create a submodel
  3. Save
  4. Go to File option, then "check, validate and fix" option
  5. 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.

Screenshots
image
image

Thanks

@jaalvarado20 jaalvarado20 added the bug Something isn't working label Mar 4, 2024
@PratikTarpara
Copy link

Even I face the same error. I also tried some examples https://admin-shell-io.com/samples/ from this website, and it also shows the same error.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants