Questions tagged [timeoutexception]

TimeoutException is thrown when the time allotted for a process or operation has expired.

TimeoutException is thrown when the time allotted for a process or operation has expired.

427 questions
0
votes
0 answers

TransactionTimedOutException from a stored procedure

I have a Procedure: CREATE OR REPLACE PROCEDURE COMMON.UPDATE_ANEXE (p_app_id NUMBER) IS BEGIN DELETE FROM COMMON_EXT.COM_CERERE_APLICATIE_ANEXA@racdb WHERE FK_COM_CERERE_OP = p_app_id; INSERT INTO…
WDrgn
  • 521
  • 10
  • 29
0
votes
1 answer

Java 'TimeoutException' can't be thrown or catched

I am developing an android app that reads a webpage using AsyncTask.I have 2 AsyncTask classes that reads different page, one inside service, other not.In both cases url connection method is enclosed inside try-catch block , but their catch blocks…
The_ehT
  • 1,202
  • 17
  • 32
0
votes
2 answers

JVM does not exit when TimeoutException occurs

I have code which needs to do something like this There is a list of classes each with some method (lets say execute()). I need to invoke that method on each class and there is a fixed timeOut for each invocation. Now, one of the class's execute…
java_geek
  • 17,585
  • 30
  • 91
  • 113
0
votes
0 answers

Watin with C# how catch a WatiN TimeOutException

I am runing Watin dll in a C# script that opens and close browser with a long list of url using (var browser = new IE(url)) { //do stuffs browser.Close(); } most of the time it works without erros but sometime Watin throw a…
lambdaDev
  • 500
  • 4
  • 18
0
votes
1 answer

How to implement timeout and retry while accessing a web service before throwing an error?

I am developing a WP8 application. I created a web service on out-systems and then I am calling those web service methods in my app: ServiceReference1.WebServiceClient ws = new WebServiceClient(); ws.FetchInboxAsync(EmailId); Now what I want is 10…
0
votes
1 answer

Timeout error while using KSOAP2 in android

I have created a client server application in android and asp.net. I have done the web service access using ksoap2. The application works fine. But sometimes when I try to connect the server using the Ksoap2, then an error arises out. The error log…
njnjnj
  • 978
  • 4
  • 23
  • 58
0
votes
1 answer

How to handle timeout a method in java?

I am calling a method in which there is loop which will end only if it find some results otherwise it keeps on looping until it find public Collection searchItems(Collection tags) { Collection answers =…
Acjb
  • 505
  • 1
  • 6
  • 21
0
votes
2 answers

Android always throws time out Exception

I was writing an Android application using local server (wamp) and everything worked fine. Now i've put my database online and android started to throw Timeout exception(to any address). I tried to change time out but it did not help. I can reach…
asakryukin
  • 2,524
  • 1
  • 13
  • 14
0
votes
0 answers

Timeout errors in cassandra

Read Queries Are timing out in cassandra whenever secondary indexes are involved... Getting the following errors in cassandra logs DEBUG [Thrift:275] 2013-11-15 02:30:56,565 ClientState.java (line 130) logged out: # DEBUG…
varun
  • 173
  • 1
  • 7
0
votes
4 answers

Getting timeout errors with SqlTransaction on same table

public TransImport() { ConnString = ConfigurationManager.ConnectionStrings["Connection"].ConnectionString; SqlConnection conn_new; SqlCommand command_serial_new; SqlConnection conn; SqlCommand command_serial; …
Anirudh
  • 581
  • 5
  • 14
  • 32
0
votes
1 answer

Why am I getting Timeout Error instead of element not present?

I'm testing a web application using page-object gem with selenium Webdriver. In the home page [Start page] I have a few RSpec verifications. But I'm getting the following error instead of the RSpec exception: >Timeout::Error…
NMKP
  • 789
  • 3
  • 11
  • 33
0
votes
1 answer

Execution exceptionAskTimeoutException: Timed out playframework

I'm calling a method from Ajax... and PlayFramework 2.1.3 $.ajax({ type: "POST", contentType: "application/json; charset=utf-8", dataType: "json", url: "/examplefoo", data: JSON.stringify(exampleArray), success: function(data) { …
0
votes
2 answers

Timeout expire on updating nvarchar(max)

I have a table which have nvarchar(Max) field and it contains character approximately 50,0000 per record. When i insert data, it is OK but when update the data then Error occurred : "Timeout expired The timeout period elapsed prior to compilation…
user2837615
  • 296
  • 1
  • 5
  • 12
0
votes
1 answer

WCF using Nhibernate + Oracle fails to connect database intermittently

We have a 3 tier application developed using WCF. Our Web Layer [32 bit Windows 2003 Sp1] calls the WCF service [64 bit Windows 2008 R2 on an NLB] which communicates with the Oracle 10g DB [ 64 bit Linux ]. DB connection is established using…
Arun RG
  • 3
  • 1
0
votes
2 answers

Can not increase connection timeout

I want to increase timeout to 5 minutes because one minute is not enough to receive response. I ahve tried this two approaches: HttpParams httpParameters = new BasicHttpParams(); …
Mr Kohn Doew
  • 277
  • 1
  • 2
  • 18