fixed crash on test case of spine.
Merge pull request #7082 from Dhilan007/v2-224

fixed crash on test case of spine.