flex.messaging.MessageException: Unable to create a new instance of type 'sample.crm.domain.customer.CommercialEstablishment'. Abstract types cannot be instantiated.

Spring JIRA | Thomas Vanstals | 6 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.

    Root Cause Analysis

    1. flex.messaging.MessageException

      Unable to create a new instance of type 'sample.crm.domain.customer.CommercialEstablishment'. Abstract types cannot be instantiated.

      at flex.messaging.util.ClassUtil.createDefaultInstance()
    2. BlazeDS Core Library
      AbstractProxy.createInstance
      1. flex.messaging.util.ClassUtil.createDefaultInstance(ClassUtil.java:161)
      2. flex.messaging.io.AbstractProxy.createInstanceFromClassName(AbstractProxy.java:102)
      3. flex.messaging.io.AbstractProxy.createInstance(AbstractProxy.java:122)
      3 frames
    3. org.springframework.flex
      MessageBrokerFactoryBean.afterPropertiesSet
      1. org.springframework.flex.core.io.SpringPropertyProxy.proxyFor(SpringPropertyProxy.java:78)
      2. org.springframework.flex.core.io.AbstractAmfConversionServiceConfigProcessor.registerAmfProxies(AbstractAmfConversionServiceConfigProcessor.java:107)
      3. org.springframework.flex.core.io.AbstractAmfConversionServiceConfigProcessor.processAfterStartup(AbstractAmfConversionServiceConfigProcessor.java:68)
      4. org.springframework.flex.core.MessageBrokerFactoryBean.processAfterStart(MessageBrokerFactoryBean.java:315)
      5. org.springframework.flex.core.MessageBrokerFactoryBean.afterPropertiesSet(MessageBrokerFactoryBean.java:177)
      5 frames