Bug 4299 - Setting RightBarButtonItem crashes when RightBarButtonItems populated
Summary: Setting RightBarButtonItem crashes when RightBarButtonItems populated
Status: RESOLVED NORESPONSE
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: 5.2
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-04-06 11:18 UTC by Ian
Modified: 2013-12-05 18:35 UTC (History)
2 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 Ian 2012-04-06 11:18:17 UTC
In the newest release (see below for version)

How to replicate bug:
1 Set the RightBarButtonItems to a couple buttons (plural)
2 After it renders, 
3 Set the RightBarButtonItem to a single item (just one)

crash

Worked in the last version of mono+monotouch

Solution for now is to set RightBarButtonItems(many) with a RightBarButtonItems(one)


----------

MonoDevelop 2.8.8.4
Runtime:
	Mono 2.10.9 (tarball Tue Mar 20 15:31:37 EDT 2012)
	GTK 2.24.10
	GTK# (2.12.0.0)
Apple Developer Tools:
	 Xcode 4.3.1 (1176)
	 Build 4E1019
Monotouch: 5.2.10
Comment 1 Sebastien Pouliot 2012-04-09 08:45:05 UTC
This is a bit vague. I'm not sure I understand the solution (not use many?).

A small, self-contained test case is always best to ensure we'll be seeing the same (or as close as possible) conditions as you are.

If that cannot be provided can you:
* provide the crash report (stack trace);
* specify your build options (or include the full build log from MD);
* tell us if this happens in the simulator, devices (or both) including the version of iOS you are using (simulator and devices).

If you can recall what was the last MonoTouch version you're sure the exact same code was working ?
Comment 2 PJ 2013-11-19 17:05:04 UTC
This bug has been in the NEEDINFO state with no changes for the last 90 days. Can we put this back into the NEW or CONFIRMED state, or are we still awaiting response?

If there is no change in the status of this bug over the next two weeks, this bug will be marked as NORESPONSE.
Comment 3 PJ 2013-12-05 18:35:27 UTC
This bug has not been changed from the NEEDINFO state since my previous comment, marking as RESOLVED NORESPONSE.

Please feel free to REOPEN this bug at any time if you are still experiencing the issue. Please add the requested information and set the bug back to the NEW (or CONFIRMED) state.