Bug 14654 - exception using MonoTouch after upgrading to the iOS 7/XCode 5 release
Summary: exception using MonoTouch after upgrading to the iOS 7/XCode 5 release
Status: RESOLVED NORESPONSE
Alias: None
Product: iOS
Classification: Xamarin
Component: Tools ()
Version: 6.9.5.x
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-09-11 13:41 UTC by Jon Goldberger [MSFT]
Modified: 2016-05-24 19:44 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NORESPONSE

Description Jon Goldberger [MSFT] 2013-09-11 13:41:25 UTC
2013-09-11 11:36:58.033 TouchDrawProForiPad[503:a0b] MonoTouch.Foundation.MonoTouchException: Objective-C exception thrown. Name: Unexpected token type Reason: Expected a token of one of these types: NUMBER, LENGTH. Found IDENTIFIER token
at (wrapper managed-to-native) MonoTouch.ObjCRuntime.Messaging:void_objc_msgSendSuper_IntPtr_IntPtr (intptr,intptr,intptr,intptr)
at MonoTouch.Foundation.NSObject.SetValueForKeyPath (MonoTouch.Foundation.NSObject value, MonoTouch.Foundation.NSString keyPath) [0x00059] in /Developer/MonoTouch/Source/monotouch/src/Foundation/NSObject.g.cs:315 
at PixateLib.PXEngine.SetStyleClass (MonoTouch.Foundation.NSObject obj, System.String id) [0x00000] in <filename unknown>:0 
at PixateLib.PXUIViewExtensions.SetStyleClass (MonoTouch.UIKit.UIView view, System.String styleClass) [0x00000] in <filename unknown>:0 
at Elevenworks.TouchDraw.Chooser.SectionButton..ctor (System.String id, System.String bundle) [0x00026] in /Development/ew-llc/ew-monotouch/TouchDrawProForiPad/Elevenworks/TouchDraw/Chooser/SectionButton.cs:30 
at Elevenworks.TouchDraw.Chooser.SectionPanel..ctor (RectangleF rect) [0x00013] in /Development/ew-llc/ew-monotouch/TouchDrawProForiPad/Elevenworks/TouchDraw/Chooser/SectionPanel.cs:19 
at Elevenworks.TouchDraw.Chooser.RootViewController.ViewDidLoad () [0x00121] in /Development/ew-llc/ew-monotouch/TouchDrawProForiPad/Elevenworks/TouchDraw/Chooser/RootViewController.cs:53 
at (wrapper managed-to-native) MonoTouch.ObjCRuntime.Messaging:void_objc_msgSend (intptr,intptr)
at MonoTouch.UIKit.UIWindow.MakeKeyAndVisible () [0x00010] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIWindow.g.cs:129 
at TouchDrawProForiPad.TouchDrawProAppDelegate.FinishedLaunching (MonoTouch.UIKit.UIApplication app, MonoTouch.Foundation.NSDictionary options) [0x000a0] in /Development/ew-llc/ew-monotouch/TouchDrawProForiPad/AppDelegate.cs:68 
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) [0x0004c] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:38 
at TouchDrawProForiPad.Application.Main (System.String[] args) [0x00018] in /Development/ew-llc/ew-monotouch/TouchDrawProForiPad/Main.cs:18 

As you'll see, I get this exception when I try to use Pixate 1.1 Beta 4, which I built myself using the instructions found at the bottom of the page here: https://github.com/Pixate/Xamarin-Pixate

If I revert back to Developer Preview 5, everything works again. Do you know if this is a MonoTouch bug due to change that Apple made in the RC, or a btouch bug related to an change that Apple made in the RC, or something I am doing?
-------------------------------------------------------------------------------------------
Comment 4 Sebastien Pouliot 2013-09-11 19:48:11 UTC
I do not think it's Xamarin.iOS related since:
* It's an Objective-C (not .NET) exception;
* It works with DP5 (but not with GM)

A small test case that shows the issue (and that we could translate to ObjC to confirm) would be helpful.
Comment 5 Sebastien Pouliot 2016-05-24 19:44:38 UTC
We have not received the requested information. If you are still experiencing this issue please provide all the requested information and re-open the bug report. Thanks!