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 4143 [details]
NonConsumable iOS sample
I have attached NonConsumable iOS sample.
Today, we have checked this issue with latest builds:
XS 4.0.5(build 15)
Device info: iPhone 4 (6.1.3)
now, application launches successfully on the device/simulator and does not throw System.NullReferenceException.
Hence closing this issue with iOS sample master-3.0.
Can you be sure to try to reproduce on as close an environment as possible? There's no reason we shouldn't get the result from multiple environments here, you can't assume your testing on iPhone 4 is sufficient for closing a bug reported on an iPhone 5.
We have checked this issue with latest builds:
XS 4.0.9(Build 15)
stack trace: https://gist.github.com/saurabh360/9a1c69f451bf7fc6f2b6
iOS device log: https://gist.github.com/saurabh360/06a5b1a23b1fd03ebb9a
iPhone4 iOS 5.1
iPhone4 iOS 6.1.3
iPhone5 iOS 6.0.2
monotouch-samples-master-3.0 - 4638ae8895e6af6ba62ae30d0c7e28e92c6214b4
Hence, reopening this issue.
Reported as not a regression, probably a sample issue. Moving to 6.4.x (post async).
I see the null reference exception in HostedNonConsumables solution but not in Consumables
Null Reference Exception cause:
Issue is in Line 114 in HostedNonConsumables/HostedProductViewController.cs file
var info = notification.UserInfo
notification.UserInfo is not getting any information and a null value is assigned to "info". Hence the null reference exception.
In Consumables solution notification.UserInfo is getting the correct info and is not throwing a null reference exception.
I am not sure why the same method is behaving differently in two different solutions. Craig can you take a look at this bug.
220.127.116.11.pkg (947e6645) and 18.104.22.168.pkg (bfd851e4)
Device iPodTouch 6.0 / iPad 6.1.3
Between Comment 7 and Comment 8 the discussion moved from talking about the "NonConsumables" sample to the "HostedNonConsumables" sample???
Also, this sample (I'm assuming "NonConsumables" is what was meant) works for me locally. Are these tests always run with the same identity/provisioning profile and bundle-id?
The only reason it should fail at that location is if the *products* aren't correctly set-up in the Apple ID store account being used to test. This is similar to Bugzilla #11356 (I think).
As with #11356 I have added a null-check to the code ("NonConsumables" project) so that the app won't crash but instead display "check iTunes connect setup" on the screen.
This bug was targeted for a past milestone, moving to the next non-hotfix active milestone.
NonConsumables works for me, if Apple ID isn't set on device/simulator app displays "check iTunes connect setup" alert.
OS X 10.9.1
Xamarin Studio 4.2.3
device iPad2 7.0.4
simulator iPad 7.0/6.1/6.0, iPhone 7.0/6.1/6.0
I have checked this issue with the latest builds:
Now it is working fine.Hence closing this issue.