[SPARK-2364][STREAMING] ShuffledDStream run tasks only when dstream has partition items

 ShuffledDStream run tasks no matter whether dstream has partition items 

this patch fixed it
catch NPE here because CoGroupedRDD can't init with None