Beetuyadav / google-api-objectivec-client

Automatically exported from code.google.com/p/google-api-objectivec-client
0 stars 0 forks source link

Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'no result or error in response: #17

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Set deployment target to 4.0.
2.run app in iOS 4.0.
3.

What is the expected output? What do you see instead?
It shouldn't have crashed

What version of the product are you using? On what operating system?
iOS 4.0 Lion

Please provide any additional information below.

Original issue reported on code.google.com by mobilesy...@gmail.com on 12 Jul 2012 at 9:30

GoogleCodeExporter commented 9 years ago
What app does this refer to?  What line of code is crashing?

Original comment by grobb...@google.com on 13 Jul 2012 at 2:58

GoogleCodeExporter commented 9 years ago
Its crashing in GTLService class at " GTL_DEBUG_ASSERT(errorJSON != nil, @"no 
result or error in response:\n%@",jsonWrapper);"

When i commented this line, it wasn't crashing but when i try to fetch or 
Add/update/delete any task it gives me error " Failed to add task:Error 
Domain=com.google.GTLJSONRPCErrorDomain Code=0 "The operation couldn’t be 
completed. (com.google.GTLJSONRPCErrorDomain error 0.)" UserInfo=0x55bd3d0 
{GTLStructuredError=GTLErrorObject 0x55bd280: {}}"

The same code works fine for iOS 5,But when i rum my project in smulator4.3 it 
gives me the error.

Original comment by mobilesy...@gmail.com on 13 Jul 2012 at 6:14

GoogleCodeExporter commented 9 years ago
For iOS 4 compatibility, be sure your app includes the files from the project's 
Source/JSON directory.

Original comment by grobb...@google.com on 13 Jul 2012 at 6:57

GoogleCodeExporter commented 9 years ago
I already have that folder in my project directory, When i include those files 
in app it gives me error 

"ld: duplicate symbol _SBJSONErrorDomain in 
/Users/saquibe/Library/Developer/Xcode/DerivedData/MobileSyncPro-bgevutwmtttxoah
fvnrdydqbdndw/Build/Products/Debug-iphonesimulator/libGTLTouchStaticLib.a(SBJSON
.o) and 
/Users/saquibe/Library/Developer/Xcode/DerivedData/MobileSyncPro-bgevutwmtttxoah
fvnrdydqbdndw/Build/Intermediates/MobileSyncPro.build/Debug-iphonesimulator/Mobi
leSyncPro.build/Objects-normal/i386/SBJSON.o for architecture i386
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang 
failed with exit code 1"

Original comment by mobilesy...@gmail.com on 13 Jul 2012 at 9:59