Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. [SOLVED] Re: database connection problem adding,deleting,updating,selecting :(

    Glad you have figured it out.
  2. [SOLVED] Re: database connection problem adding,deleting,updating,selecting :(

    What variable has the null value? Did you print the values of all the variables used on the line where the exception happened? Which one was null?


    data.addUser(user, pass);
    In the above...
  3. [SOLVED] Re: database connection problem adding,deleting,updating,selecting :(

    You need to find it and fix it to keep from getting the NPE.
    There are three variables used on this line:
    data.addUser(user, pass);
    Print out the values of all three to find which one has the...
  4. [SOLVED] Re: database connection problem adding,deleting,updating,selecting :(

    Have you found the variable with the null value? Which variable is it?
  5. [SOLVED] Re: database connection problem adding,deleting,updating,selecting :(

    What variable has the null value? When you find that out, the backtrack in the code to find out why that variable does not have a valid non-null value.
  6. [SOLVED] Re: database connection problem adding,deleting,updating,selecting :(

    Which variable has the null value? If you can not tell by looking at the code, add a println statement just before the line with the NPE that prints out the values of all the variables used on the...
  7. [SOLVED] Re: database connection problem adding,deleting,updating,selecting :(

    Please explain what is wrong with the posted program. Post the full text of any error messages.
Results 1 to 7 of 7