Eclipse RCP Application Fails to launch second time

Posted by ibuck on Stack Overflow See other posts from Stack Overflow or by ibuck
Published on 2010-03-08T22:39:05Z Indexed on 2010/04/18 9:43 UTC
Read the original article Hit count: 309

Filed under:
|

I have an Eclipse RCP application that will launch properly after a clean install (right after build).

The issue is that if I try to launch the application a second time the application throws an exception.

I have narrowed the issue down to this file being created after the first run: ~install_dir/configuration/org.eclipse.osgi/.state

Has anyone run into a similar issue where the .state file prevents the application from being launched anytime after that first run?

I'm hesitant to look at the exception as this does not happen the first time, so I suspect org.eclipse.osgi is more to blame.

The details of the exception are: "Error creating bean with name 'luceneRawQueryComposer' defined in class path resource [spring/dataaccess/daoCMClient.xml]: Cannot resolve reference to bean 'indexUtility' while setting bean property 'indexUtility'; NoSuchBeanDefinitionException

© Stack Overflow or respective owner

Related posts about eclipse-rcp

Related posts about osgi