HipByte / RubyMotionSamples

A collection of RubyMotion applications for code samples.
http://www.rubymotion.com
1.21k stars 341 forks source link

Tweets OSX App crashes once built #42

Closed tsugua closed 10 years ago

tsugua commented 10 years ago

RM 2.20

Build ./build/MacOSX-10.9-Development Compile ./app/data_parser.rb Compile ./app/json_parser.rb Compile ./app/tweet.rb Compile ./app/app_delegate.rb Compile ./app/menu.rb Create ./build/MacOSX-10.9-Development/Tweets.app/Contents Create ./build/MacOSX-10.9-Development/Tweets.app/Contents/MacOS Link ./build/MacOSX-10.9-Development/Tweets.app/Contents/MacOS/Tweets Create ./build/MacOSX-10.9-Development/Tweets.app/Contents/PkgInfo Create ./build/MacOSX-10.9-Development/Tweets.app/Contents/Info.plist Copy ./resources/Credits.rtf Create ./build/MacOSX-10.9-Development/Tweets.dSYM Run ./build/MacOSX-10.9-Development/Tweets.app/Contents/MacOS/Tweets 2014-01-29 22:56:07.055 Tweets[79191:7603] data_parser.rb:6:in parse:': exception class/object expected (TypeError) from json_parser.rb:3:inparse_from_url:' from app_delegate.rb:71:in block in search:' 2014-01-29 22:56:07.056 Tweets[79191:7603] An uncaught exception was raised 2014-01-29 22:56:07.056 Tweets[79191:7603] (null) 2014-01-29 22:56:07.056 Tweets[79191:7603] ( "data_parser.rb:6:inparse:'", "json_parser.rb:3:in parse_from_url:'", "app_delegate.rb:71:inblock in search:'" ) 2014-01-29 22:56:07.056 Tweets[79191:7603] * Terminating app due to uncaught exception 'TypeError', reason: 'data_parser.rb:6:in parse:': exception class/object expected (TypeError) from json_parser.rb:3:inparse_from_url:' from app_delegate.rb:71:in `block in search:' ' * First throw call stack: ( 0 CoreFoundation 0x00007fff8a58441c exceptionPreprocess + 172 1 libobjc.A.dylib 0x00007fff8c53ee75 objc_exception_throw + 43 2 Tweets 0x000000010b16a01e _ZL10vm_raisev + 334 3 Tweets 0x000000010b16a0c4 rb_vm_raise + 148 4 Tweets 0x000000010b08d319 rb_exc_raise + 9 5 Tweets 0x000000010b089db5 rb_raise + 245 6 Tweets 0x000000010b08d53d rb_make_exception + 477 7 Tweets 0x000000010b08dd3f rb_f_raise + 63 8 Tweets 0x000000010b13d463 rb_vm_dispatch + 3843 9 Tweets 0x000000010b022b0a vm_dispatch + 1210 10 Tweets 0x000000010b02a9e2 rb_scopeparse: + 754 11 Tweets 0x000000010b13d932 rb_vm_dispatch + 5074 12 Tweets 0x000000010b02c30a vm_dispatch + 1210 13 Tweets 0x000000010b033fcf rb_scopeparse_from_url: + 223 14 Tweets 0x000000010b13d932 rb_vm_dispatch + 5074 15 Tweets 0x000000010b03e9ea vm_dispatch + 1210 16 Tweets 0x000000010b04945f rb_scope__search:block + 655 17 Tweets 0x000000010b13eb1c _ZL13vm_block_evalP7RoxorVMP11rb_vm_blockP13objc_selectormiPKm + 1100 18 Tweets 0x000000010b128cbb rb_gcd_block_dispatcher + 27 19 libdispatch.dylib 0x00007fff88f562ad _dispatch_client_callout + 8 20 libdispatch.dylib 0x00007fff88f5809e _dispatch_root_queue_drain + 326 21 libdispatch.dylib 0x00007fff88f59193 _dispatch_worker_thread2 + 40 22 libsystem_pthread.dylib 0x00007fff8bbfdef8 _pthread_wqthread + 314 23 libsystem_pthread.dylib 0x00007fff8bc00fb9 start_wqthread + 13 ) libc++abi.dylib: terminating with uncaught exception of type TypeError (main)>

Watson1978 commented 10 years ago

This is duplicate of #31