Skip to main content

Error on Person Summary screen when Person Notes have a null LAST_UPDATED_ON date

In this article, we explain why a NullPointerException appears in the logs when viewing a Person Summary from Current Work or Find Person.

Y
Written by Yusef Abulaynain
Updated over 5 months ago

Error:
'java.lang.NullPointerException
at uk.co.corelogic.mosaic.domain.person.PersonSummaryDisplay.lambda$null$1(PersonSummaryDisplay.java:267)
at java.util.TimSort.countRunAndMakeAscending(TimSort.java:355)
at java.util.TimSort.sort(TimSort.java:220)'

The issue has now been fixed in Mosaic version 24.1

This could be due to the Person having Person Notes with a null LAST_UPDATED_ON date.

The following query can be run to check for any affected records:

SELECT pn.id, pn.person_id, pn.last_updated_by, pn.last_updated_on, pn.created_by, pn.created_on, pn.start_date, pn.end_date, pn.note_type, pn.cond_id
FROM
person_notes pn
INNER JOIN
note_type no_ty ON pn.note_type = no_ty.note_type
WHERE
and pn.last_updated_on is NULL
order by pn.person_id desc
Did this answer your question?