Eclipse RCP Application Fails to launch second time
- by ibuck
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