Skip to content
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

Error: "Object reference not set to an instance of an object." when ProjectBiblicalTerms.xml is missing #392

Closed
pmachapman opened this issue May 19, 2024 · 0 comments · Fixed by sillsdev/machine#208
Assignees
Labels
bug Something isn't working

Comments

@pmachapman
Copy link
Collaborator

If a project is configured to use its own Project Biblical Terms as its Biblical Terms list, but does not contain the file "ProjectBiblicalTerms.xml", then the following error occurs for the build:

Object reference not set to an instance of an object.

Instead of an error, Serval should follow the behavior of Paratext and treat the project as if there were no biblical terms configured.

The configuration that causes this to occur is:

  1. Settings.xml
...
<BiblicalTermsListSetting>Project:MP1:ProjectBiblicalTerms.xml</BiblicalTermsListSetting>
...

(Where MP1 is the project short name.)

  1. Ensure that the file ProjectBiblicalTerms.xml does not exist in the project.
@pmachapman pmachapman added the bug Something isn't working label May 19, 2024
@johnml1135 johnml1135 assigned johnml1135 and Enkidu93 and unassigned johnml1135 Jun 3, 2024
Enkidu93 added a commit to sillsdev/machine that referenced this issue Jun 6, 2024
johnml1135 pushed a commit to sillsdev/machine that referenced this issue Jun 7, 2024
Fix error on terms id duplication
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants