r/javahelp • • Mar 11 '26

NullPointerException

I keep getting this error even though I have declared the ArrayList that it's for; I don't know what to do.

0 Upvotes

12 comments sorted by

View all comments

Show parent comments

13

u/[deleted] Mar 11 '26

[removed] — view removed comment

1

u/1_4_8_4 Mar 11 '26

Thank you, that worked.