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

Evaluation client does not support .tar files #226

Open
FelixFrizzy opened this issue Sep 19, 2024 · 1 comment
Open

Evaluation client does not support .tar files #226

FelixFrizzy opened this issue Sep 19, 2024 · 1 comment

Comments

@FelixFrizzy
Copy link

FelixFrizzy commented Sep 19, 2024

Describe the bug

When i run java -jar matching-eval-client-latest.jar --systems logmap-melt-oaei-2021-web-latest.tar --track conference

the docker matcher is not correctly loaded (and an HTTP / API matcher is assumed which results in errors). In the last years the matchers were *.tar.gz, but this year they are *.tar.

To Reproduce

Steps to reproduce the behavior:
run the command provided above.
I used the one from the link in the documentation.

Full log output

Please paste the FULL log output (which is generated during your run) below:

java -jar matching-eval-client-latest.jar --systems logmap-melt-oaei-2021-web-latest.tar --track http://oaei.webdatacommons.org/tdrs/ dh 2024all
WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
2024-09-19 13:44:03,777 INFO  MeltUtil                  - Welcome to
 __  __ ______ _   _______ 
|  \/  |  ____| | |__   __|
| \  / | |__  | |    | |   
| |\/| |  __| | |    | |   
| |  | | |____| |____| |   
|_|  |_|______|______|_|    3.4-SNAPSHOT (git commit 403d384)
2024-09-19 13:44:03,784 INFO  Track                     - Track cache folder is: /Users/felixernst/oaei_track_cache
Recognized HTTP URL matcher endpoint:
../Matcher/DockerMatcher/logmap-melt-oaei-2021-web-latest.tar
Exception in thread "main" java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because the return value of "java.net.URI.getScheme()" is null
        at de.uni_mannheim.informatik.dws.melt.matching_base.external.http.MatcherHTTPCall.<init>(MatcherHTTPCall.java:105)
        at de.uni_mannheim.informatik.dws.melt.matching_base.external.http.MatcherHTTPCall.<init>(MatcherHTTPCall.java:125)
        at de.uni_mannheim.informatik.dws.melt.matching_base.external.http.MatcherHTTPCall.<init>(MatcherHTTPCall.java:135)
        at de.uni_mannheim.informatik.dws.melt.matching_eval_client.Main.main(Main.java:178)

This can be solved for now by renaming the (OAEI 2024) files from .tar to .tar.gz.

@sven-h
Copy link
Member

sven-h commented Sep 19, 2024

The files that are uploaded are usually tar.gz files but sometimes the file ending is just not correct (e.g. xxx.tar.yyyy.gz).
Up to now now tar.gz files are accepted. Thus for a quick fix, just change either the file ending (or in case it is really only a tar file, gzip it first).

I leave the issue open to improve the client to also accept tar files.

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

No branches or pull requests

2 participants