com.hp.hpl.jena.sparql.engine.http.QueryExceptionHTTP

File not found" My first thought was because CheckpointSyncMode=2, it blocks the query. But I managed to get this exception when CheckpointSyncMode=1. Unfortunately, I'm not able to copy more code than the method call; but I can reproduce it with any SPARQL query. ResponseResult resultsAndBindings = APIEndpointUtil.call(req, nb, match, contextPath, queryParams); Here is the stacktrace: HttpException: 404 File not found

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • File not found" My first thought was because CheckpointSyncMode=2, it blocks the query. But I managed to get this exception when CheckpointSyncMode=1. Unfortunately, I'm not able to copy more code than the method call; but I can reproduce it with
  • Unexpected error making the query: org.apache.http.conn.HttpHostConnectException: Connection to http://localhost:3030 refused
  • Stack trace

    • com.hp.hpl.jena.sparql.engine.http.QueryExceptionHTTP: File not found" My first thought was because CheckpointSyncMode=2, it blocks the query. But I managed to get this exception when CheckpointSyncMode=1. Unfortunately, I'm not able to copy more code than the method call; but I can reproduce it with any SPARQL query. ResponseResult resultsAndBindings = APIEndpointUtil.call(req, nb, match, contextPath, queryParams); Here is the stacktrace: HttpException: 404 File not found at com.hp.hpl.jena.sparql.engine.http.HttpQuery.execCommon(HttpQuery.java:446) at com.hp.hpl.jena.sparql.engine.http.HttpQuery.execPost(HttpQuery.java:344) at com.hp.hpl.jena.sparql.engine.http.HttpQuery.exec(HttpQuery.java:239) at com.hp.hpl.jena.sparql.engine.http.QueryEngineHTTP.execSelect(QueryEngineHTTP.java:302) at com.epimorphics.lda.sources.SourceBase.executeSelect(SourceBase.java:110) at com.epimorphics.lda.query.APIQuery.requestTotalCount(APIQuery.java:917) at com.epimorphics.lda.core.APIEndpointImpl.call_revised(APIEndpointImpl.java:112) at com.epimorphics.lda.core.APIEndpointImpl.call(APIEndpointImpl.java:92) at com.epimorphics.lda.core.APIEndpointUtil.call(APIEndpointUtil.java:53)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.