Commerce price attributes doesn't work when I use commerce discount for products
I found the solution of this problem. In order to avoid this error, you must set order for your discount. 

for the field order (with description : Discounts will be sorted by this value to be evaluated in that order.)
set the discount on 1 (or the lowest amount in the select box)

this will fix the problem.