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 Source)
at Source)
at io.papermc.paperclip.Paperclip.setupEnv(
at io.papermc.paperclip.Paperclip.main(

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:

java -Xms1024M -Xmx8192M -jar paper.jar --nogui

Could any of you help with this problem?