{"action":"created","issue":{"url":"https://api.github.com/repos/minio/minio-java/issues/354","repository_url":"https://api.github.com/repos/minio/minio-java","labels_url":"https://api.github.com/repos/minio/minio-java/issues/354/labels{/name}","comments_url":"https://api.github.com/repos/minio/minio-java/issues/354/comments","events_url":"https://api.github.com/repos/minio/minio-java/issues/354/events","html_url":"https://github.com/minio/minio-java/issues/354","id":137579052,"number":354,"title":"Library fails while constructing ErrorResponse","user":{"login":"simonedavico","id":4446853,"avatar_url":"https://avatars.githubusercontent.com/u/4446853?v=3","gravatar_id":"","url":"https://api.github.com/users/simonedavico","html_url":"https://github.com/simonedavico","followers_url":"https://api.github.com/users/simonedavico/followers","following_url":"https://api.github.com/users/simonedavico/following{/other_user}","gists_url":"https://api.github.com/users/simonedavico/gists{/gist_id}","starred_url":"https://api.github.com/users/simonedavico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonedavico/subscriptions","organizations_url":"https://api.github.com/users/simonedavico/orgs","repos_url":"https://api.github.com/users/simonedavico/repos","events_url":"https://api.github.com/users/simonedavico/events{/privacy}","received_events_url":"https://api.github.com/users/simonedavico/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/minio/minio-java/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"balamurugana","id":629407,"avatar_url":"https://avatars.githubusercontent.com/u/629407?v=3","gravatar_id":"","url":"https://api.github.com/users/balamurugana","html_url":"https://github.com/balamurugana","followers_url":"https://api.github.com/users/balamurugana/followers","following_url":"https://api.github.com/users/balamurugana/following{/other_user}","gists_url":"https://api.github.com/users/balamurugana/gists{/gist_id}","starred_url":"https://api.github.com/users/balamurugana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balamurugana/subscriptions","organizations_url":"https://api.github.com/users/balamurugana/orgs","repos_url":"https://api.github.com/users/balamurugana/repos","events_url":"https://api.github.com/users/balamurugana/events{/privacy}","received_events_url":"https://api.github.com/users/balamurugana/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2016-03-01T13:50:35Z","updated_at":"2016-04-26T17:32:47Z","closed_at":null,"body":"I was trying to contact my Minio instance specifying a wrong address earlier, and it seems like error reporting is broken. `ErrorResponse.parseXml` throws some exception about the xml being malformed.\r\n\r\nStack trace:\r\n\r\n```\r\n! org.xmlpull.v1.XmlPullParserException: only whitespace content allowed before start tag and not 4 (position: START_DOCUMENT seen 4... @1:1) \r\n! at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1519) ~[xpp3-1.1.4c.jar:na]\r\n! at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395) ~[xpp3-1.1.4c.jar:na]\r\n! at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093) ~[xpp3-1.1.4c.jar:na]\r\n! at com.google.api.client.xml.Xml.parseElementInternal(Xml.java:245) ~[google-http-client-xml-1.20.0.jar:1.20.0]\r\n! at com.google.api.client.xml.Xml.parseElement(Xml.java:222) ~[google-http-client-xml-1.20.0.jar:1.20.0]\r\n! at io.minio.messages.XmlEntity.parseXml(XmlEntity.java:62) ~[minio-1.0.1.jar:1.0.1]\r\n! at io.minio.messages.ErrorResponse.parseXml(ErrorResponse.java:134) ~[minio-1.0.1.jar:1.0.1]\r\n! at io.minio.messages.ErrorResponse.<init>(ErrorResponse.java:60) ~[minio-1.0.1.jar:1.0.1]\r\n! at io.minio.MinioClient.execute(MinioClient.java:522) ~[minio-1.0.1.jar:1.0.1]\r\n! at io.minio.MinioClient.executeGet(MinioClient.java:635) ~[minio-1.0.1.jar:1.0.1]\r\n! at io.minio.MinioClient.getObject(MinioClient.java:836) ~[minio-1.0.1.jar:1.0.1]\r\n! at io.minio.MinioClient.getObject(MinioClient.java:769) ~[minio-1.0.1.jar:1.0.1]\r\n``` "},"comment":{"url":"https://api.github.com/repos/minio/minio-java/issues/comments/214821183","html_url":"https://github.com/minio/minio-java/issues/354#issuecomment-214821183","issue_url":"https://api.github.com/repos/minio/minio-java/issues/354","id":214821183,"user":{"login":"harshavardhana","id":622699,"avatar_url":"https://avatars.githubusercontent.com/u/622699?v=3","gravatar_id":"","url":"https://api.github.com/users/harshavardhana","html_url":"https://github.com/harshavardhana","followers_url":"https://api.github.com/users/harshavardhana/followers","following_url":"https://api.github.com/users/harshavardhana/following{/other_user}","gists_url":"https://api.github.com/users/harshavardhana/gists{/gist_id}","starred_url":"https://api.github.com/users/harshavardhana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harshavardhana/subscriptions","organizations_url":"https://api.github.com/users/harshavardhana/orgs","repos_url":"https://api.github.com/users/harshavardhana/repos","events_url":"https://api.github.com/users/harshavardhana/events{/privacy}","received_events_url":"https://api.github.com/users/harshavardhana/received_events","type":"User","site_admin":false},"created_at":"2016-04-26T17:32:47Z","updated_at":"2016-04-26T17:32:47Z","body":"> Sorry, not yet. I've been very busy with my thesis in the last few months, and completely forgot about the issue. I will try to do it in the next few days.\r\n\r\nNo problem @simonedavico, all the best on your thesis :-) "}}