MohanRaj S
MohanRaj S

Reputation: 2008

Parse - app termination error

In my chat app while running it shows the following error with parse,

 Trying to retrieve from cache
 *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'This query has an outstanding network connection. You have to wait until it's done.'

Whats wrong with this,please help me out?Thanks in advance

Upvotes: 0

Views: 625

Answers (2)

Héctor Ramos
Héctor Ramos

Reputation: 9258

You're probably using an old version of the Parse iOS SDK. Updating to the latest version should resolve this issue.

Upvotes: 0

lxt
lxt

Reputation: 31304

(For clarity, the OP is referring to the parse.com BaaS SDK).

You're probably trying to do something to a PFQuery while it's in the middle of the previous operation. Parse objects can only perform one network operation at a time. Look through your code to see whether you're making two query calls on the same query object without waiting for the first to complete.

Upvotes: 4

Related Questions