Oracle Error Message
ORA-18175: FTDY0016 weights invalid
Reason for the Error
It is a dynamic error if an implementation that does not support negative weights encounters a weight expression that does not meet the restriction.
Solution
Do not use invalid weights value.