Please help me to fix the following odatagen issue:
Command line: ./odatagen /uri=
http://odata.netflix.com/v1/Catalog/ /out=/Users/sontmai/Desktop/ODatagenApp
Exception:
2011-05-20 14:14:14.056 odatagen[3356:903] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSPathStore2 substringToIndex:]: Range or index out of bounds'
*** Call stack at first throw:
(
0 CoreFoundation 0x900da6ba __raiseError + 410
1 libobjc.A.dylib 0x99836509 objc_exception_throw + 56
2 CoreFoundation 0x900da3e8 +[NSException raise:format:arguments:] + 136
3 CoreFoundation 0x900da35a +[NSException raise:format:] + 58
4 Foundation 0x99411120 -[NSString substringToIndex:] + 133
5 odatagen 0x00002f39 getFileName + 176
6 odatagen 0x00003742 main + 347
7 odatagen 0x00001d75 start + 53
8 ??? 0x00000003 0x0 + 3
)
Trace/BPT trap