What did you make of the absolute value?

Your calculation is wrong. The integral of a non-negative continuous function is 0 if and only if the function is identically 0. The function you are integrating is clearly non-negative and continuous, but it's not identically 0!