fixed araqne/issue#704. fixed NPE caused by null thread group