This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
My Problem is , This code works sometimes and does not on other times.
1.When it works.. it uploads the first file and then when I retry uploading another file , it gives the details of the first file and uploads the first file again. The second file is not getting uploaded.
2.When it does not work , It gives a null pointer exception. and getMyFile() shows null in the console.
Can anyone please let me know what is wrong with my code? and explain me exactly what is happening here?? Thank You in Advance!