org.springframework.core.convert.ConversionFailedException

Failed to convert from type [java.lang.String] to type [@org.springframework.web.bind.annotation.RequestParam @org.springframework.format.annotation.DateTimeFormat java.time.LocalDate] for value '7/11/16'; nested exception is java.time.format.DateTimeParseException: Text '7/11/16' could not be parsed at index 0","path":"/tomorrow"}

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web48

  • via Spring JIRA by Fabien MARSAUD, 11 months ago
    Failed to convert from type [java.lang.String] to type [@org.springframework.web.bind.annotation.RequestParam @org.springframework.format.annotation.DateTimeFormat java.time.LocalDate] for value '7/11/16'; nested exception is java.time.format.DateTimeParseException: Text '7/11/16' could not be parsed at index 0","path":"/tomorrow"}
  • Failed to convert from type [java.lang.String] to type [@org.springframework.web.bind.annotation.RequestParam @org.springframework.format.annotation.DateTimeFormat java.time.LocalDate] for value '7/11/16'; nested exception is java.time.format.DateTimeParseException: Text '7/11/16' could not be parsed at index 0","path":"/tomorrow"}
  • Failed to convert from type java.lang.String to type @org.springframework.web.bind.annotation.RequestParam @org.springframework.format.annotation.DateTimeFormat java.util.Date for value '2010-10-10'; nested exception is java.lang.IllegalArgumentException
  • Stack trace

    • org.springframework.core.convert.ConversionFailedException: Failed to convert from type [java.lang.String] to type [@org.springframework.web.bind.annotation.RequestParam @org.springframework.format.annotation.DateTimeFormat java.time.LocalDate] for value '7/11/16'; nested exception is java.time.format.DateTimeParseException: Text '7/11/16' could not be parsed at index 0","path":"/tomorrow"} at feign.FeignException.errorStatus(FeignException.java:62)[feign-core-8.16.2.jar:8.16.2] at feign.codec.ErrorDecoder$Default.decode(ErrorDecoder.java:91)[feign-core-8.16.2.jar:8.16.2] at feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:134)[feign-core-8.16.2.jar:8.16.2] at feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:76)[feign-core-8.16.2.jar:8.16.2] at feign.hystrix.HystrixInvocationHandler$1.run(HystrixInvocationHandler.java:97)[feign-hystrix-8.16.2.jar:8.16.2] at com.netflix.hystrix.HystrixCommand$1.call(HystrixCommand.java:293)[hystrix-core-1.5.3.jar:1.5.3] at com.netflix.hystrix.HystrixCommand$1.call(HystrixCommand.java:289)[hystrix-core-1.5.3.jar:1.5.3] at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:46)[rxjava-1.1.5.jar:1.1.5] at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:35)[rxjava-1.1.5.jar:1.1.5] at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)[rxjava-1.1.5.jar:1.1.5] at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)[rxjava-1.1.5.jar:1.1.5] at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)[rxjava-1.1.5.jar:1.1.5] at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)[rxjava-1.1.5.jar:1.1.5] at rx.Observable.unsafeSubscribe(Observable.java:8460)[rxjava-1.1.5.jar:1.1.5] at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:51)[rxjava-1.1.5.jar:1.1.5] at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:35)[rxjava-1.1.5.jar:1.1.5] at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)[rxjava-1.1.5.jar:1.1.5] at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)[rxjava-1.1.5.jar:1.1.5] at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)[rxjava-1.1.5.jar:1.1.5] at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)[rxjava-1.1.5.jar:1.1.5] at rx.Observable.unsafeSubscribe(Observable.java:8460)[rxjava-1.1.5.jar:1.1.5] at rx.internal.operators.OperatorSubscribeOn$1.call(OperatorSubscribeOn.java:94)[rxjava-1.1.5.jar:1.1.5] at com.netflix.hystrix.strategy.concurrency.HystrixContexSchedulerAction$1.call(HystrixContexSchedulerAction.java:56)[hystrix-core-1.5.3.jar:1.5.3] at com.netflix.hystrix.strategy.concurrency.HystrixContexSchedulerAction$1.call(HystrixContexSchedulerAction.java:47)[hystrix-core-1.5.3.jar:1.5.3] at com.netflix.hystrix.strategy.concurrency.HystrixContexSchedulerAction.call(HystrixContexSchedulerAction.java:69)[hystrix-core-1.5.3.jar:1.5.3] at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)[rxjava-1.1.5.jar:1.1.5] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[na:1.8.0_72] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_72] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_72] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_72] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_72]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.