International-Data-Spaces-Association / DataspaceConnector

This is an IDS Connector reference implementation.
Apache License 2.0
33 stars 29 forks source link

NullPointerException when downloading AppResource from Appstore #720

Open ftgyi2cat opened 1 year ago

ftgyi2cat commented 1 year ago

Describe the bug When trying to deploy a Data App in the Connector, the Connector downloads the AppResource from the Appstore. The artifact class in the appstore is missing the fileName field, and that gives a null pointer when the connector tries to parse the data.

To Reproduce Download a data app from the connector. The error comes from line 243 in AdditionalUtils.java, when trying to do: (Artifact) list.get(0)).getFileName();

Screenshots & Logs image