Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.io.IOException: Error writing to server

807589Jul 25 2008 — edited Jul 28 2008
Hi there,

I get a "java.io.IOException: Error writing to server" error, its information is as follow:

java.io.IOException: Error writing to server
at sun.net.www.protocol.http.HttpURLConnection.writeRequests(HttpURLConn
ection.java:440)
at sun.net.www.protocol.http.HttpURLConnection.writeRequests(HttpURLConn
ection.java:452)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:1000)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373
)
at com.google.gdata.client.http.HttpGDataRequest.checkResponse(HttpGData
Request.java:552)
at com.google.gdata.client.http.HttpGDataRequest.execute(HttpGDataReques
t.java:532)
at com.google.gdata.client.http.GoogleGDataRequest.execute(GoogleGDataRe
quest.java:523)
at com.google.gdata.client.media.MediaService.insert(MediaService.java:2
50)
at sample.youtube.YouTubeWriteClient.uploadVideo(YouTubeWriteClient.java
:517)
at sample.youtube.YouTubeWriteClient.main(YouTubeWriteClient.java:787)

Can anybody help me? What probably cause this exception? Could it be a network problem?

Thanks a lot~~~
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 25 2008
Added on Jul 25 2008
6 comments
14,393 views