-
Bug
-
Resolution: Fixed
-
Blocker
-
4.0M13
-
None
-
None
After waiting several minutes, the search finally ends with an error :
Error from server at http://localhost:8983/solr: java.lang.NullPointerException at org.apache.solr.search.JoinQuery.hashCode(JoinQParserPlugin.java:522) at java.util.HashMap.hash(HashMap.java:338) at java.util.HashMap.getOrDefault(HashMap.java:1048) at org.apache.lucene.search.Multiset.add(Multiset.java:84) at org.apache.lucene.search.BooleanQuery.<init>(BooleanQuery.java:168) at org.apache.lucene.search.BooleanQuery.<init>(BooleanQuery.java:41) at org.apache.lucene.search.BooleanQuery$Builder.build(BooleanQuery.java:145)
The executed Solr query is
(-allContentTypes:simple.Keyword AND site:event AND contentLanguage:"fr") &start=0&rows=50&fl=id,score&fq=_documentType:content &fq=(aclReadAllowAnonymous:true OR {!join from=id to=pageIds v="aclReadAllowAnonymous:true"} OR ((aclReadAllowedUsers:(admin#ametys_demo_users) AND -aclReadDeniedUsers:(admin#ametys_demo_users)) AND {!join from=id to=pageIds v="-(aclReadDeniedUsers:(admin#ametys_demo_users))"}) OR (-(aclReadDeniedUsers:(admin#ametys_demo_users)) AND {!join from=id to=pageIds v="(aclReadAllowedUsers:(admin#ametys_demo_users) AND -aclReadDeniedUsers:(admin#ametys_demo_users))"}) OR ({!join from=id to=pageIds v="-(aclReadDeniedUsers:(admin#ametys_demo_users))"}) OR (-(aclReadDeniedUsers:(admin#ametys_demo_users)) AND {!join from=id to=pageIds v=""}) OR (aclReadAllowAnyConnectedUser:true AND {!join from=id to=pageIds v="-(aclReadAllowAnyConnectedUser:false)"} AND (-(aclReadDeniedUsers:(admin#ametys_demo_users)) AND {!join from=id to=pageIds v="-(aclReadDeniedUsers:(admin#ametys_demo_users))"} AND -() AND {!join from=id to=pageIds v="-()"})) OR (-(aclReadAllowAnyConnectedUser:false) AND {!join from=id to=pageIds v="aclReadAllowAnyConnectedUser:true"} AND (-(aclReadDeniedUsers:(admin#ametys_demo_users)) AND {!join from=id to=pageIds v="-(aclReadDeniedUsers:(admin#ametys_demo_users))"} AND -() AND {!join from=id to=pageIds v="-()"})))&sort=title_s_sort asc&facet.field={!ex=contributor key=contributor}contributor_dv&facet.field={!ex=workflowStep key=workflowStep}workflowStep_dv&facet.field={!ex=contentTypes key=contentTypes}contentTypes_dv&facet=true