Error using java in challenges

i opted for java crux online but i am not able to use java in the “challenges” part of the course due to an error "Exception thread in main"please resolve my error asap

Please mention name of the question and also share the link to your code.
You might be doing some mistake that’s why this error shows up.

You can go through this article to know more about this error.
https://www.journaldev.com/611/exception-in-thread-main-java

Hey @pulkit10251
You are probably clicking on the RunCode button without giving the Custom Input.
Please provide the custom input and then only click on run. This exception here means that it is not receiving the input that it expects.
If the problem persists then save your code to online ide and share its link here so that I can help you out with the code.