I have built a program which acts as a Number Guessing Game using HOPP. Everything compiles like it should but my UI isnt loading because of a series of Exceptions. I was wondering if there are any helpful tips. I have added the code as an attachment.
Thankyou, any help is appreciated. :D
Exception in thread "main" java.lang.NullPointerException
Your get method has following return return in.readLine(); . readLine method of DataInputStream is deprecated and you should not use it, check here.
I have got no experience with Java and networks but I think you did not understand properly reading and writing from/to socket. This tutorial can be helpful, read here