Weird error that i found

so basically I was coding a blackjack card game and when I press run the Null Pointer Exception error appears. I tried to comment stuff out but even when i commented most of it out and just coded a print hello statement the error appeared it is so anoying.

i expect it to run normally and print stuff out

it print only the error

open up a java file and do the regular steps and try to run a command

Bug appears at this link:

I use a pc

Hey, @smithdevon410 welcome to the forums!

Can you please provide a link to the Repl? This way it is easier for staff and members of the community to help you!

Also see this guide on how to share your code:

2 Likes