[MacRuby-devel] [MacRuby] #245: Adding to a set causes a Cocoa exception to be thrown

MacRuby ruby-noreply at macosforge.org
Thu Apr 23 13:36:42 PDT 2009


#245: Adding to a set causes a Cocoa exception to be thrown
----------------------------------------+-----------------------------------
 Reporter:  dave.baldwin@…              |       Owner:  lsansonetti@…        
     Type:  defect                      |      Status:  new                  
 Priority:  minor                       |   Milestone:                       
Component:  MacRuby                     |    Keywords:  Set operation        
----------------------------------------+-----------------------------------
 Using MacRuby 0.4 from binary release

 > macirb
 >> require 'set'
 => true
 >> s = Set.new([1, 2, 3])
 => #<NSMutableSet: {1, 3, 2}>
 >> s += [3, 4, 5]
 2009-04-23 21:29:52.283 macruby[28862:807] *** -[NSCFArray
 _applyValues:context:]: unrecognized selector sent to instance 0x8003bb880
 2009-04-23 21:29:52.327 macruby[28862:807] *** Terminating app due to
 uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSCFArray
 _applyValues:context:]: unrecognized selector sent to instance
 0x8003bb880'
 2009-04-23 21:29:52.329 macruby[28862:807] Stack: (
     140735400467644,
     140735361919183,
     140735400494587,
     140735400488068,
     140735400488408,
     4295756381,
     4296060487,
     4296022528,
     4296038274,
     4296040906,
     4296042941,
     4296060487,
     4296017903,
     4296038274,
     4296074210,
     4295152351,
     4295972229,
     4296060487,
     4296017903,
     4296038274,
     4296066293,
     4296060487,
     4296017903,
     4296038274,
     4296066293,
     4296060487,
     4296017903,
     4296038274,
     4296038924,
     4295151522,
     4295164775,
     4294971167,
     4294971044
 )
 terminate called after throwing an instance of 'NSException'
 Abort

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/245>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list