From the Javadoc for Throwable.printStacktrace
:
Note the presence of lines containing the characters "...". These lines indicate that the remainder of the stack trace for this exception matches the indicated number of frames from the bottom of the stack trace of the exception that was caused by this exception (the "enclosing" exception). This shorthand can greatly reduce the length of the output in the common case where a wrapped exception is thrown from same method as the "causative exception" is caught.
In other words the rest of the stack trace for your NullPointerException
is the same as the trace for ExceptionInInitializerError
.