Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intermittent NumberFormatException errors #36

Closed
adamhooper opened this issue Jul 11, 2012 · 1 comment
Closed

Intermittent NumberFormatException errors #36

adamhooper opened this issue Jul 11, 2012 · 1 comment
Milestone

Comments

@adamhooper
Copy link
Member

The errors happen often, and they look like this:

play.core.ActionInvoker$$anonfun$receive$1$$anon$1: Execution exception [[NumberFormatException: multiple points]]
    at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:134) [play_2.9.1.jar:2.0.2]
    at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:115) [play_2.9.1.jar:2.0.2]
    at akka.actor.Actor$class.apply(Actor.scala:318) [akka-actor.jar:2.0.2]
    at play.core.ActionInvoker.apply(Invoker.scala:113) [play_2.9.1.jar:2.0.2]
    at akka.actor.ActorCell.invoke(ActorCell.scala:626) [akka-actor.jar:2.0.2]
    at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197) [akka-actor.jar:2.0.2]
Caused by: java.lang.NumberFormatException: multiple points
    at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1102) ~[na:1.6.0_24]
    at java.lang.Double.parseDouble(Double.java:527) ~[na:1.6.0_24]
    at java.text.DigitList.getDouble(DigitList.java:168) ~[na:1.6.0_24]
    at java.text.DecimalFormat.parse(DecimalFormat.java:1320) ~[na:1.6.0_24]
    at java.text.SimpleDateFormat.subParse(SimpleDateFormat.java:1935) ~[na:1.6.0_24]
    at java.text.SimpleDateFormat.parse(SimpleDateFormat.java:1281) ~[na:1.6.0_24]

It's a bug in Play 2.0.2: https://groups.google.com/forum/?fromgroups#!topic/play-framework/uJXsYw1sOjg

We can fix it by upgrading to the next version of Play, when it's released.

@adamhooper
Copy link
Member Author

We're on Play 2.0.3 now. I assume that will solve the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant