On Aug 1, 8:50 pm, Channing Walton <[email protected]> wrote:
> But I get a "Can't find variable: JSON" error.
forget that, I was having some kind of safari issue.
But the problem I am having now is a NumberFormatException:
2009-08-02 15:42:58,098 WARN lift:246 - Request for /ajax_request/
F782434648742DNZ/ failed For input string: "51.(.~List(3, 2, 5, 6, 1,
2, 3))"
java.lang.NumberFormatException: For input string: "51.(.~List(3, 2,
5, 6, 1, 2, 3))"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:
1224)
at java.lang.Double.parseDouble(Double.java:510)
at scala.runtime.RichString.toDouble(RichString.scala:216)
at net.liftweb.util.JSONParser$$anonfun$intFrac$2.apply(JSON.scala:
89)
at net.liftweb.util.JSONParser$$anonfun$intFrac$2.apply(JSON.scala:
89)
The string its parsing is: {"command":"setPoint","params":{"mf":
51.3256123,"$a":-0.6379592,"x":-0.6379592,"y":51.3256123}}
The scala json parser seems ok with it though.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---