Bug 16218 - Getting 'Unhandled activation error' in XS when user login with expired trial license.
Summary: Getting 'Unhandled activation error' in XS when user login with expired trial...
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Activation ()
Version: 4.2.x
Hardware: All All
: High major
Target Milestone: master
Assignee: Mikayla Hutchinson [MSFT]
: 16265 ()
Depends on:
Reported: 2013-11-14 05:49 UTC by Mohit Kheterpal
Modified: 2013-11-19 03:39 UTC (History)
2 users (show)

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:

Comment 1 Mohit Kheterpal 2013-11-14 07:11:29 UTC
An update to the above issue :

The Trace.0.logs I have mentioned in above description is actually "IDE" logs.

Sorry for the inconvenience.
Comment 2 Mohit Kheterpal 2013-11-14 10:29:22 UTC
Regression Status : This issue also exist with stable XS 4.2 (build 2).
Comment 3 Mikayla Hutchinson [MSFT] 2013-11-15 15:03:59 UTC
*** Bug 16265 has been marked as a duplicate of this bug. ***
Comment 4 Mikayla Hutchinson [MSFT] 2013-11-15 15:04:50 UTC
Okay, I think I figured this one out.

It happen if you have an invalid license file, so XS displays the activation dialog, but the initial re-sync performed by the activation dialog fixes the licenses. It still tries to display the error, but there is no error to display, hence the NRE.
Comment 5 Mikayla Hutchinson [MSFT] 2013-11-15 15:26:02 UTC
There was an additional problem where expired license errors were triggering the Invalid License workflow.
Comment 6 Mikayla Hutchinson [MSFT] 2013-11-16 17:19:08 UTC
Fix in md-addins 3ff5c562d1f2f255ecefd8e56e9ba751d2c3b7fe and 1962f5c86222b10d479c945c582fed9b20571b8a
Comment 7 narayanp 2013-11-19 03:39:20 UTC
Today I have checked this issue with following builds:

All Mac
X.S 4.2.1(build 4)
Mono 3.2.4
X.Android 4.10.1-73

Now we are not getting unhandled exception. This is the screencast for the same: http://screencast.com/t/KK0ZCcQG

Changing the status to Verified.