Because dreams communicate through metaphor, a dreams about a boyfriend dying suggests that he is no longer a part of your life. Perhaps it is the relationship that is dying. Please see the attached...
your brother will be going to jail you will bail him out. or you will be going to jail and your brother goes to bail you out when he is arrexsted because he never went to court for his DUI
Dreaming of a ex dying usually means that person is no longer part of one's life. The ex is not actually dead, but rather one's feelings for that person are gone.