cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

For input string error in IE

Subbarao84
Explorer
0 Kudos
1,352

Hi All.

When we are trying to create new widget in report cockpit with IE browser getting ""For input string: " error. Hybris version 6.4.

Feb 10, 2018 11:44:58 AM org.zkoss.zk.ui.impl.HybrisUiEngineImpl handleError:1615 SEVERE: >>java.lang.NumberFormatException: For input string: "15.66998291015625"

  at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
   at java.lang.Integer.parseInt(Integer.java:580)
   at java.lang.Integer.parseInt(Integer.java:615)
   at org.zkoss.zk.au.in.MouseCommand.process(MouseCommand.java:53)
   at org.zkoss.zk.au.Command.process(Command.java:131)
   at org.zkoss.zk.ui.impl.HybrisUiEngineImpl.process(HybrisUiEngineImpl.java:1761)
   at org.zkoss.zk.ui.impl.HybrisUiEngineImpl.execUpdate(HybrisUiEngineImpl.java:1453)
   at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:500)
   at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:385)
   at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:394)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
   at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317)
   at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)
   at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)
   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
   at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:115)
   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
   at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)
   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
   at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
   at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:158)
   at org.springframework.security.web.

Thanks, Subba.

View Entire Topic
geffchang
Active Contributor

This usually happens when the browser is zoomed in/out. Make sure that the browser zoom is at 100%, and you will not get this error.

Please don't forget to upvote and to accept this answer if it solved your problem. :)

Subbarao84
Explorer
0 Kudos

Hi Geff,

Thanks for your suggestion, its working now. But its really crazy, any reason.

Thanks, Subba.

geffchang
Active Contributor
0 Kudos

This is a known issue, and I think it has been fixed in recent minor patches.

By the way, if this solution worked for you, could you upvote and accept this answer? Thanks.

Former Member
0 Kudos

Thanks. we faced similar issue and this solved it.

ashish_ranjan
Explorer
0 Kudos

Strange, but it resolved the issue. Do we have any justification for NumberFormatException ???

rakeshbabub
Explorer
0 Kudos

Hi Geff,
I have the issue in chrome and IE. Browser zoom is 100%
Hybris version 6.6. Could you please let me know how to fix this?

For IE I added the domain in Compatibility View Setting. It works. How to resolve the same in Chrome

Thanks In Advance
Rakesh B

geffchang
Active Contributor
0 Kudos

rakeshbabub Have you tried updating to the latest Hybris 6.6? (I'm not sure if it has been fixed, but you can try and check)