Hii Shivam,
It seems that your parent parameter is either empty or some spelling miss match.
you are getting this dump because the CONSTRUCTOR method of CL_GUI_TEXTEDIT has mandatory parameter called PARENT .
Make sure that you have passed the right parent parameter while crating object of this class 'CL_GUI_TEXTEDIT' .
regards
Syed