Oracle Solution for Error ora-40118

Solution for Oracle Error ORA-40118

ORA-40118: insufficient number of target values in weights table

What triggered the Error:

The weights table had less that 2 target values.

What should we do to fix it:

Provide at least two target values in the weights table.