Prevent sleep of death caused by framework NPE  - thanks Aquous