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
5
votes
7 answers

Array Manipulation : HackerRank Questions : JAVA

I am doing this Array Manipulation problem from hackerrank and it tells me compile error is Terminated due to timeout. For small arrays my method work perfectly. This error only happens for bigger array values. Here is the question link. Question…
Dil.
  • 1,996
  • 7
  • 41
  • 68
5
votes
1 answer

Elasticsearch RestHighLevelClient (6.0.0) -- TimeoutException on runtime

Our application encoutner timeout exception while indexing(store) document in elasticsearch server. It do not frequently happen but approximately once a day. Here are details. pom.xml org.elasticsearch.client
5
votes
0 answers

finalize() timed out after 30 seconds

I'm seeing few crashes in fabric which looks like this: Fatal Exception: java.util.concurrent.TimeoutException: android.text.TextPaint.finalize() timed out after 30 seconds at android.graphics.Paint.finalizer(Paint.java) at…
sider
  • 687
  • 2
  • 9
  • 23
5
votes
1 answer

Sometimes java.net.SocketTimeoutException: Read timed out. Sometimes not

I have this strange error with the java.net.SocketTimeoutException: Read timed out And maybe someone of you can help to fix this problem. The facts are these, I'm working with Eclipse, with a Tomcat v7. Then I execute a function which…
Bender
  • 145
  • 2
  • 4
  • 8
4
votes
2 answers

what will NUnit do internally when a test timeout is violated?

exactly what does NUnit do when it encounters a timeout? I used to think it would abort the test by throwing a TimeoutException, but this test proves otherwise: [Test, Timeout(100), ExpectedException(typeof(TimeoutException))] public static void…
mtijn
  • 3,610
  • 2
  • 33
  • 55
4
votes
1 answer

SQL Server Bulk insert throws request timeout error?

The following code bulk inserts data into a SQL Server database: sqlConnection.connectionPool.getConnection().then(pool => { const request = pool.request(); request.bulk(table, (err, result) => { if(err){ …
Aimal Khan
  • 449
  • 2
  • 9
4
votes
2 answers

unhandled socket exception with no internet connection when i set timeout duration

I use simple method to get some data from internet 'http get request' : `Future getUser(int userId) async { UserModel user; try { final response = await http.get( "$_baseUrl/users/$userId", …
4
votes
1 answer

Spring Framework - Timeout java.net.SocketTimeoutException: timeout

Im a beginner in Java. I hope you can help me. I got following issue multiple times a day on my API based on the Spring Framework: java.net.SocketTimeoutException: timeout at okio.Okio$4.newTimeoutException(Okio.java:227) at…
Hamta
  • 43
  • 1
  • 4
4
votes
1 answer

How do I debug random Timeout::Error: execution expired

We are using Rails 2.3.5 and have been experiencing seemingly random Timeout::Error: execution expired errors. The errors reported by Hoptoad are not consistently in any particular controller and show up everywhere from user sessions to account…
chrishomer
  • 4,900
  • 5
  • 38
  • 52
4
votes
1 answer

Koush Ion Library - Upload Multipart/form-data with Progressbar, TimeoutException

I'm going to upload file to rest API with Ion like this ( base on sample code that Koush provided) if (Upload != null && !Upload.isDone() && !Upload.isCancelled()){ resetUploadReq(); return; } String…
4
votes
4 answers

"Timeout expired" exception on code exclusively using using statements

I have a multi-threaded application that talks to SQL server via Linq to Sql. The app is running fine on a quad core (Intel I-7) machine when the number of threads is artificially kept at 8: Parallel.ForEach(allIds, …
4
votes
1 answer

Frequent Timeout Exception in Jetty

I'm using the maven jetty plugin, version 9.1.2.v20140210. Three times since I started the server 24 hours ago I've gotten this exception in the logs : 2014-03-04 16:34:01.878:WARN:oejs.HttpChannel:qtp1119397307-111: Commit failed…
pail
  • 193
  • 4
  • 10
4
votes
2 answers

While initiating the ChromeDriver getting an exception

I'm very new to Selenium. Below given is my first test script. Question: Does it require selenium server to test a local website (which is hosted in the same machine as the test scripts being run). Also tried executing the same script from Internet…
4
votes
3 answers

Downloading a large table of data from a MySQL Database to text file in C#

I have a MySQL database "DB" in which there's a table "TABLE" of a single field and it contains about 8 Million rows. I am trying to download that table into a text file as follows: //Open connection. connection.Open(); //Create…
Pi_
  • 2,010
  • 5
  • 22
  • 24
3
votes
2 answers

Best way of handling timeouts with AsyncController

I have a long time polling controller in my MVC3 project. It has its timeout set to 30 seconds. I have a HandleErrorAttribute implementation that handles logging of all errors. Since the timout throws a TimeoutException it means these will be…
Anders
  • 17,306
  • 10
  • 76
  • 144
1 2
3
28 29