This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.lang.NumberFormatException: For input string: ""

 
Michael van Adrichem
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey all,

Im getting this error when trying to load my page:
java.lang.NumberFormatException: For input string: "personeelsplaatje"

I dont know why, because everything seems ok.

I got this in my html page:


This is my controller code:


And im using this in the helper as query:


Anybody got a clue what im doing wrong?

Greetings,

Zylox
 
Michael van Adrichem
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
here's the stack:



Sorry for not posting it

If its helpfull i'll post the classes too.

Class Succes:


Class Personeel:
 
Michael van Adrichem
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think my problem is in SuccessenList = (List<Succes>) q.list();

Because im using 2 tables instead of 1.

How can i fix this?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic