dbptk-developer icon indicating copy to clipboard operation
dbptk-developer copied to clipboard

Valid (KOST-VAL-Validation) .siard-file cannot be loaded in dbptk

Open ibbenz opened this issue 2 years ago • 6 comments

Description: I want to upload a .siard-file into dbptk. I validated the file with KOST-Val. dbptk throws the following error: Could not import the metadata to the Solr instance: Metadata editing only supports SIARD version 1, 2.0, 2.1

Steps required to reproduce the bug:

  1. Load the attached file into dbptk. (don't forget to change the extension from .zip to .siard)

Attach the dbptk-app.log.txt file below. dbvtk.log

Image of the validation: KOST_VAL_Validation

Image of the Error: Import_Error

The file: 0_4-6_oe_Northwind_complex.zip

ibbenz avatar Aug 12 '22 13:08 ibbenz

I did the validation with DBPTK and it reported 4 failed requirements, that is causing the browse incident.

hmiguim avatar Sep 20 '22 16:09 hmiguim

Up to now I was not able to validate the file with DBPTK Desktop due to the fact, that I had to load/open the file in DBPTK first before the validation-UI appears.

How is it possible to validate the file with DBPTK without opening/loading it into the DBPTK Desktop?

As soon as I know that, I can check which requirements are not achieved.

ibbenz avatar Sep 21 '22 09:09 ibbenz

DBPTK Desktop uses under the hood DBPTK Developer which can be used as a command-line tool to validate the SIARD.

hmiguim avatar Sep 21 '22 10:09 hmiguim

Up to now I was not able to validate the file with DBPTK Desktop due to the fact, that I had to load/open the file in DBPTK first before the validation-UI appears.

How is it possible to validate the file with DBPTK without opening/loading it into the DBPTK Desktop?

As soon as I know that, I can check which requirements are not achieved.

The issue seems to be a NullPointerException (NPE), mostly points to an unexpected situation, something that we assumed was always there and in this case is not. We would need the stacktrace of the NPE to find out where this is happening and allow the interface to be shown even when file opened is not a SIARD or is an invalid SIARD.

luis100 avatar Sep 21 '22 16:09 luis100

java -jar "-Dfile.encoding=UTF-8" dbptk-app-X.Y.Z.jar

DBPTK Desktop uses under the hood DBPTK Developer which can be used as a command-line tool to validate the SIARD.

Accordingly to the dbptk-Developer information of the DBPTK homepage the file dbptk-app....jar is needed. java -jar "-Dfile.encoding=UTF-8" dbptk-app-X.Y.Z.jar I didn't find the .jar in the git-folders of https://github.com/keeps/dbptk-developer.

Can you post the downloadlink to the DBPTK-Developer please?

ibbenz avatar Sep 22 '22 07:09 ibbenz

You can find the link in Releases: https://github.com/keeps/dbptk-developer/releases/tag/v2.10.1

hmiguim avatar Sep 22 '22 08:09 hmiguim