0

"For input string" error in IE11 browser when clicking in Hybris based application

asked 2015-07-15 08:53:49 +0800

vartika gravatar image vartika
1

updated 2015-07-15 09:07:27 +0800

I am working on hybris platform and in my Customer service cockpit which based out of ZK framework I am getting the error popup every time I click on textbox to enter some value, stating - "For input string :some random number", also it gives number format exception in console at same time.This is happening only in case of IE 11 browser.

Kindly suggest the possible solution.

delete flag offensive retag edit

3 Answers

Sort by ยป oldest newest most voted
0

answered 2015-08-27 14:45:11 +0800

HankArton gravatar image HankArton
1

You should try to keep the zoom in IE at 100%. Got the same issue with any other value.

link publish delete flag offensive edit
0

answered 2015-08-30 10:39:10 +0800

Darksu gravatar image Darksu
1991 1 4

Hello vartika,

I am a bit suspicious on the cause of your issue. Could you please post a sample of your code and your error logs?

Best Regards,

Darksu

link publish delete flag offensive edit
0

answered 2016-05-31 10:20:34 +0800

tisaksen gravatar image tisaksen
44 5

I have this issue as well in ZK 3.6.1 - any zoom setting other than 100% in IE 11 is causing a NumberFormatException. Now I have upgraded to 8.0.1 and the issue is still present.

The exception occurs when I click an Image in an IFRAME. Seems to be related to x,y of the mouse click event.

mai 31, 2016 12:08:36 PM org.zkoss.zk.ui.impl.UiEngineImpl handleError:1131 SEVERE: >>java.lang.NumberFormatException: For input string: "98.18000030517578"

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.UiEngineImpl.process(UiEngineImpl.java:1238) at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1013) at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:487) at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:373) ...

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2015-07-15 08:53:49 +0800

Seen: 48 times

Last updated: May 31 '16

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More