How to get around the ConcurrentModificationException in Java?
171
Iterating through a Collection, avoiding ConcurrentModificationException when removing objects in a loop
64332
avoiding null reference exceptions
106257
What are the possible problems caused by adding elements to unsynchronized ArrayList's object by multiple threads simultaneously?
111065
How to avoid race condition when using a lock-file to avoid two instances of a script running simultaneously?
82642
Execution of AfterInsert caused by: System.StringException: Invalid id: () - where have I gone wrong?
12736
How to handle infinite loop caused by invalid input (InputMismatchException) using Scanner
107916
How do determine if an object is locked (synchronized) so not to block in Java?
124776
How to force garbage collection in Java?
53545
Do I need to synchronize access to immutable types in Java?
7139
Getting a stack overflow exception when declaring a large array
149280
Getting System.CalloutException: You have uncommitted work pending
89487
Is it safe to get values from a java.util.HashMap from multiple threads (no modification)?
138963
How to synchronize a java method called by PL/SQL
81517
Is there a concurrency with UPDATE count=count+1?
142409
How to handle exception and execute remaining statements?
94034
Statement execution interleaving with Synchronized method execution
122658
Is there a way to do concurrent editing?