Details
-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
None
-
jenny8, hudson03
-
CNDA 1.7.3 sprint 5
-
Rank:0|0hzze1:4
-
CNDA 1.7.3 sprint 5
Description
To recreate on jenny8:
- Log in as a user with access to at least 1 subject.
- Go to Browse > Data > Subjects
- Click the 'Gender' column, and do a filter for 'IS NULL'.
- Save as a new stored search.
- Go to a different page, and then select this new search from the top dropdown. This should fail to load.
I've gotten this to fail with a few different data types and columns filtering on, and what all of the failures have in common is that the filter being used is 'IS NULL', so I'm confident that's the culprit. In the logs, we get this:
{code}2017-03-06 12:49:13,761 [ajp-bio-8009-exec-75] ERROR org.nrg.xnat.restlet.resources.search.SearchResource - Failed POST
java.lang.NullPointerException
at org.nrg.xdat.om.XdatCriteria.buildDisplaySearchCriteria(XdatCriteria.java:93)
at org.nrg.xdat.security.XdatCriteriaSet.getDisplaySearchCriteria(XdatCriteriaSet.java:60)
at org.nrg.xdat.security.XdatCriteriaSet.getDisplaySearchCriteria(XdatCriteriaSet.java:71)
at org.nrg.xdat.om.XdatStoredSearch.getDisplaySearch(XdatStoredSearch.java:181)
at org.nrg.xnat.restlet.resources.search.SearchResource.handlePost(SearchResource.java:182)
at org.restlet.Finder.handle(Finder.java:357){code}
Attachments
Issue Links
- relates to
-
XNAT-4785 Filters added to stored search that contain 'IS NULL' filter overwrite previous filter
-
- Open
-