Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template_HierarchicalStructuresEnablingBoM not opening in AASX Package Explorer #66

Closed
NLIFTTUW opened this issue May 28, 2024 · 3 comments
Assignees

Comments

@NLIFTTUW
Copy link

No Problems opening any other Templates using Package Explorer V3.0 either via File/Open/... or Drag&Drop other than with the HierarchialStructures Template

Error: while receiving file drop to window: PackageCentral: while performing load from C:\Users\User\Desktop\Asset Administration Shell\Templates\Bill Of Materials\IDTA 02011-1-0_Template_HierarchicalStructuresEnablingBoM.aasx at \PackageCentral.cs:line 83 gave: One or more errors occurred. (While opening aasx C:\Users\User\AppData\Local\Temp\tmp6F77.aasx from source local file: C:\Users\User\Desktop\Asset Administration Shell\Templates\Bill Of Materials\IDTA 02011-1-0_Template_HierarchicalStructuresEnablingBoM.aasx buffered to: C:\Users\User\AppData\Local\Temp\tmp6F77.aasx at \AdminShellPackageEnv.cs:line 491 gave: While reading the AASX C:\Users\User\AppData\Local\Temp\tmp6F77.aasx at \AdminShellPackageEnv.cs:line 481 gave: While reading spec from the AASX C:\Users\User\AppData\Local\Temp\tmp6F77.aasx at \xmlization.cs:line 20625 gave: The required property Type has not been given in the XML representation of an instance of class Reference at: submodels/[0]/submodelElements/[0]/statements/[0]/statements/[1]/first) PackageCentral: while performing load from C:\Users\User\Desktop\Asset Administration Shell\Templates\Bill Of Materials\IDTA 02011-1-0_Template_HierarchicalStructuresEnablingBoM.aasx at \PackageCentral.cs:line 83 gave: One or more errors occurred. (While opening aasx C:\Users\User\AppData\Local\Temp\tmp6F77.aasx from source local file: C:\Users\User\Desktop\Asset Administration Shell\Templates\Bill Of Materials\IDTA 02011-1-0_Template_HierarchicalStructuresEnablingBoM.aasx buffered to: C:\Users\User\AppData\Local\Temp\tmp6F77.aasx at \AdminShellPackageEnv.cs:line 491 gave: While reading the AASX C:\Users\User\AppData\Local\Temp\tmp6F77.aasx at \AdminShellPackageEnv.cs:line 481 gave: While reading spec from the AASX C:\Users\User\AppData\Local\Temp\tmp6F77.aasx at \xmlization.cs:line 20625 gave: The required property Type has not been given in the XML representation of an instance of class Reference at: submodels/[0]/submodelElements/[0]/statements/[0]/statements/[1]/first)
InnerException: One or more errors occurred. (While opening aasx C:\Users\User\AppData\Local\Temp\tmp6F77.aasx from source local file: C:\Users\User\Desktop\Asset Administration Shell\Templates\Bill Of Materials\IDTA 02011-1-0_Template_HierarchicalStructuresEnablingBoM.aasx buffered to: C:\Users\User\AppData\Local\Temp\tmp6F77.aasx at \AdminShellPackageEnv.cs:line 491 gave: While reading the AASX C:\Users\User\AppData\Local\Temp\tmp6F77.aasx at \AdminShellPackageEnv.cs:line 481 gave: While reading spec from the AASX C:\Users\User\AppData\Local\Temp\tmp6F77.aasx at \xmlization.cs:line 20625 gave: The required property Type has not been given in the XML representation of an instance of class Reference at: submodels/[0]/submodelElements/[0]/statements/[0]/statements/[1]/first)
InnerException: While opening aasx C:\Users\User\AppData\Local\Temp\tmp6F77.aasx from source local file: C:\Users\User\Desktop\Asset Administration Shell\Templates\Bill Of Materials\IDTA 02011-1-0_Template_HierarchicalStructuresEnablingBoM.aasx buffered to: C:\Users\User\AppData\Local\Temp\tmp6F77.aasx at \AdminShellPackageEnv.cs:line 491 gave: While reading the AASX C:\Users\User\AppData\Local\Temp\tmp6F77.aasx at \AdminShellPackageEnv.cs:line 481 gave: While reading spec from the AASX C:\Users\User\AppData\Local\Temp\tmp6F77.aasx at \xmlization.cs:line 20625 gave: The required property Type has not been given in the XML representation of an instance of class Reference at: submodels/[0]/submodelElements/[0]/statements/[0]/statements/[1]/first at at AasxPackageLogic.PackageCentral.PackageCentralItem.Load(PackageCentral packageCentral, String location, String fullItemLocation, Boolean overrideLoadResident, PackageContainerOptionsBase containerOptions, PackCntRuntimeOptions runtimeOptions) in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxPackageLogic\PackageCentral\PackageCentral.cs:line 102
at AasxPackageExplorer.MainWindow.UiLoadPackageWithNew(PackageCentralItem packItem, AdminShellPackageEnv takeOverEnv, String loadLocalFilename, String info, Boolean onlyAuxiliary, Boolean doNotNavigateAfterLoaded, PackageContainerBase takeOverContainer, String storeFnToLRU, Boolean indexItems) in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxPackageExplorer\MainWindow.xaml.cs:line 376
at AasxPackageExplorer.MainWindow.Window_Drop(Object sender, DragEventArgs e) in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxPackageExplorer\MainWindow.xaml.cs:line 3364.Inner message: One or more errors occurred. (While opening aasx C:\Users\User\AppData\Local\Temp\tmp6F77.aasx from source local file: C:\Users\User\Desktop\Asset Administration Shell\Templates\Bill Of Materials\IDTA 02011-1-0_Template_HierarchicalStructuresEnablingBoM.aasx buffered to: C:\Users\User\AppData\Local\Temp\tmp6F77.aasx at \AdminShellPackageEnv.cs:line 491 gave: While reading the AASX C:\Users\User\AppData\Local\Temp\tmp6F77.aasx at \AdminShellPackageEnv.cs:line 481 gave: While reading spec from the AASX C:\Users\User\AppData\Local\Temp\tmp6F77.aasx at \xmlization.cs:line 20625 gave: The required property Type has not been given in the XML representation of an instance of class Reference at: submodels/[0]/submodelElements/[0]/statements/[0]/statements/[1]/first)
Inner message: While opening aasx C:\Users\User\AppData\Local\Temp\tmp6F77.aasx from source local file: C:\Users\User\Desktop\Asset Administration Shell\Templates\Bill Of Materials\IDTA 02011-1-0_Template_HierarchicalStructuresEnablingBoM.aasx buffered to: C:\Users\User\AppData\Local\Temp\tmp6F77.aasx at \AdminShellPackageEnv.cs:line 491 gave: While reading the AASX C:\Users\User\AppData\Local\Temp\tmp6F77.aasx at \AdminShellPackageEnv.cs:line 481 gave: While reading spec from the AASX C:\Users\User\AppData\Local\Temp\tmp6F77.aasx at \xmlization.cs:line 20625 gave: The required property Type has not been given in the XML representation of an instance of class Reference at: submodels/[0]/submodelElements/[0]/statements/[0]/statements/[1]/first

@Rudra-sandeep
Copy link
Collaborator

@NLIFTTUW Please try to open it with the latest version of the AASPE

@SAidta SAidta self-assigned this May 29, 2024
@NLIFTTUW
Copy link
Author

Thank you very much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants