• Post Reply Bookmark Topic Watch Topic
  • New Topic

don't work update jsp mvc jdbc mysql  RSS feed

 
ives rodriguez
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm making the connection with mysql in the code below,


This is the servlet file that does the update



when it run the project leaves in the browser:

>HTTP Status 500 - Internal Server Error type Exception report messageInternal Server Error description: The server encountered an internal error that prevented it from fulfilling this request. exception **java.lang.NullPointerException**

>note The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition

when it debug the project no error appears.



 
Paul Clapham
Sheriff
Posts: 22713
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ives rodriguez wrote:>note The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition


I strongly recommend you go and find that stack trace. It will tell you exactly what line of code threw the exception.

Don't hesitate to post back here if you need help in deciphering the stack trace.
 
ives rodriguez
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I fix a problem with the database but when it run the project leaves in the browser:

Ha ocurrido un error: Ingresar solo Numeros...

does not retrieve the saved information that needs to be edited, does not appear the form with the information to edit.
 
Mohammed Sardar.
Ranch Hand
Posts: 193
1
Java jQuery Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ives,.

   When the debug mode start, does the debugger reaches the break point that you set ? Can you debug the code at which point err is thrown ?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!