Nalla Praveen wrote:but my logic is perfect...
This is not an assumption that a real programmer would make. On the contrary, the chances are that the problem is your fault. And it's probably something simple -- after all your program isn't very complicated at all, is it? Probably something like failing to commit something, or close something.