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

NPE when ran out of the box #1

Open
chrisrafferty-adaraga opened this issue Jan 8, 2020 · 1 comment
Open

NPE when ran out of the box #1

chrisrafferty-adaraga opened this issue Jan 8, 2020 · 1 comment

Comments

@chrisrafferty-adaraga
Copy link

You get the following NPE when running straight out of the box. I've done a little investigation and it looks like query to retrieve the list files is too long, exceeding the uri length accepted by the dbpedia sparql endpoint? Maybe this should be changed to a 'post' rather than a 'get' with the query in the body?

databus-download_1 | java.lang.NullPointerException databus-download_1 | at java.io.StringReader.<init> (StringReader.java:50) databus-download_1 | at org.json.JSONTokener.<init> (JSONTokener.java:94) databus-download_1 | at org.json.JSONObject.<init> (JSONObject.java:399) databus-download_1 | at org.dbpedia.download.Client.main (Client.java:103) databus-download_1 | at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) databus-download_1 | at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) databus-download_1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) databus-download_1 | at java.lang.reflect.Method.invoke (Method.java:498) databus-download_1 | at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:282) databus-download_1 | at java.lang.Thread.run (Thread.java:748)

@holycrab13
Copy link
Contributor

Switched the GET to a POST, this should be fixed

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