Search:

Type: Posts; User: illusionust

Search: Search took 0.10 seconds.

  1. Replies
    7
    Views
    1,192

    Re: NullPointerException...how?

    Line 19 is the cmd.equals(input.nextLine()); So I should set it as something useless then?
  2. Replies
    7
    Views
    1,192

    Re: NullPointerException...how?

    Exception in thread "main" java.lang.NullPointerException
    at myname.youllmakefunofmeifyouseethisnamesoIwortethisinstead.Main.main(Main.java:19)
  3. Replies
    7
    Views
    1,192

    NullPointerException...how?

    I bet this will be an easy diagnosis but I can't seem to find why I am getting a NullPointerException. I used to make things like this all the time so it's extra weird. Any help will be appreciated....
Results 1 to 3 of 3