twitter4j.TwitterException: Twitter returned a non-XML response:<?xml version="1.0" encoding="UTF-8"?> <statuses type="array"> <status> .... <!-- removed for brevity --> </status> </statuses>

Google Groups | Twitterati | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Concurrency Issue with Twitterati

    Google Groups | 8 years ago | Twitterati
    twitter4j.TwitterException: Twitter returned a non-XML response:<?xml version="1.0" encoding="UTF-8"?> <statuses type="array"> <status> .... <!-- removed for brevity --> </status> </statuses>

    Root Cause Analysis

    1. twitter4j.TwitterException

      Twitter returned a non-XML response:<?xml version="1.0" encoding="UTF-8"?> <statuses type="array"> <status> .... <!-- removed for brevity --> </status> </statuses>

      at twitter4j.http.Response.asDocument()
    2. twitter4j.http
      Response.asDocument
      1. twitter4j.http.Response.asDocument(Response.java:129)
      1 frame
    3. Twitter4j
      Twitter.getFriendsTimeline
      1. twitter4j.Status.constructStatuses(Status.java:206)
      2. twitter4j.Twitter.getFriendsTimeline(Twitter.java:797)
      2 frames