You might just pull the battery out and check it with a volt meter to be sure it's dead. Then connect it directly to the junction box or what ever you plug your charging cable into and try to charge it that way.
Maybe there is a bad connection elsewhere along the line. Everything in Di2 is essentially connected one to another. So any one of many connections might be bad preventing the battery from charging.