I found the solution.
The exception was raised because the copied filter had another elementId, so when it had to apply the graphics from the filter from the source project, it could find the same filter in the destination project.
I found the solution.
The exception was raised because the copied filter had another elementId, so when it had to apply the graphics from the filter from the source project, it could find the same filter in the destination project.