View Full Version : RMI-Problems in Eclipse-RCP
bellmann29
Sep 16th, 2005, 03:21 PM
Hallo,
i tried a small test for myself using spring+rmi in an eclipse rcp application.
So i take a simple app similar to the example in the reference. But with using rcp i got a stackoverflowError. It seems to be a classloading problem.
Stubs will be generated by CGLIB when using spring? I´m right?
Rcp has its own classloading concept for plugins i think. So is there anybody who has some experiences with that problem or can give some links to resources with a solution.
Thanks,
Jörg Bellmann
achimschmidt
Dec 7th, 2005, 04:18 AM
Hi Jörg,
you have now any solution for your problem with Eclipse RCP?
I got the same error, but only when i launch the RCP. When i launch the plugin inside the IDE, it works fine....
the Stack:
Caused by: org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'iniService' defined in file [c:\Develop\Checkout\MainSubversion\IMC_6.3\IMCSubv ersion\dist\in4MC\plugins\de.infor.management.com_ 2.0.0\conf\applicationcontext.xml]: Initialization of bean failed; nested exception is java.lang.StackOverflowError: null
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:370)
at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:226)
at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:147)
at org.springframework.beans.factory.support.DefaultL istableBeanFactory.preInstantiateSingletons(Defaul tListableBeanFactory.java:269)
at org.springframework.context.support.AbstractApplic ationContext.refresh(AbstractApplicationContext.ja va:318)
at org.springframework.context.support.FileSystemXmlA pplicationContext.<init>(FileSystemXmlApplicationContext.java:83)
at org.springframework.context.support.FileSystemXmlA pplicationContext.<init>(FileSystemXmlApplicationContext.java:68)
at org.springframework.context.support.FileSystemXmlA pplicationContext.<init>(FileSystemXmlApplicationContext.java:59)
at de.infor.com.management.connect.spring.ConObject.<init>(ConObject.java:53)
at de.infor.com.management.connect.spring.ConObject.g etCon(ConObject.java:43)
at de.infor.com.management.plugin.ComPlugin.init(ComP lugin.java:115)
at de.infor.management.eclipse.views.navigation.Navig ationView.createPluginView(NavigationView.java:227 )
... 45 more
Caused by: java.lang.StackOverflowError
THX Achim
achimschmidt
Dec 7th, 2005, 08:49 AM
Hi again....
It's a problem of eclipse and osgi....
You can find a bugreport - thread and a patch under
https://bugs.eclipse.org/bugs/show_bug.cgi?id=103918
bye
Powered by vBulletin® Version 4.2.1 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.