[Bug] Crash on commit selection
Reported by Jan Foeh | April 22nd, 2008 @ 04:45 PM
The application (0.8.5 beta) crashes reproducibly on every second click into the left table, irrespective of whether the table itself or one of the commits in there is clicked.
My console log shows the following output:
23.04.08 01:36:10 GitNub[80826] CommitsController#tableViewSelectionDidChange: TypeError: can't convert nil into String
23.04.08 01:36:10 [0x0-0x201201].com.alternateidea.rubycocoa.GitNubApp[80826] /Applications/GitNub.app/Contents/Resources/CommitsController.rb:201:in `basename'
23.04.08 01:36:10 [0x0-0x201201].com.alternateidea.rubycocoa.GitNubApp[80826] /Applications/GitNub.app/Contents/Resources/CommitsController.rb:201:in `update_main_document'
23.04.08 01:36:10 [0x0-0x201201].com.alternateidea.rubycocoa.GitNubApp[80826] /Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/objc/oc_import.rb:154:in `each_with_index'
23.04.08 01:36:10 [0x0-0x201201].com.alternateidea.rubycocoa.GitNubApp[80826] /Applications/GitNub.app/Contents/Resources/CommitsController.rb:173:in `each'
23.04.08 01:36:10 [0x0-0x201201].com.alternateidea.rubycocoa.GitNubApp[80826] /Applications/GitNub.app/Contents/Resources/CommitsController.rb:173:in `each_with_index'
23.04.08 01:36:10 [0x0-0x201201].com.alternateidea.rubycocoa.GitNubApp[80826] /Applications/GitNub.app/Contents/Resources/CommitsController.rb:173:in `update_main_document'
23.04.08 01:36:10 [0x0-0x201201].com.alternateidea.rubycocoa.GitNubApp[80826] /Applications/GitNub.app/Contents/Resources/CommitsController.rb:90:in `tableViewSelectionDidChange'
23.04.08 01:36:10 [0x0-0x201201].com.alternateidea.rubycocoa.GitNubApp[80826] /Applications/GitNub.app/Contents/Resources/rb_main.rb:23:in `NSApplicationMain'
23.04.08 01:36:10 [0x0-0x201201].com.alternateidea.rubycocoa.GitNubApp[80826] /Applications/GitNub.app/Contents/Resources/rb_main.rb:23
23.04.08 01:36:10 [0x0-0x201201].com.alternateidea.rubycocoa.GitNubApp[80826] /Applications/GitNub.app/Contents/Resources/CommitsController.rb:201:in `basename': can't convert nil into String (TypeError)
23.04.08 01:36:10 [0x0-0x201201].com.alternateidea.rubycocoa.GitNubApp[80826] from /Applications/GitNub.app/Contents/Resources/CommitsController.rb:201:in `update_main_document'
23.04.08 01:36:10 [0x0-0x201201].com.alternateidea.rubycocoa.GitNubApp[80826] from /Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/objc/oc_import.rb:154:in `each_with_index'
23.04.08 01:36:10 [0x0-0x201201].com.alternateidea.rubycocoa.GitNubApp[80826] from /Applications/GitNub.app/Contents/Resources/CommitsController.rb:173:in `each'
23.04.08 01:36:10 [0x0-0x201201].com.alternateidea.rubycocoa.GitNubApp[80826] from /Applications/GitNub.app/Contents/Resources/CommitsController.rb:173:in `each_with_index'
23.04.08 01:36:10 [0x0-0x201201].com.alternateidea.rubycocoa.GitNubApp[80826] from /Applications/GitNub.app/Contents/Resources/CommitsController.rb:173:in `update_main_document'
23.04.08 01:36:10 [0x0-0x201201].com.alternateidea.rubycocoa.GitNubApp[80826] from /Applications/GitNub.app/Contents/Resources/CommitsController.rb:90:in `tableViewSelectionDidChange'
23.04.08 01:36:10 [0x0-0x201201].com.alternateidea.rubycocoa.GitNubApp[80826] from /Applications/GitNub.app/Contents/Resources/rb_main.rb:23:in `NSApplicationMain'
23.04.08 01:36:10 [0x0-0x201201].com.alternateidea.rubycocoa.GitNubApp[80826] from /Applications/GitNub.app/Contents/Resources/rb_main.rb:23
23.04.08 01:36:10 com.apple.launchd[201] ([0x0-0x201201].com.alternateidea.rubycocoa.GitNubApp[80826]) Exited with exit code: 1
OS: 10.5.2
RubyCocoa: 0.13.2
Thanks for your work, GitNub looks great; please let me know if I can be of further help.
- Jan
Comments and changes to this ticket
-
Justin Palmer April 23rd, 2008 @ 02:09 AM
- State changed from new to duplicate
Glad you like it!
On to your issue...This is a duplicate of #16, which is quiet odd given that two people experienced it at around the same time. Please follow the other ticket for updates.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป