Oracle Error QSM-01028: materialized view, string, is currently being refreshed

Oracle Error Message

QSM-01028: materialized view, string, is currently being refreshed

Reason for the Error

Materialized view cannot be used for query rewrite while it is being refreshed

Solution

Rerun the query, after the refresh operation is completed.