fixed the bug that sets NULL pointer to the item group.

This patch sets an empty ItemGroupPtr instance instead.