Opened 3 years ago
Closed 3 years ago
#1342 closed defect (fixed)
NullPointerException when running "Reference date and linked cases" wizard
Reported by: | Nicklas Nordborg | Owned by: | Nicklas Nordborg |
---|---|---|---|
Priority: | critical | Milestone: | Reggie v4.33.2 |
Component: | net.sf.basedb.reggie | Keywords: | |
Cc: |
Description
It stops with an error message: Cannot invoke "java.util.Date.getTime()" because "otherDate" is null
.
A full stack trace is in the log file:
java.lang.NullPointerException: Cannot invoke "java.util.Date.getTime()" because "otherDate" is null at net.sf.basedb.reggie.servlet.ReferenceDateServlet.doPost(ReferenceDateServlet.java:265) at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) ...
Investigations indicate that the error happens when there is a patient that has two cases and at least one of the cases is missing a current ReferenceDate
annotation.
Note:
See TracTickets
for help on using tickets.
In 6437: