#Error code : java.util.NoSuchElementException

8 messages · Page 1 of 1 (latest)

halcyon oak
#

Im confused on where im going wrong here, any help is appreciated!

open hamletBOT
#

This post has been reserved for your question.

Hey @halcyon oak! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

left sand
#

Probably because you use multiple scanners to read from one stream?

halcyon oak
#

Was just looking at the error more and did find out it was the scanners but im unsure about how to use one universally in this context

#

beeing messing around with changing its scope but so far no luck

left sand
#

Just read the data in one place?

halcyon oak
#

Changed the scope a bit more and fixed the issue after making it static ty for the help