DeadlockDeadlock
Two or more threads are blocked forever, each waiting for the other to release a lock.
NoSuchElementExceptionAn attempt to retrieve an element from an empty collection or exhausted iterator.
Calling next() on an Iterator that has no more elements, or accessing elements from an empty Optional, Queue, or Stream. The data source has been exhausted.
Check hasNext() before calling next() on iterators. Use Optional.isPresent() or Optional.ifPresent(). Check if collections are empty before accessing elements.
DeadlockTwo or more threads are blocked forever, each waiting for the other to release a lock.
ClassNotFoundExceptionA class cannot be found on the classpath at runtime.
FileNotFoundExceptionThe specified file path does not exist or cannot be opened.
InstantiationExceptionAn attempt to create an instance of an abstract class or interface using reflection.
VerifyErrorThe bytecode verifier detects malformed or illegal bytecode.
SSLHandshakeExceptionThe SSL/TLS handshake failed between client and server.