Search:

Type: Posts; User: jps

Search: Search took 0.16 seconds.

  1. Replies
    13
    Views
    1,387

    Re: Implementing Interface

    Then add some printlns to the code. Step through it with a debugger. What ever method you use...
    Get from the point where the program start to where the null pointer exception is thrown. Then look...
  2. Replies
    13
    Views
    1,387

    Re: Implementing Interface

    Did you read the last part of post #10?
  3. Replies
    13
    Views
    1,387

    Re: Implementing Interface

    You have to make sure the variables are initialized before they are used.

    What data does it display?

    Check that retrieveData is not being called before run where the NullPointerException is...
  4. Replies
    13
    Views
    1,387

    Re: Implementing Interface

    Please post code on the forum within code tags, and not as an attachment.
    See the Announcements page if you need help.
    Most people will not bother to read short code that is not formatted, who did...
Results 1 to 4 of 4