Are you really sure that the handler always is available? Otherwise this could cause an NPE.