dbptk-developer
dbptk-developer copied to clipboard
Valid (KOST-VAL-Validation) .siard-file cannot be loaded in dbptk
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:
- 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:
Image of the Error:
The file: 0_4-6_oe_Northwind_complex.zip
I did the validation with DBPTK and it reported 4 failed requirements, that is causing the browse incident.
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.
DBPTK Desktop uses under the hood DBPTK Developer which can be used as a command-line tool to validate the SIARD.
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.
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?
You can find the link in Releases: https://github.com/keeps/dbptk-developer/releases/tag/v2.10.1