-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Agent using Properties got an NullReferenceException #48
Comments
JoergHoffmannatGitHub
added a commit
to JoergHoffmannatGitHub/gedcomx-csharp
that referenced
this issue
Jan 3, 2023
JoergHoffmannatGitHub
added a commit
to JoergHoffmannatGitHub/gedcomx-csharp
that referenced
this issue
Jan 6, 2023
JoergHoffmannatGitHub
added a commit
to JoergHoffmannatGitHub/gedcomx-csharp
that referenced
this issue
Jan 6, 2023
JoergHoffmannatGitHub
added a commit
to JoergHoffmannatGitHub/gedcomx-csharp
that referenced
this issue
Jan 8, 2023
JoergHoffmannatGitHub
added a commit
to JoergHoffmannatGitHub/gedcomx-csharp
that referenced
this issue
Jan 14, 2023
JoergHoffmannatGitHub
added a commit
to JoergHoffmannatGitHub/gedcomx-csharp
that referenced
this issue
Jan 15, 2023
JoergHoffmannatGitHub
added a commit
to JoergHoffmannatGitHub/gedcomx-csharp
that referenced
this issue
Jan 23, 2023
- Fact with Conclusion.
JoergHoffmannatGitHub
added a commit
to JoergHoffmannatGitHub/gedcomx-csharp
that referenced
this issue
Jan 29, 2023
- Person with Subject.
JoergHoffmannatGitHub
added a commit
to JoergHoffmannatGitHub/gedcomx-csharp
that referenced
this issue
Jan 29, 2023
- SourceCitation.
JoergHoffmannatGitHub
added a commit
to JoergHoffmannatGitHub/gedcomx-csharp
that referenced
this issue
Jan 29, 2023
- DateInfo.
JoergHoffmannatGitHub
added a commit
to JoergHoffmannatGitHub/gedcomx-csharp
that referenced
this issue
Jan 29, 2023
- PlaceReference.
JoergHoffmannatGitHub
added a commit
to JoergHoffmannatGitHub/gedcomx-csharp
that referenced
this issue
Jan 29, 2023
- Relationship.
JoergHoffmannatGitHub
added a commit
to JoergHoffmannatGitHub/gedcomx-csharp
that referenced
this issue
Jan 29, 2023
- Document.
JoergHoffmannatGitHub
added a commit
to JoergHoffmannatGitHub/gedcomx-csharp
that referenced
this issue
Feb 18, 2023
- Gedcomx.
JoergHoffmannatGitHub
added a commit
to JoergHoffmannatGitHub/gedcomx-csharp
that referenced
this issue
Feb 18, 2023
- Gedcomx.
JoergHoffmannatGitHub
added a commit
to JoergHoffmannatGitHub/gedcomx-csharp
that referenced
this issue
Feb 18, 2023
- PlaceDescription.
JoergHoffmannatGitHub
added a commit
to JoergHoffmannatGitHub/gedcomx-csharp
that referenced
this issue
Mar 5, 2023
- Events.
JoergHoffmannatGitHub
added a commit
to JoergHoffmannatGitHub/gedcomx-csharp
that referenced
this issue
Mar 5, 2023
- NameForm.
JoergHoffmannatGitHub
added a commit
to JoergHoffmannatGitHub/gedcomx-csharp
that referenced
this issue
Mar 5, 2023
- NameForm.
JoergHoffmannatGitHub
added a commit
to JoergHoffmannatGitHub/gedcomx-csharp
that referenced
this issue
Mar 5, 2023
- NamePart.
JoergHoffmannatGitHub
added a commit
to JoergHoffmannatGitHub/gedcomx-csharp
that referenced
this issue
Mar 5, 2023
JoergHoffmannatGitHub
added a commit
to JoergHoffmannatGitHub/gedcomx-csharp
that referenced
this issue
Mar 12, 2023
- Collection.
JoergHoffmannatGitHub
added a commit
to JoergHoffmannatGitHub/gedcomx-csharp
that referenced
this issue
Mar 12, 2023
- Facet.
JoergHoffmannatGitHub
added a commit
to JoergHoffmannatGitHub/gedcomx-csharp
that referenced
this issue
Mar 12, 2023
- Field.
JoergHoffmannatGitHub
added a commit
to JoergHoffmannatGitHub/gedcomx-csharp
that referenced
this issue
Mar 12, 2023
- FieldDescriptor.
JoergHoffmannatGitHub
added a commit
to JoergHoffmannatGitHub/gedcomx-csharp
that referenced
this issue
Mar 12, 2023
- FieldValueDescriptor.
JoergHoffmannatGitHub
added a commit
to JoergHoffmannatGitHub/gedcomx-csharp
that referenced
this issue
Mar 26, 2023
- Gender.
JoergHoffmannatGitHub
added a commit
to JoergHoffmannatGitHub/gedcomx-csharp
that referenced
this issue
Mar 26, 2023
- RecordDescriptor.
JoergHoffmannatGitHub
added a commit
to JoergHoffmannatGitHub/gedcomx-csharp
that referenced
this issue
Apr 2, 2023
- RecordSet.
JoergHoffmannatGitHub
added a commit
to JoergHoffmannatGitHub/gedcomx-csharp
that referenced
this issue
Apr 2, 2023
- SourceReference.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi
i try to get the model under test for testing the serialization. So I use the Set - Methods like "SetAccount" and I use the Properties directly. It will caused an Exception.
var agent = new Agent();
agent.Accounts.Add(CreateOnlineAccount());
agent.Addresses.Add(CreateAddress());
agent.Emails.Add(CreateRessource());
agent.Homepage = CreateRessource();
agent.Identifiers.Add(CreateIdentifier());
agent.Names.Add(CreateTextValue());
agent.Openid = CreateRessource();
agent.Phones.Add(CreateRessource());
agent.Id = "id";
agent.Links.Add(CreateLink());
Why the error happened is clear to me, but why was it realized so? Can not you simply initialize the properties and remove the methods?
I have fixed the issue in #43 but if this have a deeper meaning I would be glad to learn it
The text was updated successfully, but these errors were encountered: