java.lang.IllegalArgumentException: The target class to convert to is required

Spring JIRA | Keith Donald | 10 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    "Long" (with a big 'L') is not a vaid alias... this is what was thrown: java.lang.IllegalArgumentException: The target class to convert to is required at org.springframework.util.Assert.notNull(Assert.java:113) at org.springframework.binding.convert.support.GenericConversionService.getConversionExecutor(GenericConversionService.java:139) at org.springframework.webflow.engine.builder.xml.XmlFlowBuilder.parseTypeConverter(XmlFlowBuilder.java:1003) at org.springframework.webflow.engine.builder.xml.XmlFlowBuilder.parseMappings(XmlFlowBuilder.java:964) at org.springframework.webflow.engine.builder.xml.XmlFlowBuilder.parseInputMapper(XmlFlowBuilder.java:927) at org.springframework.webflow.engine.builder.xml.XmlFlowBuilder.buildInputMapper(XmlFlowBuilder.java:342) at org.springframework.webflow.engine.builder.FlowAssembler.directAssembly(FlowAssembler.java:146) at org.springframework.webflow.engine.builder.FlowAssembler.assembleFlow(FlowAssembler.java:131) at org.springframework.webflow.engine.builder.RefreshableFlowDefinitionHolder.assembleFlow(RefreshableFlowDefinitionHolder.java:173) at org.springframework.webflow.engine.builder.RefreshableFlowDefinitionHolder.refreshIfChanged(RefreshableFlowDefinitionHolder.java:128) at org.springframework.webflow.engine.builder.RefreshableFlowDefinitionHolder.getFlowDefinition(RefreshableFlowDefinitionHolder.java:96) at org.springframework.webflow.definition.registry.FlowDefinitionRegistryImpl.getFlowDefinition(FlowDefinitionRegistryImpl.java:126) at org.springframework.webflow.engine.impl.FlowExecutionImplStateRestorer.restoreState(FlowExecutionImplStateRestorer.java:101) at org.springframework.webflow.execution.repository.continuation.ContinuationFlowExecutionRepository.getFlowExecution(ContinuationFlowExecutionRepository.java:166) at org.springframework.webflow.executor.FlowExecutorImpl.refresh(FlowExecutorImpl.java:272) at org.springframework.webflow.executor.support.FlowRequestHandler.handleFlowRequest(FlowRequestHandler.java:122) at org.springframework.webflow.executor.mvc.FlowController.handleRequestInternal(FlowController.java:170) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:819) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:754) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:399) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:354) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:613)

    Spring JIRA | 10 years ago | Keith Donald
    java.lang.IllegalArgumentException: The target class to convert to is required
  2. 0

    "Long" (with a big 'L') is not a vaid alias... this is what was thrown: java.lang.IllegalArgumentException: The target class to convert to is required at org.springframework.util.Assert.notNull(Assert.java:113) at org.springframework.binding.convert.support.GenericConversionService.getConversionExecutor(GenericConversionService.java:139) at org.springframework.webflow.engine.builder.xml.XmlFlowBuilder.parseTypeConverter(XmlFlowBuilder.java:1003) at org.springframework.webflow.engine.builder.xml.XmlFlowBuilder.parseMappings(XmlFlowBuilder.java:964) at org.springframework.webflow.engine.builder.xml.XmlFlowBuilder.parseInputMapper(XmlFlowBuilder.java:927) at org.springframework.webflow.engine.builder.xml.XmlFlowBuilder.buildInputMapper(XmlFlowBuilder.java:342) at org.springframework.webflow.engine.builder.FlowAssembler.directAssembly(FlowAssembler.java:146) at org.springframework.webflow.engine.builder.FlowAssembler.assembleFlow(FlowAssembler.java:131) at org.springframework.webflow.engine.builder.RefreshableFlowDefinitionHolder.assembleFlow(RefreshableFlowDefinitionHolder.java:173) at org.springframework.webflow.engine.builder.RefreshableFlowDefinitionHolder.refreshIfChanged(RefreshableFlowDefinitionHolder.java:128) at org.springframework.webflow.engine.builder.RefreshableFlowDefinitionHolder.getFlowDefinition(RefreshableFlowDefinitionHolder.java:96) at org.springframework.webflow.definition.registry.FlowDefinitionRegistryImpl.getFlowDefinition(FlowDefinitionRegistryImpl.java:126) at org.springframework.webflow.engine.impl.FlowExecutionImplStateRestorer.restoreState(FlowExecutionImplStateRestorer.java:101) at org.springframework.webflow.execution.repository.continuation.ContinuationFlowExecutionRepository.getFlowExecution(ContinuationFlowExecutionRepository.java:166) at org.springframework.webflow.executor.FlowExecutorImpl.refresh(FlowExecutorImpl.java:272) at org.springframework.webflow.executor.support.FlowRequestHandler.handleFlowRequest(FlowRequestHandler.java:122) at org.springframework.webflow.executor.mvc.FlowController.handleRequestInternal(FlowController.java:170) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:819) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:754) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:399) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:354) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:613)

    Spring JIRA | 10 years ago | Keith Donald
    java.lang.IllegalArgumentException: The target class to convert to is required
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    iBATIS - User - Java - java.lang.IllegalArgumentException: No SqlMapClient specified

    nabble.com | 10 months ago
    java.lang.IllegalArgumentException: No SqlMapClient specified
  5. 0

    RE: java.lang.IllegalArgumentException: No SqlMapClient specified

    apache.org | 1 year ago
    java.lang.IllegalArgumentException: No SqlMapClient specified
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    The target class to convert to is required

    at org.springframework.util.Assert.notNull()
  2. Spring Core
    Assert.notNull
    1. org.springframework.util.Assert.notNull(Assert.java:113)
    1 frame
  3. Spring Binding
    GenericConversionService.getConversionExecutor
    1. org.springframework.binding.convert.support.GenericConversionService.getConversionExecutor(GenericConversionService.java:139)
    1 frame
  4. Spring Web Flow
    XmlFlowBuilder.buildInputMapper
    1. org.springframework.webflow.engine.builder.xml.XmlFlowBuilder.parseTypeConverter(XmlFlowBuilder.java:1003)
    2. org.springframework.webflow.engine.builder.xml.XmlFlowBuilder.parseMappings(XmlFlowBuilder.java:964)
    3. org.springframework.webflow.engine.builder.xml.XmlFlowBuilder.parseInputMapper(XmlFlowBuilder.java:927)
    4. org.springframework.webflow.engine.builder.xml.XmlFlowBuilder.buildInputMapper(XmlFlowBuilder.java:342)
    4 frames
  5. Spring Web Flow
    FlowExecutionImplStateRestorer.restoreState
    1. org.springframework.webflow.engine.builder.FlowAssembler.directAssembly(FlowAssembler.java:146)
    2. org.springframework.webflow.engine.builder.FlowAssembler.assembleFlow(FlowAssembler.java:131)
    3. org.springframework.webflow.engine.builder.RefreshableFlowDefinitionHolder.assembleFlow(RefreshableFlowDefinitionHolder.java:173)
    4. org.springframework.webflow.engine.builder.RefreshableFlowDefinitionHolder.refreshIfChanged(RefreshableFlowDefinitionHolder.java:128)
    5. org.springframework.webflow.engine.builder.RefreshableFlowDefinitionHolder.getFlowDefinition(RefreshableFlowDefinitionHolder.java:96)
    6. org.springframework.webflow.definition.registry.FlowDefinitionRegistryImpl.getFlowDefinition(FlowDefinitionRegistryImpl.java:126)
    7. org.springframework.webflow.engine.impl.FlowExecutionImplStateRestorer.restoreState(FlowExecutionImplStateRestorer.java:101)
    7 frames
  6. Spring Web Flow
    ContinuationFlowExecutionRepository.getFlowExecution
    1. org.springframework.webflow.execution.repository.continuation.ContinuationFlowExecutionRepository.getFlowExecution(ContinuationFlowExecutionRepository.java:166)
    1 frame
  7. Spring Web Flow
    FlowExecutorImpl.refresh
    1. org.springframework.webflow.executor.FlowExecutorImpl.refresh(FlowExecutorImpl.java:272)
    1 frame
  8. Spring Web Flow
    FlowController.handleRequestInternal
    1. org.springframework.webflow.executor.support.FlowRequestHandler.handleFlowRequest(FlowRequestHandler.java:122)
    2. org.springframework.webflow.executor.mvc.FlowController.handleRequestInternal(FlowController.java:170)
    2 frames
  9. Spring MVC
    FrameworkServlet.doGet
    1. org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
    2. org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
    3. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:819)
    4. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:754)
    5. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:399)
    6. org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:354)
    6 frames
  10. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    2 frames
  11. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    8 frames
  12. Grizzly HTTP
    LeaderFollowerWorkerThread.runIt
    1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
    2. org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
    3. org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    4. org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
    4 frames
  13. Tomcat Util
    ThreadPool$ControlRunnable.run
    1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    1 frame
  14. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:613)
    1 frame