It might be a 32-bit image, which JPEG does not support. Go into Image > Mode and make sure it's 8 bit or 16 bit (my guess is that it's currently 32 bit).
You could also try doing a File > Export > Export As (or Save for Web) and choosing JPEG that way.
—
Adobe Certified Expert & Instructor at Noble Desktop | Web Developer, Designer, InDesign Scriptor