-
Notifications
You must be signed in to change notification settings - Fork 436
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
DateTimeFormatter invalid format #163
Comments
which version are you using? do you get this just when starting ice reader or when using a new date interval from the UI? |
I have updated newest version. |
Can you provide the http request sent when you access the UI? You can use Chrome with the Developer Console. This will help understand what is the JSON request sent to the app. The issue may be in the "end" parameter that doesn't follow the dayFormatter but I'm not sure given the limited debug info. |
URL: ice/dashboard/getData when I access this URL with the above parameters, server return 500 error |
I faced the same problem recently. I have assumed it is caused by OS locale setting effect to JodaTime Formatter. In my language ja_JP, So the problem might be caused only in non-English locale users. (not using But a solution is simple due to a nature of the problem. You must set the following GRAILS_OPTS=-Duser.language=en -Duser.region=US ... It works for me perfectly. |
How about when running in tomcat? I've tried GRAILS_OPTS, CATALINA_OPTS, JAVA_OPTS with different permutations of user.{language,region} with no luck. I was able to apply the fix mentioned in that issue, and now it works for me. |
whatever run the old version or the lastest version, my ice could not get the data from the dashboard.
It's 500 code from the browser. And in the log file of backend, i found this error message when visit the dashboard.
| Error 2015-03-23 02:58:26,133 [http-bio-9090-exec-8] ERROR errors.GrailsExceptionResolver - IllegalArgumentException occurred when processing request: [POST] /ice/dashboard/getData
Invalid format: "2015-03-23 02AM" is malformed at "AM". Stacktrace follows:
Message: Invalid format: "2015-03-23 02AM" is malformed at "AM"
Line | Method
->> 899 | parseDateTime in org.joda.time.format.DateTimeFormatter
| 407 | doGetData in com.netflix.ice.DashboardController
| 321 | doCall . . . in com.netflix.ice.DashboardController$_closure11
| 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
| 615 | run . . . . . in java.util.concurrent.ThreadPoolExecutor$Worker
^ 745 | run in java.lang.Thread
1427079506549
The text was updated successfully, but these errors were encountered: