NullPointerExceptionNullPointerException
A null reference is used where an object is required.
InvocationTargetExceptionA method invoked via reflection throws an exception.
When using Method.invoke() or Constructor.newInstance(), any exception thrown by the target method is wrapped in an InvocationTargetException. The actual cause is available via getCause().
Call getCause() to get the original exception. Handle the underlying exception appropriately. Check the target method for bugs that cause the wrapped exception.
NullPointerExceptionA null reference is used where an object is required.
SocketExceptionA socket operation fails, such as creating or accessing a socket.
ClassCastExceptionAn object is cast to a type that it is not an instance of.
AbstractMethodErrorAn abstract method is called that has no implementation.
IndexOutOfBoundsExceptionA collection is accessed with an index that is outside its valid range.
NoSuchElementExceptionAn attempt to retrieve an element from an empty collection or exhausted iterator.