U00045014 Exception 'com.automic.rest.provider.TransactionException: "com.automic.search.api.IndexException: Indexing exception

Document ID : KB000122435
Last Modified Date : 05/12/2018
Show Technical Document Details
Issue:
Automic Workload Automation (AWA) admin users are able to search in AWI.  However, users with limited permissions are unable to search.  They get the "Object: Search shows 0 results".

A forced trace file gets generated by the JCP and shows this full error:
U00045014 Exception 'com.automic.rest.provider.TransactionException: "com.automic.search.api.IndexException: Indexing exception [org.apache.lucene.queryparser.classic.ParseException]: Cannot parse '((name:*jobs*) AND (granularity:OBJECT) AND (client:1) AND (isLink:false)) AND (((aclPath:*.CODELIBRARY OR aclPath:*ADMIN* OR aclPath: OR aclPath:*.GLOBAL OR aclPath:FHR.VARA.SQL.TODAY_ORACLE OR aclPath:*)) OR aclPath:\\<NOFOLDER>)': Encountered " <OR> "OR "" at line 1, column 135.
Was expecting one of:
    <BAREOPER> ...
    "(" ...
    "*" ...
    <QUOTED> ...
    <TERM> ...
    <PREFIXTERM> ...
    <WILDTERM> ...
    <REGEXPTERM> ...
    "[" ...
    "{" ...
    <NUMBER> ...
     "' at 'com.automic.rest.search.SearchResource.findObjects():236'.
U00045015 The previous error was caused by 'java.lang.RuntimeException: "com.automic.search.api.IndexException: Indexing exception [org.apache.lucene.queryparser.classic.ParseException]: Cannot parse '((name:*jobs*) AND (granularity:OBJECT) AND (client:1) AND (isLink:false)) AND (((aclPath:*.CODELIBRARY OR aclPath:*ADMIN* OR aclPath: OR aclPath:*.GLOBAL OR aclPath:FHR.VARA.SQL.TODAY_ORACLE OR aclPath:*)) OR aclPath:\\<NOFOLDER>)': Encountered " <OR> "OR "" at line 1, column 135.
Was expecting one of:
    <BAREOPER> ...
    "(" ...
    "*" ...
    <QUOTED> ...
    <TERM> ...
    <PREFIXTERM> ...
    <WILDTERM> ...
    <REGEXPTERM> ...
    "[" ...
    "{" ...
    <NUMBER> ...
     "' at 'com.automic.rest.search.SearchResource$FindCallable.call():282'.
U00045015 The previous error was caused by 'com.automic.search.api.IndexException: "Indexing exception [org.apache.lucene.queryparser.classic.ParseException]: Cannot parse '((name:*jobs*) AND (granularity:OBJECT) AND (client:1) AND (isLink:false)) AND (((aclPath:*.CODELIBRARY OR aclPath:*ADMIN* OR aclPath: OR aclPath:*.GLOBAL OR aclPath:FHR.VARA.SQL.TODAY_ORACLE OR aclPath:*)) OR aclPath:\\<NOFOLDER>)': Encountered " <OR> "OR "" at line 1, column 135.
Was expecting one of:
    <BAREOPER> ...
    "(" ...
    "*" ...
    <QUOTED> ...
    <TERM> ...
    <PREFIXTERM> ...
    <WILDTERM> ...
    <REGEXPTERM> ...
    "[" ...
    "{" ...
    <NUMBER> ...
     "' at 'com.automic.search.lucene.searcher.IndexSearch.logAndThrowIndexExc():95'.
Environment:
Automation Engine v12.2.0+hf.2.build.8631
Cause:
The user object has its own Authorizations and Privileges settings that conflict with the Usergroup's Authorizations and Privileges they belong to.
Resolution:

Removed all existing Authorizations and Privileges on the User itself so that it will use the UserGroup's Authorizations and Privileges they belong to.