Otatagennoe application to complete due to the uncaught exception "NSRangeException"

Please help me fix the following odatagen problem:

Command line: ./odatagen/uri=http: //odata.netflix.com/v1/Catalog//out = / Users / sontmai / Desktop / ODatagenApp

An exception:

2011-05-20 14: 14: 14.056 odatagen [3356: 903] * Application terminated due to an uncaught exception "NSRangeException", reason: " - [NSPathStore2 substringToIndex:]: range or index beyond borders' ** 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 +: 0x1994 + +: 4x991 + 58411 + - [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

+3
source share
1 answer

, odatagen Mac.

odatagen ,

.../ProjectFiles/Framework/src/odatagen/ 

. , ... /ProjectFiles/Framework/src/odatagen/odatagen.xcodeproj XCode , odatagen, .

, , . ,

.../ProjectFiles/Framework/src/odatagen/build/... 

, , odatagen .

+4

All Articles