Studio remote debug "An Error has occurred during your run"

  • KM03197275
  • 04-Jul-2018
  • 04-Jul-2018

Archived Content: This information is no longer maintained and is provided "as is" for your convenience.

Summary

When the customer is trying to run Studio, appears the error "An Error has occurred during your run"

Question

The error (below described) appears when we attempt to debug a flow in Studio 10.70.
org.springframework.remoting.RemoteAccessException: Could not access HTTP invoker remote service at [https://<OO_SERVER>:8443/oo/central-remoting/remoteDebuggerService]; nested exception is java.net.SocketTimeoutException: Read timed out
We have checked the connectivity between Studio and OO server and found no issues.
No entries related to the issue are found in the logs (wrapper.log, jvm.log, server.log, etc...)
We've been running remote debug from over a year (or so) without issues.
Multiple developers are experiencing the same issue.
The issue occurs connecting to multiple Centrals.
The database is MSSQL Server 2012.
The OO version is 10.70.
There are no proxies in use.
Detailed error information as provided by Studio:
========================================================================================================================
com.iconclude.dharma.runengine.RunException: org.springframework.remoting.RemoteAccessException: Could not access HTTP invoker remote service at [https://<OO_SERVER>:8443/oo/central-remoting/remoteDebuggerService]; nested exception is java.net.SocketTimeoutException: Read timed out
at com.iconclude.dharma.app.debugging.EventDrivenDebugger.cleanupAfterFatalError(EventDrivenDebugger.java:1796)
at com.iconclude.dharma.app.debugging.EventDrivenDebugger$30.run(EventDrivenDebugger.java:1767)
at com.iconclude.dharma.app.util.ui.DharmaSwingUtils$4.run(DharmaSwingUtils.java:395)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at com.iconclude.dharma.app.util.DharmaEventQueue.dispatchEvent(DharmaEventQueue.java:124)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: org.springframework.remoting.RemoteAccessException: Could not access HTTP invoker remote service at [https://<OO_SERVER>:8443/oo/central-remoting/remoteDebuggerService]; nested exception is java.net.SocketTimeoutException: Read timed out
at com.hp.oo.studio.debugger.engine.controls.FlowExecutionControlImpl.play(FlowExecutionControlImpl.java:138)
at com.iconclude.dharma.runengine.debugger.RunControlImpl.play(RunControlImpl.java:410)
at com.iconclude.dharma.app.debugging.EventDrivenDebugger$21.run(EventDrivenDebugger.java:1269)
at com.iconclude.dharma.app.debugging.EventDrivenDebugger$20.doInBackground(EventDrivenDebugger.java:1192)
at com.iconclude.dharma.app.debugging.EventDrivenDebugger$20.doInBackground(EventDrivenDebugger.java:1188)
at javax.swing.SwingWorker$1.call(SwingWorker.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at javax.swing.SwingWorker.run(SwingWorker.java:334)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.remoting.RemoteAccessException: Could not access HTTP invoker remote service at [https://<OO_SERVER>:8443/oo/central-remoting/remoteDebuggerService]; nested exception is java.net.SocketTimeoutException: Read timed out
at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.convertHttpInvokerAccessException(HttpInvokerClientInterceptor.java:216)
at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:147)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)
at com.sun.proxy.$Proxy207.trigger(Unknown Source)
at com.hp.oo.studio.debugger.engine.controls.FlowExecutionControlImpl.play(FlowExecutionControlImpl.java:129)
... 10 more
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:170)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
at sun.security.ssl.InputRecord.read(InputRecord.java:503)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:930)
at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:139)
at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:155)
at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:284)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261)
at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165)
at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:167)
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
at org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.executeHttpPost(HttpComponentsHttpInvokerRequestExecutor.java:338)
at com.hp.oo.studio.debugger.engine.services.EnginesConnectionsServiceImpl$BasicAuthenticationCommonsHttpInvokerRequestExecutor.doExecuteRequest(EnginesConnectionsServiceImpl.java:531)
at org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.executeRequest(AbstractHttpInvokerRequestExecutor.java:138)
at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.executeRequest(HttpInvokerClientInterceptor.java:194)
at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.executeRequest(HttpInvokerClientInterceptor.java:176)
at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:144)
... 14 more
========================================================================================================================

Answer

Run the next 2 queries:
truncate table OO_RUNNING_EXECUTION_PLANS;
truncate table OO_CACHED_EXECUTION_PLANS;