IllegalStateException
Hello,
When I am trying to send data from mobile to server data is successfully transfer to server but it gives an error message on mobile side that "Uncaught exception: IllegalStateException"
This exception is occured on line,
connection.openDataInputStream();
I write this code in try catch block but after that, it gives the same error message.
Can anybody know, what is the reason behind that?

