aspose file tools*
The moose likes JSP and the fly likes NumberFormatException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "NumberFormatException" Watch "NumberFormatException" New topic
Author

NumberFormatException

Padma priya Gururajan
Ranch Hand

Joined: Oct 05, 2006
Posts: 434
Hi,
I am getting the java.lang.NumberFormatException: null. Can you tell me as to why i get this exception?

Thanks.


Padma priya N.G.
Be the change you want to be - Mahatma Gandhi
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61226
    
  66

Please read this.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Padma priya Gururajan
Ranch Hand

Joined: Oct 05, 2006
Posts: 434
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

Joined: Mar 28, 2007
Posts: 403
NumberFormatException is what you get when you try to insert an alphabet or other string/char value in numberic variables.

Ujjwal B Soni


Cheers!!!
Ujjwal B Soni <baroda, gujarat, india> <+919909981973>
"Helping hands are better than praying lips......"
ujjwal soni
Ranch Hand

Joined: Mar 28, 2007
Posts: 403
Can you post the code in which you are getting this error ??

Ujjwal
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: NumberFormatException