Win a copy of Pragmatic AI this week in the Artificial Intelligence forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

don't work update jsp mvc jdbc mysql  RSS feed

 
Greenhorn
Posts: 27
  • 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.



 
Sheriff
Posts: 23649
49
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: 27
  • 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.
 
Ranch Hand
Posts: 197
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 ?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!