You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.
I'm receiving NullReferenceException: Object reference not set to an instance of an object. Microsoft.Azure.Documents.DocumentCollection.get_DocumentsLink() when I use that project with Microsoft.Azure.DocumentDB v2.2.1.
It seems that DocumentsLink property is using SelfLink but new DocumentCollection { Id = ... } sets that propery as null so DocumentsLink is trying to use null.
How should I solve it? And why can't us give the collection URI with UriFactory instead of the DocumentCollection instance?
The text was updated successfully, but these errors were encountered:
I'm receiving
NullReferenceException: Object reference not set to an instance of an object. Microsoft.Azure.Documents.DocumentCollection.get_DocumentsLink()
when I use that project with Microsoft.Azure.DocumentDB v2.2.1.It seems that
DocumentsLink
property is usingSelfLink
butnew DocumentCollection { Id = ... }
sets that propery asnull
soDocumentsLink
is trying to usenull
.How should I solve it? And why can't us give the collection URI with
UriFactory
instead of theDocumentCollection
instance?The text was updated successfully, but these errors were encountered: