java.util.concurrent.TimeoutException

MuleSoft JIRA | sriharsha gubba | 1 year ago
  1. 0

    Hi We have a until successful synchronous with failure expression to catch only exceptions only when the external service is down and disable the retries when there is timeout exception.But the below code is still retring three time and errored out with below exception Message : Error sending HTTP request. Message payload is of type: byte[] Type : org.mule.api.MessagingException Code : MULE_ERROR--2 Payload : [B@3dbea396 JavaDoc : http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/MessagingException.html ******************************************************************************** Exception stack is: 1. null (java.util.concurrent.TimeoutException) org.glassfish.grizzly.impl.SafeFutureImpl$Sync:357 (null) 2. Error sending HTTP request. Message payload is of type: byte[] (org.mule.api.MessagingException) org.mule.module.http.internal.request.DefaultHttpRequester:190 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/MessagingException.html) ******************************************************************************** Root Exception stack trace: java.util.concurrent.TimeoutException at org.glassfish.grizzly.impl.SafeFutureImpl$Sync.innerGet(SafeFutureImpl.java:357) <until-successful synchronous="true" maxRetries="${farallon.untilsuccessful.mediaview.maxretries}" failureExpression="#[exception != null &amp;&amp; !exception.causedBy(java.util.concurrent.TimeoutException)]" millisBetweenRetries="${farallon.untilsuccessful.mediaview.millisecsbetweenretries}" doc:name="Until Successful"> <processor-chain doc:name="Processor Chain"> <set-payload value="#[flowVars['tempPayload']]" doc:name="Set Payload"/> <file:outbound-endpoint path="${farallon.path.logs-publish}" outputPattern="Post_Log-#[function:datestamp].xml" responseTimeout="10000" doc:name="File" /> <set-property propertyName="http.disable.status.code.exception.check" value="true" doc:name="Property"/> <http:request config-ref="MediaViewRequestConfig" path="${farallon.rsc.mediaview.video-post}" method="POST" doc:name="HTTP"> <http:request-builder> <http:header headerName="Content-type" value="text/xml" /> </http:request-builder> </http:request> <object-to-string-transformer doc:name="Object to String"/> <logger message="PROCESS = PUBLISH, STEP = MV_POST_RESULT, GUID = #[flowVars['guid']], PAYLOAD = #[payload:], RESPONSE_CODE = #[message.inboundProperties['http.status']], FLOW=#[flow.name] " level="INFO" doc:name="Logger"/> </processor-chain> </until-successful>

    MuleSoft JIRA | 1 year ago | sriharsha gubba
    java.util.concurrent.TimeoutException
  2. 0

    Hi We have a until successful synchronous with failure expression to catch only exceptions only when the external service is down and disable the retries when there is timeout exception.But the below code is still retring three time and errored out with below exception Message : Error sending HTTP request. Message payload is of type: byte[] Type : org.mule.api.MessagingException Code : MULE_ERROR--2 Payload : [B@3dbea396 JavaDoc : http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/MessagingException.html ******************************************************************************** Exception stack is: 1. null (java.util.concurrent.TimeoutException) org.glassfish.grizzly.impl.SafeFutureImpl$Sync:357 (null) 2. Error sending HTTP request. Message payload is of type: byte[] (org.mule.api.MessagingException) org.mule.module.http.internal.request.DefaultHttpRequester:190 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/MessagingException.html) ******************************************************************************** Root Exception stack trace: java.util.concurrent.TimeoutException at org.glassfish.grizzly.impl.SafeFutureImpl$Sync.innerGet(SafeFutureImpl.java:357) {code:xml} <until-successful synchronous="true" maxRetries="${farallon.untilsuccessful.mediaview.maxretries}" failureExpression="#[exception != null &amp;&amp; !exception.causedBy(java.util.concurrent.TimeoutException)]" millisBetweenRetries="${farallon.untilsuccessful.mediaview.millisecsbetweenretries}" doc:name="Until Successful"> <processor-chain doc:name="Processor Chain"> <set-payload value="#[flowVars['tempPayload']]" doc:name="Set Payload"/> <file:outbound-endpoint path="${farallon.path.logs-publish}" outputPattern="Post_Log-#[function:datestamp].xml" responseTimeout="10000" doc:name="File" /> <set-property propertyName="http.disable.status.code.exception.check" value="true" doc:name="Property"/> <http:request config-ref="MediaViewRequestConfig" path="${farallon.rsc.mediaview.video-post}" method="POST" doc:name="HTTP"> <http:request-builder> <http:header headerName="Content-type" value="text/xml" /> </http:request-builder> </http:request> <object-to-string-transformer doc:name="Object to String"/> <logger message="PROCESS = PUBLISH, STEP = MV_POST_RESULT, GUID = #[flowVars['guid']], PAYLOAD = #[payload:], RESPONSE_CODE = #[message.inboundProperties['http.status']], FLOW=#[flow.name] " level="INFO" doc:name="Logger"/> </processor-chain> </until-successful> {code}

    MuleSoft JIRA | 1 year ago | sriharsha gubba
    java.util.concurrent.TimeoutException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Jmeter v3.0 with phantomjs(v1.2.1) is not initiating

    Google Groups | 3 months ago | Unknown author
    org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure. Build info: version: '2.52.0', revision: '4c2593cfc3689a7fcd7be52549167e5ccc93ad28', time: '2016-02-11 11:22:43 Driver info: driver.version: PhantomJSDriver
  5. 0

    Jmeter v3.0 with phantomjs(v1.2.1) is not initiating

    Google Groups | 3 months ago | Unknown author
    org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure. Build info: version: '2.52.0', revision: '4c2593cfc3689a7fcd7be52549167e5ccc93ad28', time: '2016-02-11 11:22:43' Driver info: driver.version: PhantomJSDriver

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.util.concurrent.TimeoutException

      No message provided

      at org.glassfish.grizzly.impl.SafeFutureImpl$Sync.innerGet()
    2. Grizzly
      SafeFutureImpl$Sync.innerGet
      1. org.glassfish.grizzly.impl.SafeFutureImpl$Sync.innerGet(SafeFutureImpl.java:357)
      1 frame