in

The ORM Foundation

Get the facts!

VS2013 Sample Population NullPointer

Last post Wed, May 13 2015 10:25 by Matthew Curland. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • Wed, May 13 2015 6:05

    • wearego
    • Top 200 Contributor
    • Joined on Thu, Feb 3 2011
    • Posts 2

    VS2013 Sample Population NullPointer

    I've made a bug ticket on sourceforge that presents this bug.

    https://sourceforge.net/p/orm/bugs/43/

     

  • Wed, May 13 2015 7:07 In reply to

    • Ken Evans
    • Top 10 Contributor
      Male
    • Joined on Sun, Nov 18 2007
    • Stickford, UK
    • Posts 805

    Re: VS2013 Sample Population NullPointer

    Thanks Jan Pieter,

    It will help more people to become aware of the problem if the bug description is also posted here.

    So here it is.

    Ken

    Crash on entering Sample Population for fact type (fact type that is in error mode).

    Reproduce:
    by adding the attched orm file to a new VS2013 sln.
    FT: Profile has TimeStepSize. Enter '5 minutes' or '5' ...
    Then this unhanndled exception occurs.

    System.NullReferenceException was unhandled
    Message: An unhandled exception of type 'System.NullReferenceException' occurred in Microsoft.VisualStudio.VirtualTreeGrid.dll
    Additional information: Object reference not set to an instance of an object.

     

  • Wed, May 13 2015 10:25 In reply to

    Re: VS2013 Sample Population NullPointer

    Hi JP,

    Yes, you're in a serious error mode here with no identifying value type for your entity type. The issue is the preferred identifier pattern still holds, but the identifying value type is no more. I'm not sure I should even allow the PID to exist in this state, but I'm sure that changing that workflow would be much harder than doing a null reference check to fix the sample population crash.

    -Matt 

Page 1 of 1 (3 items)
© 2008-2024 ------- Terms of Service