org.springframework.binding.convert.ConversionExecutorNotFoundException: No ConversionExecutor found for converting from sourceClass [java.io.Serializable] to target class [java.lang.String]

Spring JIRA | Mike Seghers | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    I have a Categrory class implementing a generic Entity<T extends Serializable>. The interface is defining a setId(T):void and a getId():T method. On the Category class I define T as being an Integer (giving setId(Integer):void and getId():Integer). On my view I have a form binding to the Category class. On my development machine (Windows platform) my application works fine, but when I deploy on my Ubuntu server, conversion fails with the following stacktrace: org.springframework.binding.convert.ConversionExecutorNotFoundException: No ConversionExecutor found for converting from sourceClass [java.io.Serializable] to target class [java.lang.String] at org.springframework.binding.convert.service.GenericConversionService.getConversionExecutor(GenericConversionService.java:162) at org.springframework.webflow.engine.builder.support.FlowBuilderContextImpl$ParentConversionServiceProxy.getConversionExecutor(FlowBuilderContextImpl.java:132) at org.springframework.binding.convert.service.GenericConversionService.getConversionExecutor(GenericConversionService.java:160) at org.springframework.webflow.mvc.view.BindingModel.getConverter(BindingModel.java:171) at org.springframework.webflow.mvc.view.BindingModel.getFormattedValue(BindingModel.java:144) at org.springframework.webflow.mvc.view.BindingModel.getFieldValue(BindingModel.java:128) at org.springframework.web.servlet.support.BindStatus.<init>(BindStatus.java:120) When I remove the generic interface from the Category class, the ConversionService always finds the Integer as sourceClass, with the generic type, on Linux the service is resolving to Serializable.

    Spring JIRA | 8 years ago | Mike Seghers
    org.springframework.binding.convert.ConversionExecutorNotFoundException: No ConversionExecutor found for converting from sourceClass [java.io.Serializable] to target class [java.lang.String]
  2. 0

    I have a Categrory class implementing a generic Entity<T extends Serializable>. The interface is defining a setId(T):void and a getId():T method. On the Category class I define T as being an Integer (giving setId(Integer):void and getId():Integer). On my view I have a form binding to the Category class. On my development machine (Windows platform) my application works fine, but when I deploy on my Ubuntu server, conversion fails with the following stacktrace: org.springframework.binding.convert.ConversionExecutorNotFoundException: No ConversionExecutor found for converting from sourceClass [java.io.Serializable] to target class [java.lang.String] at org.springframework.binding.convert.service.GenericConversionService.getConversionExecutor(GenericConversionService.java:162) at org.springframework.webflow.engine.builder.support.FlowBuilderContextImpl$ParentConversionServiceProxy.getConversionExecutor(FlowBuilderContextImpl.java:132) at org.springframework.binding.convert.service.GenericConversionService.getConversionExecutor(GenericConversionService.java:160) at org.springframework.webflow.mvc.view.BindingModel.getConverter(BindingModel.java:171) at org.springframework.webflow.mvc.view.BindingModel.getFormattedValue(BindingModel.java:144) at org.springframework.webflow.mvc.view.BindingModel.getFieldValue(BindingModel.java:128) at org.springframework.web.servlet.support.BindStatus.<init>(BindStatus.java:120) When I remove the generic interface from the Category class, the ConversionService always finds the Integer as sourceClass, with the generic type, on Linux the service is resolving to Serializable.

    Spring JIRA | 8 years ago | Mike Seghers
    org.springframework.binding.convert.ConversionExecutorNotFoundException: No ConversionExecutor found for converting from sourceClass [java.io.Serializable] to target class [java.lang.String]
  3. 0

    [SWF-881] Conversion fails for genric typed class - Spring JIRA

    spring.io | 1 year ago
    org.springframework.binding.convert.ConversionExecutorNotFoundException: No ConversionExecutor found for converting from sourceClass to target class
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spring &gt;&gt; Page display issue

    Coderanch | 8 years ago | Srinivasa Kadiyala
    org.springframework.binding.convert.ConversionExecutorNotFoundException: No ConversionExecutor found for converting from sourceClass [java.util.ArrayList] to target class [com.comcast.mms.app.ProviderListReport]
  6. 0

    No custom ConversionExecutor found with id 'shortDate'

    Stack Overflow | 11 months ago | João Matos
    org.springframework.binding.convert.ConversionExecutorNotFoundException: No custom ConversionExecutor found with id 'shortDate' for converting from sourceClass [java.lang.String] to targetClass [java.sql.Date]

    Root Cause Analysis

    1. org.springframework.binding.convert.ConversionExecutorNotFoundException

      No ConversionExecutor found for converting from sourceClass [java.io.Serializable] to target class [java.lang.String]

      at org.springframework.binding.convert.service.GenericConversionService.getConversionExecutor()
    2. Spring Binding
      GenericConversionService.getConversionExecutor
      1. org.springframework.binding.convert.service.GenericConversionService.getConversionExecutor(GenericConversionService.java:162)
      1 frame
    3. Spring Web Flow
      FlowBuilderContextImpl$ParentConversionServiceProxy.getConversionExecutor
      1. org.springframework.webflow.engine.builder.support.FlowBuilderContextImpl$ParentConversionServiceProxy.getConversionExecutor(FlowBuilderContextImpl.java:132)
      1 frame
    4. Spring Binding
      GenericConversionService.getConversionExecutor
      1. org.springframework.binding.convert.service.GenericConversionService.getConversionExecutor(GenericConversionService.java:160)
      1 frame
    5. Spring Web Flow
      BindingModel.getFieldValue
      1. org.springframework.webflow.mvc.view.BindingModel.getConverter(BindingModel.java:171)
      2. org.springframework.webflow.mvc.view.BindingModel.getFormattedValue(BindingModel.java:144)
      3. org.springframework.webflow.mvc.view.BindingModel.getFieldValue(BindingModel.java:128)
      3 frames
    6. Spring MVC
      BindStatus.<init>
      1. org.springframework.web.servlet.support.BindStatus.<init>(BindStatus.java:120)
      1 frame