Search:

Type: Posts; User: jameshl2008

Search: Search took 0.25 seconds.

  1. Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 1, Size: 0

    Really confused.. could someone give me an idiot's explanation? Other people weren't able to help and honestly, it seems to me that this code should work fine and it is kind of pissing me off, why...
  2. Replies
    3
    Views
    137

    Re: Null Pointer Exception

    Thanks, I've tried doing this but it seems as if everything is being initialized. I tried initializing str to an empty string but that didnt work. Ive added all the code.
  3. Replies
    3
    Views
    137

    Null Pointer Exception

    Hello, I am getting a null pointer exception when I try to execute my program. This is part of it, I included all the methods that the compiler doesn't like. However, everything works fine except...
Results 1 to 3 of 3