More in this section
Forums / Bugs & Issues / "Empty Stack" exception after upgrading; dynamic module changed field to nullable

"Empty Stack" exception after upgrading; dynamic module changed field to nullable

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
3 posts, 0 answered
  1. SelAromDotNet
    SelAromDotNet avatar
    912 posts
    18 Jul 2012
    03 Dec 2015
    Link to this post

    After running the upgrade process from 6.3.500 to 8.2.5905 I tried to visit the homepage but saw the following error:

    Database mapped field uses different type 'System.Nullable`1[[System.Decimal, mscorlib, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089]]'.
    Parameter name: methodCallExpression
    Actual value was re-t.FieldValue("Sequence").

    Changing the related widget code from GetValue<decimal> to GetValue<decimal?> resolved it, but I'm curious why this might have happened.

    Secondly, when we tried to log into the backend, I got the exception:

    Stack Empty

    I unfortunately didn't capture the full error message, as I somehow resolved it by disabling BrowserLink, by adding the following config to web.config appsettings:

    <add key="vs:EnableBrowserLink" value="false" />

    after that everything seems to be fine, and removing that key does not bring the error back.

    I'm not sure what happened, but logging it here in case it might be helpful to anyone else


  2. Ilan
    Ilan avatar
    12 posts
    26 Oct 2015
    09 Feb 2016
    Link to this post
    I need a solution for this too
  3. Svetoslav Manchev
    Svetoslav Manchev avatar
    735 posts
    06 Sep 2017
    11 Feb 2016
    Link to this post
    Hi ,

    Josh, thank you for the shared solution.

    Ilan, can you please provide more information about the issue you have (actions performed and the error received)? What is the result when apply the proposed solution?

    You can also check the solution proposed in that KB article:

    Svetoslav Manchev
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
3 posts, 0 answered