For a box of radiation, ignoring quantum mechanics, the energy of a classical field in thermal equilibrium is infinite, since equipartition demands that each field mode has an equal energy on average, and there are infinitely many modes. This is physically ridiculous, since it means that all energy leaks into high-frequency electromagnetic waves over time.