To supplement andrea's response by extending it a bit to hazard ratios:
The hazard of an event is the instantaneous probability of an event occurring at time t, conditional on it not having previously occurred.
Your problem should be clear instantly - with no events, the probability is zero. Borrowing from andrea's example, the incident rate is equivalent to a constant hazard - in your case, a constant hazard of zero.
Dividing by zero tends to make software angry.
You need to switch your reference category. My suggestion is to use "Quartile 4" or the other high value of the category, and step down, rather than using Quartile 1 and stepping up. If you were hoping to, for example, show an increase in the HR as you moved up a category, you're now showing the equivalent protective effect from moving down one.
I would also suggest taking a moment to consider why you have no events.
It's possible you're simply having a run of "bad luck", at which point there's nothing you can do but increase the study size or follow the population for longer in hopes of accumulating more events. But you should make sure there's no reason that the probability of having an outcome in your population isn't zero for a reason. For cardiac events I can imagine one, but it is always worth stopping to consider when you have zero events in some level of a covariate.