Protocol violation: Unexpected single newline character in chunk size
I need help with resolving an error. I have written a program to fetch data online from a web resource using following libraries:
When I am running the program in Linux environment it is running without any errors but when I run the same program in windows environment, I get the error "org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxIOException: Protocol violation: Unexpected single newline character in chunk size".
Detailed error trace is provided in attached text file error_trace.txt
I have been checking for the solutions for this, but could not find any conclusive result. The error seems to be generated from ChunkedInputStream where it is finding \r but no immediate \n after \r.
Any help will be much appreciated.