• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NumberFormatException

 
Padma priya Gururajan
Ranch Hand
Posts: 437
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am getting the java.lang.NumberFormatException: null. Can you tell me as to why i get this exception?

Thanks.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64990
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please read this.
 
Padma priya Gururajan
Ranch Hand
Posts: 437
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
The following is the error I got.



Activity ID : N/A
User ID : C5045958
Error Time: : 01/11/2008 02:03 PM
Technical Details :
Exception Message : null
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java(Compiled Code))
at java.lang.Integer.(Integer.java:633)
at com.metlife.us.ins.product.disability.dpa.gui.base.PortletBaseUtility.initSortVars(PortletBaseUtility.java:342)
at com.metlife.us.ins.product.disability.dpa.gui.base.PortletBaseUtility.(PortletBaseUtility.java:130)
at com.metlife.us.ins.product.disability.dpa.gui.portlet.searchdisabilityuser.utility.SearchDisabilityUserUtility.(SearchDisabilityUserUtility.java:62)
at com.metlife.us.ins.product.disability.dpa.gui.portlet.searchdisabilityuser.SearchDisabilityUser.doView(SearchDisabilityUser.java:108)
at org.apache.jetspeed.portlet.PortletAdapter.service(PortletAdapter.java:155)
at com.ibm.wps.pe.pc.legacy.invoker.impl.PortletDelegateImpl._dispatch(PortletDelegateImpl.java:373)
at com.ibm.wps.pe.pc.legacy.invoker.impl.PortletDelegateImpl.access$200(PortletDelegateImpl.java:62)
at com.ibm.wps.pe.pc.legacy.invoker.impl.PortletDelegateImpl$Context.callPortlet(PortletDelegateImpl.java:526)
at com.ibm.wps.pe.pc.legacy.services.PortletFilterServiceImpl.doFilter(PortletFilterServiceImpl.java:403)
at com.ibm.wps.pe.pc.legacy.services.PortletFilter.doFilter(PortletFilter.java:42)
at com.ibm.wps.pe.pc.legacy.invoker.impl.PortletDelegateImpl.dispatch(PortletDelegateImpl.java:134)
at org.apache.jetspeed.portlet.Portlet.doGet(Portlet.java:506)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
 
ujjwal soni
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
NumberFormatException is what you get when you try to insert an alphabet or other string/char value in numberic variables.

Ujjwal B Soni
 
ujjwal soni
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you post the code in which you are getting this error ??

Ujjwal
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic