`Error: No HTTP response code found.`

I am migrating a component from Joomla 2.5 to Joomla 3. After migrating my component when I tried to install using install from directory I got this error. 

Any ideas about this error?