java.io.IOException: Stream already consumed.
Using RSA Design Manager 4.0.6
I am having an exception each time I try to create a UML element like a UML Package or UML Class inside another package from RSA 9.0 client.
The error says:
A problem occurred when performing BULK save for the changeset https://ibmibm-sebv4fi7:9443/dm/editingsessions/234
This problem is not classified. Please check the technical details for more information.
And the exception is:
java.io.IOException: Stream already consumed.
at com.ibm.xtools.rmpc.bulk.internal.MultiRequestEntity.writeTo(MultiRequestEntity.java:241)
at org.apache.http.entity.HttpEntityWrapper.writeTo(HttpEntityWrapper.java:96)
at org.apache.http.impl.client.EntityEnclosingRequestWrapper$EntityWrapper.writeTo(EntityEnclosingRequestWrapper.java:108)
at org.apache.http.impl.entity.EntitySerializer.serialize(EntitySerializer.java:120)
at org.apache.http.impl.AbstractHttpClientConnection.sendRequestEntity(AbstractHttpClientConnection.java:263)
at org.apache.http.impl.conn.AbstractClientConnAdapter.sendRequestEntity(AbstractClientConnAdapter.java:227)
at org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:255)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:645)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:464)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:732)
at com.ibm.xtools.rmpx.oauth.OAuthClientImpl.execute(OAuthClientImpl.java:281)
at com.ibm.xtools.rmpx.oauth.OAuthClientImpl.execute(OAuthClientImpl.java:207)
at com.ibm.xtools.rmpx.oauth.OAuthCommunicator.execute(OAuthCommunicator.java:104)
at com.ibm.xtools.rmpx.oauth.OAuthCommunicator.execute(OAuthCommunicator.java:100)
at com.ibm.xtools.rmpc.changesets.internal.RmpsChangesetServiceImpl.doBulkRequest(RmpsChangesetServiceImpl.java:845)
at com.ibm.xtools.rmpc.core.internal.changesets.impl.ChangesetManagerImpl$AbstractConnectionBulkManager$1.doExecute(ChangesetManagerImpl.java:2771)
at com.ibm.xtools.rmpc.core.internal.connection.OAuthServerRequest.call(OAuthServerRequest.java:81)
at com.ibm.xtools.rmpc.core.internal.connection.InternalOAuthServerRequest.call(InternalOAuthServerRequest.java:52)
at com.ibm.xtools.rmpc.core.internal.connection.InternalOAuthServerRequest.call(InternalOAuthServerRequest.java:1)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:345)
at java.util.concurrent.FutureTask.run(FutureTask.java:177)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:626)
at java.lang.Thread.run(Thread.java:780)
Any suggestion?
Thanks in advance,
Chemi.
I am having an exception each time I try to create a UML element like a UML Package or UML Class inside another package from RSA 9.0 client.
The error says:
A problem occurred when performing BULK save for the changeset https://ibmibm-sebv4fi7:9443/dm/editingsessions/234
This problem is not classified. Please check the technical details for more information.
And the exception is:
java.io.IOException: Stream already consumed.
at com.ibm.xtools.rmpc.bulk.internal.MultiRequestEntity.writeTo(MultiRequestEntity.java:241)
at org.apache.http.entity.HttpEntityWrapper.writeTo(HttpEntityWrapper.java:96)
at org.apache.http.impl.client.EntityEnclosingRequestWrapper$EntityWrapper.writeTo(EntityEnclosingRequestWrapper.java:108)
at org.apache.http.impl.entity.EntitySerializer.serialize(EntitySerializer.java:120)
at org.apache.http.impl.AbstractHttpClientConnection.sendRequestEntity(AbstractHttpClientConnection.java:263)
at org.apache.http.impl.conn.AbstractClientConnAdapter.sendRequestEntity(AbstractClientConnAdapter.java:227)
at org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:255)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:645)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:464)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:732)
at com.ibm.xtools.rmpx.oauth.OAuthClientImpl.execute(OAuthClientImpl.java:281)
at com.ibm.xtools.rmpx.oauth.OAuthClientImpl.execute(OAuthClientImpl.java:207)
at com.ibm.xtools.rmpx.oauth.OAuthCommunicator.execute(OAuthCommunicator.java:104)
at com.ibm.xtools.rmpx.oauth.OAuthCommunicator.execute(OAuthCommunicator.java:100)
at com.ibm.xtools.rmpc.changesets.internal.RmpsChangesetServiceImpl.doBulkRequest(RmpsChangesetServiceImpl.java:845)
at com.ibm.xtools.rmpc.core.internal.changesets.impl.ChangesetManagerImpl$AbstractConnectionBulkManager$1.doExecute(ChangesetManagerImpl.java:2771)
at com.ibm.xtools.rmpc.core.internal.connection.OAuthServerRequest.call(OAuthServerRequest.java:81)
at com.ibm.xtools.rmpc.core.internal.connection.InternalOAuthServerRequest.call(InternalOAuthServerRequest.java:52)
at com.ibm.xtools.rmpc.core.internal.connection.InternalOAuthServerRequest.call(InternalOAuthServerRequest.java:1)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:345)
at java.util.concurrent.FutureTask.run(FutureTask.java:177)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:626)
at java.lang.Thread.run(Thread.java:780)
Any suggestion?
Thanks in advance,
Chemi.
Comments
Francois-xavier Panaget
Jun 15 '14, 4:04 p.m.Hi Chemi,
I have seen that you created several posts on RSA DM 4.0.6 and the usage of the RSA DM client Extension in RSA 9.0.
What are your settings under Window > Preferences > Design Repository?
I have seen problems if you uncheck the option "Share With Others on Save".
You could be falling into the problem describe in WI 47089 - A few problems occurred on save changes in RSA eclipse DM client although it was found with 5.0.
Regards,
François
Jose Miguel Ordax Cassa
Jun 15 '14, 6:28 p.m.Hi François, you are right.
I have that option unchecked. I will try again my failing scenarios checking it again and come back with the result.
Thanks a lot for your comments,
Chemi.
Jose Miguel Ordax Cassa
Jun 16 '14, 4:25 a.m.Hi François, this morning I cleaned all logs and started everything from scratch to report a potential defect but... it worked fine.
So it seems like the WI you mentioned above, it is not 100% reproducible after a server restart.
As I still "playing" around, if I hit the issue again I will try:
- Report a defect with the logs.
- Test the same action with the option selected.
Thanks again,
Chemi.
Jose Miguel Ordax Cassa
Jun 16 '14, 7:15 a.m.It happened again.
I have opened this defect: https://jazz.net/jazz04/web/projects/Design%20Management#action=com.ibm.team.workitem.viewWorkItem&id=47240
Regards,
Chemi.
Jose Miguel Ordax Cassa
Jun 16 '14, 7:29 a.m.BTW François, once it is failing, checking the Share With Others on Save checkbox doesn't fix the issue. What I can't confirm is if having it checked this issue wouldn't happen.
Regards,
Chemi.
Jose Miguel Ordax Cassa
Jun 23 '14, 3:19 p.m.Working with François on this, we found out the issue just happens when saving the element with the Save button or Save All button. If I close the properties window with the X button it works.
Still investigating but as workaround is fine for the moment....
Regards,
Chemi.