Ultraviolet catastrophe
This happened around the end of the nineteenth century. It was one of the things that led to the invention of quantum mechanics. Theorists like Max Planck solved the problem with the quantum theory in which energy leaves the body in distinct packets called quanta rather than in continuous waves. The quantum theory accurately predicted the energy of the radiation that is observed.