on committing of two objects i'm getting the following exception and stack trace. Can anyone tell me if it's possible to get better data to help trace down the problem? Any clue where I should be looking?
[NullReferenceException: Object reference not set to an instance of an object.]
this looks like an ICollection<something> field that is participating in the exception. Can you check your model for such a field? Can you reproduce the behavior and make us see this exception too?
Which database are you using?
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Public Issue Tracking
system and vote to affect the priority of the items
The only thing I did was delete the database and let open access recreate the schema tables from scratch. It happened after that. If I remember correctly I had this same issue in the same application earlier. The place where I get the error is related to some import functionality that takes data from an excel file and populates dataobjects and saves them using OpenAccess to the database. Earlier I got the same error when I tried to save all of the objects at once. I solved it by saving each object to the database as it was populated and not doing one mass load. But now it appears to have started happening again without any change to that code.
Any thoughts would be greatly appreciated, the stack trace isn't very helpful.
answered on 09 Jan 2012, 10:30 AM
we really need a bit more information here. Please open a support ticket so that your .rlinq or .config file can be attached. Of special interest are also the types of the collections that are involved, and if the import code showed the error, this code could be valuable as well.
All the best,
the Telerik team
Want to use Telerik OpenAccess with SQL Azure? Download the trial version today.