Results 1 to 1 of 1
  1. #1
    canisirius is offline Member
    Join Date
    Nov 2011
    Rep Power

    Question 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.

    - Canisirius
    Attached Files Attached Files

Similar Threads

  1. protocol violation error in jdbc connection
    By ronbigman in forum JDBC
    Replies: 0
    Last Post: 05-03-2011, 09:58 AM
  2. Read a single character entered
    By mcmb03 in forum New To Java
    Replies: 2
    Last Post: 01-31-2010, 11:30 PM
  3. Replies: 1
    Last Post: 04-27-2009, 11:19 AM
  4. Merged TIF file size is more larger than the sum of single TIF files
    By subrahmanyam.adapa in forum Advanced Java
    Replies: 3
    Last Post: 01-26-2009, 02:19 PM
  5. Replies: 1
    Last Post: 01-15-2008, 09:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts