Server not starting error

Heya, so when I try to run my (Paper) server, it crashes with the following error:

Exception in thread “main” java.lang.NullPointerException
at java.io.Reader.(Unknown Source)
at java.io.InputStreamReader.(Unknown Source)
at io.papermc.paperclip.Paperclip.setupEnv(Paperclip.java:80)
at io.papermc.paperclip.Paperclip.main(Paperclip.java:49)

I am running the server with 8GB RAM, a few plugins, and running it in a .bat file.
The content inside of the .bat file is as follows:

@ECHO OFF
java -Xms1024M -Xmx8192M -jar paper.jar --nogui
pause

Could any of you help with this problem?