Hi,
I got a stackOverFlow exception while mixing eclipse/spring IDE/M2Eclipse (works good out of the box).
My flex-appContext:
The exception while I'm persisting a flex object:Code:<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:flex="http://www.springframework.org/schema/flex" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd http://www.springframework.org/schema/flex http://www.springframework.org/schema/flex/spring-flex-1.0.xsd"> <!-- exception translator --> <!-- <bean id="javaToFlexExceptionTranslator" class="general.util.JavaToFlexExceptionTranslator" /> --> <!-- The amf message broker --> <flex:message-broker services-config-path="WEB-INF/flex/services-config.xml"> <!-- <flex:exception-translator ref="javaToFlexExceptionTranslator" /> --> <flex:remoting-service default-adapter-id="hibernate-object" default-channels="myProj-flex_webApp-amf" /> </flex:message-broker> <!-- Gilead libraries (opensession in view pattern) --> <bean class="net.sf.gilead.core.hibernate.spring.HibernateSpringUtil" factory-method="getInstance"> <property name="sessionFactory" ref="sessionFactory" /> </bean> <bean id="hibernate-object" class="org.springframework.flex.core.ManageableComponentFactoryBean" depends-on="sessionFactory"> <constructor-arg value="net.sf.gilead.blazeds.adapter.PersistentAdapter" /> <property name="properties"> <value> {"persistence-factory": {"class":"net.sf.gilead.core.hibernate.spring.HibernateSpringUtil", "singleton" :"true", "method":"getSessionFactory" }, "stateless":"true" } </value> </property> </bean> </beans>
Do you have any solution?Code:[BlazeDS]Error deserializing client message. java.lang.StackOverflowError at java.lang.reflect.Field.copy(Field.java:127) at java.lang.reflect.ReflectAccess.copyField(ReflectAccess.java:122) at sun.reflect.ReflectionFactory.copyField(ReflectionFactory.java:289) at java.lang.Class.copyFields(Class.java:2739) at java.lang.Class.getDeclaredFields(Class.java:1743) at org.springframework.util.ReflectionUtils.findField(ReflectionUtils.java:69) at org.springframework.util.ReflectionUtils.findField(ReflectionUtils.java:52) at org.springframework.core.convert.support.PropertyTypeDescriptor.getAnnotations(PropertyTypeDescriptor.java:82) at org.springframework.core.convert.TypeDescriptor.toString(TypeDescriptor.java:466) at java.lang.String.valueOf(String.java:2826) at java.lang.StringBuilder.append(StringBuilder.java:115) at org.springframework.core.convert.TypeDescriptor.toString(TypeDescriptor.java:472) at java.lang.String.valueOf(String.java:2826) at java.lang.StringBuilder.append(StringBuilder.java:115) ... (the three last lines about a thousand times)
Thank you in advance, Tcharl


Reply With Quote
