Lines starting with at java.base/… are part of the Java internals. Read down until you see your own filename (in this case, Main.java), and you will find that Main.java:4, or line 4, is the cause.