Dont worry, just a wrong parameter on a CBLLiveQuery.keys sent a CBLQueryRow instead of a NSString.
Thanks! 2014-02-21 20:50 GMT-05:00 Jens Alfke <[email protected]>: > > On Feb 21, 2014, at 4:59 PM, Frederic Yesid Peña Sánchez < > [email protected]> wrote: > > 2014-02-21 19:57:05.212 XXXXXX[993:461b] *** Terminating app due to > uncaught exception 'NSInvalidArgumentException', reason: 'Invalid type in > JSON write (CBLQueryRow)' > > > "Invalid type" doesn't appear anywhere in the Couchbase Lite sources, so I > think that exception comes from NSJSONSerialization. Apparently it found a > CBLQueryRow object in an array/dictionary being converted to JSON. Sounds > like you tried to put one of those into a document somehow? > > Knowing the backtrace would help. Set an all-exceptions breakpoint in > Xcode (go to the breakpoints tab of the navigator and press the "+" button > at the bottom left.) > > --Jens > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Couchbase Mobile" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/mobile-couchbase/MZCeNGIuV5A/unsubscribe > . > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/mobile-couchbase/146541B1-EC60-40D4-BC6A-051AD0FCDB16%40couchbase.com > . > > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/CAD0KcgXKnb8Atqmt%2BXkDmXftcQmyyqPZ1KhXUxp-NsEtuRxUTg%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
