[Mono-bugs] [Bug 553905] New: Typo in GKSession MonoTouch.GameKit: setAvaialble instead of setAvailable

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Nov 9 15:53:23 EST 2009


http://bugzilla.novell.com/show_bug.cgi?id=553905


           Summary: Typo in GKSession MonoTouch.GameKit: setAvaialble
                    instead of setAvailable
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: marc at bliem.name
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Description of Problem:

If you try to set 

GKSession session = new GKSession ("", "AnyName", GKSessionMode.Peer);
session.Available = true;


Actual Results:

you receive Exception:

Unhandled Exception: MonoTouch.Foundation.MonoTouchException: Objective-C
exception thrown.  Name: NSInvalidArgumentException Reason: *** -[GKSession
setAvaialble:]: unrecognized selector sent to instance 0x50895b0
  at (wrapper managed-to-native)
MonoTouch.ObjCRuntime.Messaging:void_objc_msgSend_Boolean (intptr,intptr,bool)
  at MonoTouch.GameKit.GKSession.set_Available (Boolean value) [0x0000b] in
/Users/plasma/src/iphone/monotouch/GameKit/GKSession.g.cs:340 
  at PearTest.PearViewController.serverpressed (System.Object sender,
System.EventArgs e) [0x00032] in
/Users/Marc/Projects/PearTest/PearTest/PearViewController.cs:84 
  at MonoTouch.UIKit.UIBarButtonItem+Callback.Call
(MonoTouch.Foundation.NSObject sender) [0x00010] in
/Users/plasma/src/iphone/monotouch/UIKit/UIBarButtonItem.cs:21 
  at (wrapper managed-to-native)
MonoTouch.UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr)
  at MonoTouch.UIKit.UIApplication.Main (System.String[] args, System.String
principalClassName, System.String delegateClassName) [0x00038] in
/Users/plasma/src/iphone/monotouch/UIKit/UIApplication.cs:26 
  at MonoTouch.UIKit.UIApplication.Main (System.String[] args) [0x00000] in
/Users/plasma/src/iphone/monotouch/UIKit/UIApplication.cs:31 
  at PearTest.Application.Main (System.String[] args) [0x00000] in
/Users/Marc/Projects/PearTest/PearTest/Main.cs:14 


Expected Results:
no Exception and Session available


How often does this happen? 

always

Additional Information:

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list