mail-archives/mono-bugs/2009-November/094818.html

195 строки
5.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 553905] New: Typo in GKSession MonoTouch.GameKit: setAvaialble instead of setAvailable
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20553905%5D%20New%3A%20Typo%20in%20GKSession%20MonoTouch.GameKit%3A%0A%20setAvaialble%20instead%20of%20setAvailable&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="094842.html">
<LINK REL="Next" HREF="094839.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 553905] New: Typo in GKSession MonoTouch.GameKit: setAvaialble instead of setAvailable</H1>
<B>bugzilla_noreply at novell.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20553905%5D%20New%3A%20Typo%20in%20GKSession%20MonoTouch.GameKit%3A%0A%20setAvaialble%20instead%20of%20setAvailable&In-Reply-To="
TITLE="[Mono-bugs] [Bug 553905] New: Typo in GKSession MonoTouch.GameKit: setAvaialble instead of setAvailable">bugzilla_noreply at novell.com
</A><BR>
<I>Mon Nov 9 15:53:23 EST 2009</I>
<P><UL>
<LI>Previous message: <A HREF="094842.html">[Mono-bugs] [Bug 553888] CABasicAnimation.FromValuePath should return back a CABasicAnimation Object.
</A></li>
<LI>Next message: <A HREF="094839.html">[Mono-bugs] [Bug 553905] Typo in GKSession MonoTouch.GameKit: setAvaialble instead of setAvailable
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#94818">[ date ]</a>
<a href="thread.html#94818">[ thread ]</a>
<a href="subject.html#94818">[ subject ]</a>
<a href="author.html#94818">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE><A HREF="http://bugzilla.novell.com/show_bug.cgi?id=553905">http://bugzilla.novell.com/show_bug.cgi?id=553905</A>
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: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">marc at bliem.name</A>
QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
Found By: ---
Description of Problem:
If you try to set
GKSession session = new GKSession (&quot;&quot;, &quot;AnyName&quot;, 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: <A HREF="http://bugzilla.novell.com/userprefs.cgi?tab=email">http://bugzilla.novell.com/userprefs.cgi?tab=email</A>
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="094842.html">[Mono-bugs] [Bug 553888] CABasicAnimation.FromValuePath should return back a CABasicAnimation Object.
</A></li>
<LI>Next message: <A HREF="094839.html">[Mono-bugs] [Bug 553905] Typo in GKSession MonoTouch.GameKit: setAvaialble instead of setAvailable
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#94818">[ date ]</a>
<a href="thread.html#94818">[ thread ]</a>
<a href="subject.html#94818">[ subject ]</a>
<a href="author.html#94818">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
mailing list</a><br>
</body></html>