iOS Facebook Login from Phonegap application crashes app -


i use facebook-connect plugin in phonegap (cordova 2.5) application on ios. worked well, tested application on various devices , released store. passed review , baaammm: facebook login not working anymore on devices.

when loading facebook-plugin goes well. facebook-app launches screen changes white screen blue facebook top header on it, no text appears. error-logs of device says:

class: nsexception; name: nsinternalinconsistencyexception; reason:  invalid update_invalid number of sections.  number of sections contained  in table view after update (4) must equal number of sections  contained in table view before update (5), plus or minus number of  sections inserted or deleted (1 inserted, 1 deleted).; 

the full error log attached below.

does 1 know cause issue? afterwards have kill application hand working again. uninstalling complete application , reinstalling store solved problem, seems occur if update application.

thanks help!

sebastian

may  2 14:44:16 iphone-von-felipe facebook[155] <warning>: encountered exception: device: iphone; app_version: 6.0.2; build_number: 183159; ios_version: 5.1.1; model: iphone; load_address: 0x11000; jail_broken: no; class: nsexception; name: nsinternalinconsistencyexception; reason: invalid update_ invalid number of sections.  number of sections contained in table view after update (4) must equal number of sections contained in table view before update (5), plus or minus number of sections inserted or deleted (1 inserted, 1 deleted).; time: 1367498312; backtrace:  thread #0 crashed: 0   corefoundation                      0x371b98a7 __exceptionpreprocess + 186 1   libobjc.a.dylib                     0x34ebe259 objc_exception_throw + 32 2   corefoundation                      0x371b9789 +[nsexception raise_format_] + 0 3   foundation                          0x379f83a3 -[nsassertionhandler handlefailureinmethod_object_file_linenumber_description_] + 90 4   uikit                               0x30f44b45 -[uitableview(_uitableviewprivate) _endcellanimationswithcontext_] + 8304 5   uikit                               0x30fbb209 -[uitableview _updatesections_updateaction_withrowanimation_] + 308 6   uikit                               0x3105fccd -[uitableview reloadsections_withrowanimation_] + 32 7   facebook                            0x004b0aa3 _znst3__13mapiipn6webrtc7mapitemens_4lessiieens_9allocatorins_4pairikis3_eeeeeixers8_ + 1042030 8   facebook                            0x004b0209 _znst3__13mapiipn6webrtc7mapitemens_4lessiieens_9allocatorins_4pairikis3_eeeeeixers8_ + 1039828 9   facebook                            0x00a5a86b _znst3__13mapins_12basic_stringicns_11char_traitsiceens_9allocatoriceeees6_ns_4lessis6_eens4_ins_4pairiks6_s6_eeeee16__find_equal_keyerpns_16__tree_node_baseipveersa_ + 1280626 10  facebook                            0x00649e2b _znst3__113__vector_basei17contextawareblockns_9allocatoris1_eeed2ev + 1078378 11  libdispatch.dylib                   0x302d9c59 _dispatch_call_block_and_release + 12 12  libdispatch.dylib                   0x302e4e91 _dispatch_main_queue_callback_4cf$variant$up + 196 13  corefoundation                      0x3718c2ad __cfrunlooprun + 1268 14  corefoundation                      0x3710f4a5 cfrunlooprunspecific + 300 15  corefoundation                      0x3710f36d cfrunloopruninmode + 104 16  graphicsservices                    0x338ce439 gseventrunmodal + 136 17  uikit                               0x30ebbcd5 uiapplicationmain + 1080 18  facebook                            0x000132f5 _mh_execute_header + 8949 19  facebook                            0x000132b8 _mh_execute_header + 8888  thread #1: 0   libsystem_kernel.dylib              0x313603a8 kevent + 24   may  2 14:44:18 iphone-von-felipe com.apple.accountsd[196] <notice>: exiting...   may  2 14:44:22 iphone-von-felipe sandboxd[198] <notice>: facebook(155) deny file-write-create /private/var/mobile/applications/ac8f9f4d-8cc6-4f0f-bdf8-97eaf587ef1b   may  2 14:44:23 iphone-von-felipe sandboxd[198] <notice>: facebook(155) deny file-write-create /private/var/mobile/applications/ac8f9f4d-8cc6-4f0f-bdf8-97eaf587ef1b  may  2 14:44:26 iphone-von-felipe facebook[155] <error>: cgcontextgetctm: invalid context 0x0   may  2 14:44:26 iphone-von-felipe uikitapplication:com.facebook.facebook[0x13c0][155] <notice>: may  2 14:44:26 iphone-von-felipe facebook[155] <error>: cgcontextgetctm: invalid context 0x0   may  2 14:44:26 iphone-von-felipe facebook[155] <error>: cgcontextsavegstate: invalid context 0x0   may  2 14:44:26 iphone-von-felipe uikitapplication:com.facebook.facebook[0x13c0][155] <notice>: may  2 14:44:26 iphone-von-felipe facebook[155] <error>: cgcontextsavegstate: invalid context 0x0   may  2 14:44:26 iphone-von-felipe facebook[155] <error>: cgcontextcliptorect: invalid context 0x0   may  2 14:44:26 iphone-von-felipe uikitapplication:com.facebook.facebook[0x13c0][155] <notice>: may  2 14:44:26 iphone-von-felipe facebook[155] <error>: cgcontextcliptorect: invalid context 0x0   may  2 14:44:26 iphone-von-felipe facebook[155] <error>: cgcontextdrawtiledimage: invalid context 0x0   may  2 14:44:26 iphone-von-felipe uikitapplication:com.facebook.facebook[0x13c0][155] <notice>: may  2 14:44:26 iphone-von-felipe facebook[155] <error>: cgcontextdrawtiledimage: invalid context 0x0   may  2 14:44:26 iphone-von-felipe facebook[155] <error>: cgcontextrestoregstate: invalid context 0x0   may  2 14:44:26 iphone-von-felipe uikitapplication:com.facebook.facebook[0x13c0][155] <notice>: may  2 14:44:26 iphone-von-felipe facebook[155] <error>: cgcontextrestoregstate: invalid context 0x0   may  2 14:44:26 iphone-von-felipe facebook[155] <error>: cgcontextgetctm: invalid context 0x0   may  2 14:44:26 iphone-von-felipe uikitapplication:com.facebook.facebook[0x13c0][155] <notice>: may  2 14:44:26 iphone-von-felipe facebook[155] <error>: cgcontextgetctm: invalid context 0x0   may  2 14:44:26 iphone-von-felipe facebook[155] <error>: cgcontextsavegstate: invalid context 0x0   may  2 14:44:26 iphone-von-felipe uikitapplication:com.facebook.facebook[0x13c0][155] <notice>: may  2 14:44:26 iphone-von-felipe facebook[155] <error>: cgcontextsavegstate: invalid context 0x0   may  2 14:44:26 iphone-von-felipe facebook[155] <error>: cgcontextcliptorect: invalid context 0x0   may  2 14:44:26 iphone-von-felipe uikitapplication:com.facebook.facebook[0x13c0][155] <notice>: may  2 14:44:26 iphone-von-felipe facebook[155] <error>: cgcontextcliptorect: invalid context 0x0   may  2 14:44:26 iphone-von-felipe facebook[155] <error>: cgcontextdrawtiledimage: invalid context 0x0   may  2 14:44:26 iphone-von-felipe uikitapplication:com.facebook.facebook[0x13c0][155] <notice>: may  2 14:44:26 iphone-von-felipe facebook[155] <error>: cgcontextdrawtiledimage: invalid context 0x0   may  2 14:44:26 iphone-von-felipe facebook[155] <error>: cgcontextrestoregstate: invalid context 0x0   may  2 14:44:26 iphone-von-felipe uikitapplication:com.facebook.facebook[0x13c0][155] <notice>: may  2 14:44:26 iphone-von-felipe facebook[155] <error>: cgcontextrestoregstate: invalid context 0x0   may  2 14:44:26 iphone-von-felipe facebook[155] <error>: cgcontextrestoregstate: invalid context 0x0   may  2 14:44:26 iphone-von-felipe uikitapplication:com.facebook.facebook[0x13c0][155] <notice>: may  2 14:44:26 iphone-von-felipe facebook[155] <error>: cgcontextrestoregstate: invalid context 0x0   may  2 14:44:26 iphone-von-felipe facebook[155] <error>: cgcontextsavegstate: invalid context 0x0   may  2 14:44:26 iphone-von-felipe uikitapplication:com.facebook.facebook[0x13c0][155] <notice>: may  2 14:44:26 iphone-von-felipe facebook[155] <error>: cgcontextsavegstate: invalid context 0x0   may  2 14:44:26 iphone-von-felipe facebook[155] <error>: cgcontextsetblendmode: invalid context 0x0 

edit solved it. caused requiring read , write permissions simultanously.

we solved it. caused requiring read , write permissions simultanously.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -