NPE around cache parsing