linkedhumanities / lode

Linked Open Data Enhancer
4 stars 0 forks source link

[IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: "" "] #3

Closed mniepert closed 11 years ago

mniepert commented 11 years ago

Examples:

http://drachten.informatik.uni-mannheim.de/link/dbpedia/thinker:t2910 http://drachten.informatik.uni-mannheim.de/link/dbpedia/entity:e16

Execution exception [IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: "" "] In /opt/lode/app/utils/StringUtil.java at line 61. 58 String result = new String(s); 59 60 try { 61 result = URLDecoder.decode(s, "UTF8"); 62 } catch(UnsupportedEncodingException e) { 63 e.printStackTrace(); 64 } 65 66

sztyler commented 11 years ago

Is there any way to reproduce this problem?

mniepert commented 11 years ago

I'm not able to replicate the error because the URLs mentioned above return a weird page saying "error-no-person-bla". Not sure if that's because the URI doesn't exist anymore.

sztyler commented 11 years ago

please try to search the persons again

mniepert commented 11 years ago

It seems to work now (I found the entity for the id). The issue can be closed.

sztyler commented 11 years ago

I could reproduce this problem with another entity.

sztyler commented 11 years ago

fixed in revision [master dc58d31e]