id summary reporter owner description type status priority milestone component version resolution keywords cc 1934 Filtering on multi-valued annotation with 'null' and one other values gives error Nicklas Nordborg everyone " 1. Create a string annotation type for samples (or any other item) and set multiplicity to '0'. 2. Go to the list page and configure it so that the annotation type is visible. 3. Add a filter with one value and null (eg. `=foo|`) An error message is displayed and the filter is ignored: {{{ Could not filter on 'Sample.#754592': null }}} The log file has a stack trace with more information: {{{ 09:43:44,221 WARN Application:1358 - Could not filter on 'Sample.#754592' java.lang.NullPointerException at net.sf.basedb.core.AnnotationSimpleRestriction.(AnnotationSimpleRestriction.java:163) at net.sf.basedb.core.PropertyFilter.getRestriction(PropertyFilter.java:557) at net.sf.basedb.core.ItemContext.configureQuery(ItemContext.java:1330) at net.sf.basedb.clients.web.Base.getConfiguredQuery(Base.java:953) at org.apache.jsp.biomaterials.samples.list_005fsamples_jsp._jspService(list_005fsamples_jsp.java:367) ... }}}" defect closed major BASE 3.5 core fixed