#Insert data into mysql issue

1 messages · Page 1 of 1 (latest)

crimson sierra
vale badgerBOT
#

<@&987246584574140416> please have a look, thanks.

vale badgerBOT
#

While you are waiting for getting help, here are some tips to improve your experience:

Code is much easier to read if posted with syntax highlighting and proper formatting.

If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.

Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.

crimson sierra
#

the database structure

warm chasm
#

Have a closer look at the location of the exception, this is where your code tried to access instance members on null.

vale badgerBOT
#

Closed the thread due to inactivity.

If your question was not resolved yet, feel free to just post a message to reopen it, or create a new thread. But try to improve the quality of your question to make it easier to help you 👍

crimson sierra
#

how to handle this?

modern tide
crimson sierra
#

in my understanding, it means when a variable does not have value. and it is null

modern tide
crimson sierra
#

no

#

as far as I check, i insert value for all variables

modern tide
#

Do you know how to read a stacktrace?

#

Are you able to figure out which line NullPointerException was thrown from that stacktrace?

crimson sierra
#

line 31

#

i just figured out my mistake. there is no mysql driver added