com.vaadin.data.util.converter.Converter$ConversionException

Unable to convert value of type java.time.LocalDate to presentation type class java.lang.String. No converter is set and the types are not compatible.

Solutions on the web11

  • Unable to convert value of type java.time.LocalDate to presentation type class java.lang.String. No converter is set and the types are not compatible.
  • Unable to convert value of type java.lang.Integer to presentation type class java.lang.String. No converter is set and the types are not compatible.
  • via Stack Overflow by Ravi
    , 1 year ago
    Unable to convert value of type java.lang.String to presentation type class java.lang.Boolean. No converter is set and the types are not compatible.
  • Stack trace

    • com.vaadin.data.util.converter.Converter$ConversionException: Unable to convert value of type java.time.LocalDate to presentation type class java.lang.String. No converter is set and the types are not compatible. at com.vaadin.data.util.converter.ConverterUtil.convertFromModel(ConverterUtil.java:116) at com.vaadin.ui.AbstractField.convertFromModel(AbstractField.java:736) at com.vaadin.ui.AbstractField.convertFromModel(AbstractField.java:721) at com.vaadin.ui.AbstractField.setPropertyDataSource(AbstractField.java:657) at com.vaadin.ui.Table.bindPropertyToField(Table.java:4140) at com.vaadin.ui.Table.getPropertyValue(Table.java:4109) at com.vaadin.ui.Table.parseItemIdToCells(Table.java:2386) at com.vaadin.ui.Table.getVisibleCellsNoCache(Table.java:2225) at com.vaadin.ui.Table.refreshRenderedCells(Table.java:1745) at com.vaadin.ui.Table.refreshRowCache(Table.java:2691) at com.vaadin.ui.Table.containerItemSetChange(Table.java:4587) at com.vaadin.data.util.AbstractContainer.fireItemSetChange(AbstractContainer.java:242) at com.vaadin.data.util.AbstractInMemoryContainer.fireItemsAdded(AbstractInMemoryContainer.java:1012) at com.vaadin.data.util.AbstractInMemoryContainer.fireItemAdded(AbstractInMemoryContainer.java:994) at com.vaadin.data.util.AbstractInMemoryContainer.internalAddItemAtEnd(AbstractInMemoryContainer.java:884) at com.vaadin.data.util.AbstractBeanContainer.addItem(AbstractBeanContainer.java:533) at com.vaadin.data.util.AbstractBeanContainer.addBean(AbstractBeanContainer.java:598) at com.vaadin.data.util.BeanItemContainer.addItem(BeanItemContainer.java:227) at be.kapture.MyUI.init(MyUI.java:88) at com.vaadin.ui.UI.doInit(UI.java:682) at com.vaadin.server.communication.UIInitHandler.getBrowserDetailsUI(UIInitHandler.java:214) at com.vaadin.server.communication.UIInitHandler.synchronizedHandleRequest(UIInitHandler.java:74) at com.vaadin.server.SynchronizedRequestHandler.handleRequest(SynchronizedRequestHandler.java:41) at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1409) at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:364) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:528) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1099) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2508) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2497) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745)

    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

    Once, 1 year ago