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

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

Open
ibbenz opened this issue Aug 12, 2022 · 6 comments
Open

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

ibbenz opened this issue Aug 12, 2022 · 6 comments

Comments

@ibbenz
Copy link

ibbenz commented Aug 12, 2022

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

@hmiguim
Copy link
Member

hmiguim commented Sep 20, 2022

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

@ibbenz
Copy link
Author

ibbenz commented Sep 21, 2022

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.

@hmiguim
Copy link
Member

hmiguim commented Sep 21, 2022

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

@luis100
Copy link
Member

luis100 commented Sep 21, 2022

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.

@ibbenz
Copy link
Author

ibbenz commented Sep 22, 2022

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?

@hmiguim
Copy link
Member

hmiguim commented Sep 22, 2022

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

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

No branches or pull requests

3 participants