You're right to use the general form of the Uncertainty Principle, namely:
$$ \Delta H_1 \Delta H_2\geq\frac{1}{2}|\langle [H_1,H_2]\rangle|. $$
However, note that in the right hand side you have the expectation value of the commutator, so even if $[H,x] \neq 0$ it can still be that $\langle [H,x] \rangle = 0$. If this is the case then you can simultaneously measure position and energy.
For example, if you have a simple one-dimensional Hamiltonian with a potential:
$$ H = \frac{\hat{p}^2}{2 m} + V(x), $$
then you can easily show that
$$ [H,x] = -\frac{i \hbar}{m} \hat{p}.$$
Now you just have to check whether your system happens to be in a quantum state for which the expectation value of the momentum vanishes, i.e. $\langle \hat{p} \rangle = 0$.