Oracle Message ORA-25958 - join index where clause predicate may only contain column references

ERRORjoin index where clause predicate may only contain column references
CAUSEAn attempt to create a join index was made, which failed because a predicate in the where clause contained something other than a simple column.
ACTIONEnsure that the where clause only contains columns.