added a return value check for SQLUtils::createItemData().