Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
Created attachment 864 [details]
Screenshot for the bug.
Steps to reproduce:
1.Create a MonoTouch project.
2.Double-click on the <Projectname>ViewController.xib file in MonoDevelop.
3.Observe that .xib file does not open, rather an error appears.
When try to open .xib file error appears, i.e:
Error updating Objective-C type information. Object reference not set to an instance of an object. (Refer to the screenshot)
System.NullReferenceException: Object reference not set to an instance of an object
at MonoDevelop.MacDev.ObjCIntegration.NSObjectProjectInfo+<GetReferencedProjects>c__Iterator3.MoveNext () [0x00023] in /private/tmp/source/monodevelop/main/src/addins/MonoDevelop.MacDev/ObjCIntegration/NSObjectProjectInfo.cs:76
at MonoDevelop.MacDev.ObjCIntegration.NSObjectProjectInfo.Update () [0x00042] in /private/tmp/source/monodevelop/main/src/addins/MonoDevelop.MacDev/ObjCIntegration/NSObjectProjectInfo.cs:88
at MonoDevelop.MacDev.ObjCIntegration.NSObjectProjectInfo.Update (Boolean force) [0x0000c] in /private/tmp/source/monodevelop/main/src/addins/MonoDevelop.MacDev/ObjCIntegration/NSObjectProjectInfo.cs:70
at MonoDevelop.MacDev.XcodeSyncing.XcodeProjectTracker.UpdateTypes (IProgressMonitor monitor, Boolean force) [0x00034] in /private/tmp/source/monodevelop/main/src/addins/MonoDevelop.MacDev/XcodeSyncing/XcodeProjectTracker.cs:302
Error should not appear, instead .xib file should open in the Xcode.
Mac 10.7 (Lion) + Mac 10.6 (SnowLeopard)
MonoDevelop 3.0 Beta-1 (2.9.0)
Which project template did you choose? Different project templates use different files so it'll help narrow things down if I know which it was.
It would also help in future if there was an automated way of creating a project for each template and ensuring it builds and they can be opened in xcode, or is that the kind of testcase you were running when you caught this?
This issue exists for all the project tempelates, whereever the .xib file or .storyboard file exists, this issue also exists. As these file launch Xcode to open its content. i.e.
1. All the projects under the categories iPhone. For example:
iPhone_Single View Application, iPhone_Empty Project, etc.
2. All the projects under the categories iPad.
3. All the projects under the categories Universal.
4. All the projects under all the categories of Storyboard.
this is fixed now
This issue is fixed when tested on the new installers, i.e.
Mono for Android 4.0.1
Hence, closing this issue.