/
Error when adding new Phase

Error when adding new Phase

Problem

When adding a new Phase, after filling in the values and then clicking OK you receive the following error:

Note:
Debug Location: 6

Message:
Object reference not set to an instance of an object.

If you check the Show Details option on the error message you will also see the following information.

Target:
Void Button_OK_Click(System.Object, System.EventArgs)

Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at CrowsNest.Form_ProjectPhase_AddNew.Button_OK_Click(Object sender, EventArgs e)

Workaround

This is caused when a value is entered into one of the UDC fields then the value is removed by deleting the cell value with the delete or backspace key. To avoid the error, clear cells by using Ctrl+X to cut the value from the cell.

Solution

This has been fixed and should not occur in any version dated after 2020-02-03.

Related content

Error while changing the ID of a Phase (Work Order)
Error while changing the ID of a Phase (Work Order)
More like this
Release: January 20, 2020
Release: January 20, 2020
More like this
Release: February 21, 2020
Release: February 21, 2020
More like this
Release notes: 2014
Release notes: 2014
More like this
Task Detail Error - Object reference not set to an instance of an object
Task Detail Error - Object reference not set to an instance of an object
More like this
Release: December 14, 2020
Release: December 14, 2020
More like this