Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Twitterati, 1 year ago
Twitter returned a non-XML response:<?xml version="1.0" encoding="UTF-8"?> <statuses type="array"> <status> .... <!-- removed for brevity --> </status> </statuses>
via Google Groups by perfect8128, 2 years ago
The response body was not well-formed: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/ TR/1999/REC-html401-19991224/strict.dtd"> <!-- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd
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(Response.java:129)	at twitter4j.Status.constructStatuses(Status.java:206)	at twitter4j.Twitter.getFriendsTimeline(Twitter.java:797)