500: Unexpected server error with NullPointerException

LabKey Support Forum (Inactive)
500: Unexpected server error with NullPointerException Jon (LabKey DevOps)  2015-11-13 12:41
Status: Closed
 
Hi Eva,

Thanks for showing us this error!

The NPE is generating due to how the Missing Value Indicator is designed. Since you're attempting to apply it to the Primary Key of the table (a value that is required), it doesn't have the ability to have two columns stand behind it, the raw value and the missing value indicator. This is what is generating the NPE and there should be no reason to use the Missing Value Indicator on any Primary Key since the Primary Key will always have a value.

What we are going to have to do is to create an enhancement to prevent that box from being enabled on a primary key field for a future release of LabKey and update our docs (https://www.labkey.org/wiki/home/Documentation/page.view?name=manageMissing) to indicate that the feature isn't meant to be used on the Primary Key.

Regards,

Jon