The EntitySpaces Community

Share and learn about the EntitySpaces Architecture.
Welcome to The EntitySpaces Community Sign in | Join | Help
in
Home Forums Photos

Browse by Tags

All Tags » Null Reference Exception
  • FillDataTable of an esUtility-Object always throws NullReferenceExceptions

    ... e.g. if the stored procedure (named in prcName) does'nt exist or if it throws any SqlException, the FillDataTable - method always gets an NullReferenceException . Is there a way to see the original error message? Code:1 2 3 public static DataTable ExecuteProcedure(string prcName, Hashtable prcParams) 4 { 5 ...
    Posted to General Area (Forum) by Joerg.Paessler on January 31, 2008
  • When is it correct to use AttachEntity()?

    I've been trying to manage two Collections in memory and I've found the need to move Entities in and out of each Collection without making a trip to the Database. I can use DetachEntity() to remove an Entity without any problems, but every time I try to use AttachEntity() I receive a Null Reference Exception.  I searched the forums and found ...
    Posted to General Area (Forum) by njoseph on August 28, 2007
  • Minor Issue, Collection.Combine() - NullReferenceException

    Hi,  im currently using 2 collections for databinding to a DataGridView. One collection is binded to the grid, the other serves as a buffer which is filled from a background thread. Whenever there is new data the buffer is filled and then copied in the main thread to the binded collection via combine(). This way the background thread never ...
    Posted to General Area (Forum) by Jobo on June 29, 2007
  • Nulll Reference Exception from FillDataTable

    Hello I have spent the best part of a day chopping and changing everything to be sure that this is a bug and not something stupid at my end. I can't get to the bottom of it so am pretty certain I have a bug, so let me explain the process: =========== Support Issue =========== I have a view vwInventory that I have generated a class for using ...
    Posted to General Area (Forum) by mmahoney on June 24, 2007
  • Null Reference Exception during many to many fetch

    Please help a newbie! Getting null reference exception here: Code:Return MyBase.Load(esQueryType.ManyToMany, _ ''User,RoleUser|UserID,UserID|RoleID'', parms) When I execute this method: Code: Public Shared Function RoleGetUsers(ByVal role As Role) As UserCollection Return role.UpToUserCollection End Function  ...
    Posted to Hierarchical Data Model (Forum) by ajhops on May 24, 2007