Describe the bug
I wan to create a digital nameplate with the help of digital nameplate viewers.
To Reproduce
Steps to reproduce the behavior:
Create a new AAS
At the AAS, click "Create new submodel of kind instance"
Click "Create data element" for semanticId
Choose ModelReference
Click "Add blank"
Choose Submodel
Enter https://admin-shell.io/zvei/nameplate/1/0/Nameplate
Save the AASX file. This will trigger the display of the nameplate viewers.
Click on the viewer DN2
An exception happens. The viewer displays nothing.
Log:
Error: render AnyUI based visual extension for plugin AasxPluginDigitalNameplate:
Exception has been thrown by the target of an invocation.
Exception has been thrown by the target of an invocation.
InnerException: Object reference not set to an instance of an object. at
at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at AasxPackageLogic.Plugins.PluginInstance.InvokeAction(String name, Object[] args) in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxPackageLogic\Plugins.cs:line 128
at AasxPackageExplorer.DispEditAasxEntity.DisplayOrEditVisualAasxElement(PackageCentral packages, AnyUiDisplayContextWpf displayContext, ListOfVisualElementBasic entities, Boolean editMode, Boolean hintMode, Boolean showIriMode, Nullable`1 cdSortOrder, IFlyoutProvider flyoutProvider, IPushApplicationEvent appEventProvider, HighlightFieldInfo hightlightField, AasxMenu superMenu)
in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxWpfControlLibrary\DispEditAasxEntity.xaml.cs:line 534.Inner message: Object reference not set to an instance of an object.
Expected behavior
No exception.
The nameplate viewer displays an empty nameplate.
Screenshots
Desktop (please complete the following information):
OS: Windows 10
Browser: N/A
Smartphone (please complete the following information):
None
Describe the bug I wan to create a digital nameplate with the help of digital nameplate viewers.
To Reproduce Steps to reproduce the behavior:
https://admin-shell.io/zvei/nameplate/1/0/Nameplate
Log:
Expected behavior No exception. The nameplate viewer displays an empty nameplate.
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information): None
Additional context Version 2023-11-17