• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

java.lang.NumberFormatException - For input string:

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here is my issue, I have a panelGrid that looks like this:



This outputs correctly for most dataset, but I am hitting a specfic dataset where "visitInfo.purchaseOrder.shortDescription" has a line like this:



In my backing bean the shortDescription is a String, but for some reason I am getting the following error:


Exception while calling encodeEnd on component : {Component-Path : [Class: org.ajax4jsf.component.AjaxViewRoot,ViewId: /protected/podetails.jsp][Class: javax.faces.component.html.HtmlDataTable,Id: j_id_jsp_189730757_32][Class: javax.faces.component.UIColumn,Id: column3][Class: javax.faces.component.html.HtmlOutputFormat,Id: j_id_jsp_189730757_42]}

Caused by:
java.lang.NumberFormatException - For input string: "$6.18 EA"



I am not using a f:convertNumber or anything like that so I don't know why my string is being converted to a number. Any help would be appreciated, I am using myfaces 1.2.

Thanks,
Chuck
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic