Post

2 followers Follow
0
Avatar

Premature EOF exception by executing query-method of Clarizen API

For about one month we are often getting the following error message, when we call the query method of the Clarizen API:
javax.xml.ws.WebServiceException: java.io.IOException: Premature EOF
at com.sun.xml.internal.ws.streaming.TidyXMLStreamReader.close(TidyXMLStreamReader.java:58)
at com.sun.xml.internal.ws.client.sei.ResponseBuilder$DocLit.readResponse(ResponseBuilder.java:558)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:110)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:78)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:129)
at $Proxy0.query(Unknown Source)
at ...LoadClarizenData.getData(LoadClarizenData.java:95)

We are using the Clarizen API v.1 and JAX-WS to access the Clarizen web service. We didn't change our code. Any ideas?

Victor Enes Answered

Please sign in to leave a comment.

5 comments

0
Avatar

Are these calls taking a lot of time to compete? Can you monitor that?
It might be that there is a timeout somewhere which closes the connection which causes this error.

Eyal Post 0 votes
Comment actions Permalink
0
Avatar

We start the query to load User entities. It runs approx. 1 sec. If we start the same action one after another then randomly some of these actions works and some get this error.

Victor Enes 0 votes
Comment actions Permalink
0
Avatar

Do you think it will be possible for you to provide us with some code that reproduces this?

Eyal Post 0 votes
Comment actions Permalink