RuntimeError: use alloc.initXXX' to instantiate Cocoa Object
Reported by Joey A | February 1st, 2010 @ 06:55 AM
Installing from source on Leopard:
Building and installing succeeds, but when starting nub in a git repository, nothing opens. I see messages like "use 'alloc.initXXX' to instantiate Cocoa Object" in syslog and can see the more complete message if I run "rake run":
(in /Users/joey/tools/gitnub) === BUILDING NATIVE TARGET GitNub OF PROJECT GitNub WITH CONFIGURATION Release ===
Checking Dependencies...
BUILD SUCCEEDED
"build/Release/GitNub.app/Contents/MacOS/GitNub" 2010-02-01
09:47:26.447 GitNub[43102:613] TreeController#awakeFromNib:
RuntimeError: use 'alloc.initXXX' to instantiate Cocoa
Object
/System/Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/objc/oc_import.rb:251:in `new'
/Users/joey/tools/gitnub/build/Release/GitNub.app/Contents/Resources/lib/osx_notify.rb:8:in `on'
/Users/joey/tools/gitnub/build/Release/GitNub.app/Contents/Resources/TreeController.rb:42:in `awakeFromNib'
/Users/joey/tools/gitnub/build/Release/GitNub.app/Contents/Resources/rb_main.rb:23:in `NSApplicationMain'
/Users/joey/tools/gitnub/build/Release/GitNub.app/Contents/Resources/rb_main.rb:23
/System/Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/objc/oc_import.rb:251:in
new': use 'alloc.initXXX' to instantiate Cocoa Object
(RuntimeError)
from /Users/joey/tools/gitnub/build/Release/GitNub.app/Contents/Resources/lib/osx_notify.rb:8:in `on'
from /Users/joey/tools/gitnub/build/Release/GitNub.app/Contents/Resources/TreeController.rb:42:in `awakeFromNib'
from /Users/joey/tools/gitnub/build/Release/GitNub.app/Contents/Resources/rb_main.rb:23:in `NSApplicationMain'
from /Users/joey/tools/gitnub/build/Release/GitNub.app/Contents/Resources/rb_main.rb:23
rake aborted!
Command failed with status (1):
["build/Release/GitNub.app/Contents/MacOS/G...]
/Users/joey/tools/gitnub/Rakefile:36 (See full trace by running
task with --trace)
Comments and changes to this ticket
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 ยป