Reproduces NPE issue