On 19/02/14 12:45, Paton, Diego wrote:
Hi,

After updating the dependency to 2.11.1, I get this error when executes this 
line:

Exception in thread "main" java.lang.NoSuchFieldError: DEF_CONTENT_CHARSET

Java error. You need to update the dependencies as well.

at 
org.apache.http.impl.client.DefaultHttpClient.setDefaultHttpParams(DefaultHttpClient.java:175)

Why not issue the request using curl or wget to grab the HTTP response and look at [row,col {unknown-source}]: [5859511,312]

My guess is that data has a charset error Nothing to do the results themselves.

Also, try a different format. Ask for TSV or JSON (--header "Accept: application/sparql-results+json" etc)

*   After processing around 400k of results, we have this exception:

            com.ctc.wstx.exc.WstxUnexpectedCharException: Illegal
character ((CTRL-CHAR, code 2))
at [row,col {unknown-source}]: [5859511,312]
at com.ctc.wstx.sr.StreamScanner.throwInvalidSpace(StreamScanner.java:675)
at
com.ctc.wstx.sr.BasicStreamReader.readTextSecondary(BasicStreamReader.java
:4668)



*   I have tried with showing the results using a ResultSetFormatter
but I obtain the same exception:

That is still getting it as XML and the writing locally as TSV.


ResultSetFormatter.outputAsTSV(System.out, resultSet);


I would say that the ontology is well formed with the correct encoding in
TBD, because through Fuseki we are able to obtain correct results.

Example?


I have read documentation related to this, but I can't find a way to set
the correct encoding if it is required. Or It is possible that I am not
using the correct way to execute it.

I would be grateful if you could help me.

Thanks in advance.


Diego Paton.








Reply via email to