Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Rasmus Trumf 78 posts 160 karma points
    Apr 15, 2021 @ 20:21
    Rasmus Trumf
    0

    Not set value in numeric datatype causes exception in models builder .generated file

    Hi

    I have a numeric datatype that causes exception in models builder .generated file when it is not set. It fails only the first time I reload the page that displays that datatype after i have saved in backoffice.

    The numeric/integer is displayed corretly as 0 in the page when i continue execution i Visual Studio.

    How can an integer cause a nullreferenceexception?

    enter image description here

    The datatype is used in a composition that is used a lot, so I would like not to have to make it a required field.

    Thanks in advance

Please Sign in or register to post replies

Write your reply to:

Draft