1

I've always used HJCache without problems, but with a particular imageset in a tableview i get continuous errors.

2011-10-31 13:39:12.890 Koopeenveilinghuis[5576:607] moHandlerFailed HJMOHandler users:1 retains:3 2011-10-31 13:39:19.809 Koopeenveilinghuis[5576:607] HJMOHandler URLConnection failed Error Domain=NSURLErrorDomain Code=-1002 "unsupported URL" UserInfo=0x4cc9020 {NSErrorFailingURLStringKey=, NSErrorFailingURLKey=, NSLocalizedDescription=unsupported URL, NSUnderlyingError=0x4cbfed0 "unsupported URL"} 2011-10-31 13:39:19.811 Koopeenveilinghuis[5576:607] moHandlerFailed HJMOHandler users:2 retains:4 2011-10-31 13:39:19.823 Koopeenveilinghuis[5576:607] moHandlerFailed HJMOHandler users:2 retains:4 2011-10-31 13:39:32.106 Koopeenveilinghuis[5576:607] HJMOHandler URLConnection failed Error Domain=NSURLErrorDomain Code=-1002 "unsupported URL" UserInfo=0x4ccc0e0 {NSErrorFailingURLStringKey=, NSErrorFailingURLKey=, NSLocalizedDescription=unsupported URL, NSUnderlyingError=0x4ccc110 "unsupported URL"} 2011-10-31 13:39:32.111 Koopeenveilinghuis[5576:607] moHandlerFailed HJMOHandler users:1 retains:3

Images overlap every couple of cells.

JOM
  • 8,139
  • 6
  • 78
  • 111
MaikelS
  • 1,309
  • 4
  • 16
  • 33
  • somehow on topic: had "unsupported URL" Code=-1002 with a NSUrl for 'www.stuff.something'. solved with 'http: //www.stuff.something' (remove spaces) – codrut Aug 27 '12 at 16:58

1 Answers1

5

NSURLErrorUnsupportedURL
Returned when a properly formed URL cannot be handled by the framework. The most likely cause is that there is no available protocol handler for the URL.

No mistery there, the URL lacks a supported protocol. This happens because the protocol is not supported, or because the URL is missing completely. Since NSErrorFailingURLStringKey is empty, the later seems to be the case.

Jano
  • 62,815
  • 21
  • 164
  • 192