NullPointerExceptionNullPointerException
A null reference is used where an object is required.
ExceptionInInitializerErrorAn exception is thrown during the execution of a static initializer block.
A static block or static field initializer throws an unchecked exception. This causes the class to fail loading. Subsequent attempts to use the class will throw NoClassDefFoundError.
Fix the exception in the static initializer. Add try-catch within the static block. Check for null values or missing resources in static initialization. Move complex initialization to lazy patterns.
NullPointerExceptionA null reference is used where an object is required.
DirectoryNotEmptyExceptionA directory deletion fails because the directory is not empty.
IOExceptionAn I/O operation fails or is interrupted.
AccessControlExceptionA security check fails for a specific permission.
MalformedURLExceptionA URL string is not in a valid format.
SecurityExceptionAn operation is denied by the security manager.