---
title: "Collect Earth won't start, can't get past spalsh screen"
url: "https://openforis.support/questions/696/collect-earth-wont-start-cant-get-past-spalsh-screen"
tags: ["collectearth"]
status: "answered"
score: 0
answer_count: 2
asked: "2016-09-01T21:39:52"
last_activity: "2016-09-02T10:59:38"
source: "Open Foris Support - Q&A Forum"
license: "Copyright Open Foris, 2026. Some rights reserved under creative commons license."
---

# Collect Earth won't start, can't get past spalsh screen

Asked by Durando on 2016-09-01

Greetings,
I’m preparing to present CE to an academic audience and I really want it to shine. However, after starting Google Earth, and either opening the application or an associated file it throws the following error:
“Collect Earth could not start due to a DB connection issue”
I’ve read a few other answers, verified that the properties are set to SQLite, and that there are no other java processes running in Task Manager (so far as I can tell).
System is Windows  8.1, updated a few days ago, Chrome version  52.0.2743.116 m. 
Here's the last few errors:

ERROR 2016-09-01 21:38:51,967 [main] org.openforis.collect.earth.app.desktop.EarthApp: Error generating KML file
java.lang.IllegalStateException: The server must be initialized before this method is called
	at org.openforis.collect.earth.app.desktop.EarthApp.getKmlGeneratorService(EarthApp.java:310)
	at org.openforis.collect.earth.app.desktop.EarthApp.generateKml(EarthApp.java:164)
	at org.openforis.collect.earth.app.desktop.EarthApp$2.update(EarthApp.java:352)
	at java.util.Observable.notifyObservers(Unknown Source)
	at org.openforis.collect.earth.app.desktop.ServerController.startServer(ServerController.java:245)
	at org.openforis.collect.earth.app.desktop.EarthApp.serverStartAndOpenGe(EarthApp.java:449)
	at org.openforis.collect.earth.app.desktop.EarthApp.initializeServer(EarthApp.java:363)
	at org.openforis.collect.earth.app.desktop.EarthApp.main(EarthApp.java:94)
ERROR 2016-09-01 21:38:52,037 [main] org.openforis.collect.earth.app.desktop.ServerController: Error getting web application context
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'collectEarthWindow': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openforis.collect.earth.app.service.DataImportExportService org.openforis.collect.earth.app.view.CollectEarthWindow.dataImportExportService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataImportExportService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openforis.collect.earth.app.service.EarthSurveyService org.openforis.collect.earth.app.service.DataImportExportService.earthSurveyService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'earthSurveyService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected org.openforis.collect.manager.RecordManager org.openforis.collect.earth.app.service.AbstractEarthSurveyService.recordManager; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'recordManager' defined in class path resource [org/openforis/collect/application-context-core.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'codeListManager' defined in class path resource [org/openforis/collect/application-context-core.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liquibase' defined in class path resource [org/openforis/collect/application-context-core.xml]: Invocation of init method failed; nested exception is liquibase.exception.LockException: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Date
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538)
	at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:446)
	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:328)
	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
	at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:843)
	at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:533)
	at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:816)
	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:345)
	at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1404)
	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1366)
	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:778)
	at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:262)
	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:520)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
	at org.eclipse.jetty.server.Server.start(Server.java:411)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:106)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
	at org.eclipse.jetty.server.Server.doStart(Server.java:378)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.openforis.collect.earth.app.desktop.ServerController.startServer(ServerController.java:239)
	at org.openforis.collect.earth.app.desktop.EarthApp.serverStartAndOpenGe(EarthApp.java:449)
	at org.openforis.collect.earth.app.desktop.EarthApp.initializeServer(EarthApp.java:363)
	at org.openforis.collect.earth.app.desktop.EarthApp.main(EarthApp.java:94)
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openforis.collect.earth.app.service.DataImportExportService org.openforis.collect.earth.app.view.CollectEarthWindow.dataImportExportService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataImportExportService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openforis.collect.earth.app.service.EarthSurveyService org.openforis.collect.earth.app.service.DataImportExportService.earthSurveyService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'earthSurveyService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected org.openforis.collect.manager.RecordManager org.openforis.collect.earth.app.service.AbstractEarthSurveyService.recordManager; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'recordManager' defined in class path resource [org/openforis/collect/application-context-core.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'codeListManager' defined in class path resource [org/openforis/collect/application-context-core.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liquibase' defined in class path resource [org/openforis/collect/application-context-core.xml]: Invocation of init method failed; nested exception is liquibase.exception.LockException: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Date
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)
	at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
	... 33 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataImportExportService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openforis.collect.earth.app.service.EarthSurveyService org.openforis.collect.earth.app.service.DataImportExportService.earthSurveyService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'earthSurveyService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected org.openforis.collect.manager.RecordManager org.openforis.collect.earth.app.service.AbstractEarthSurveyService.recordManager; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'recordManager' defined in class path resource [org/openforis/collect/application-context-core.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'codeListManager' defined in class path resource [org/openforis/collect/application-context-core.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liquibase' defined in class path resource [org/openforis/collect/application-context-core.xml]: Invocation of init method failed; nested exception is liquibase.exception.LockException: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Date
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545)
	... 35 more
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openforis.collect.earth.app.service.EarthSurveyService org.openforis.collect.earth.app.service.DataImportExportService.earthSurveyService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'earthSurveyService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected org.openforis.collect.manager.RecordManager org.openforis.collect.earth.app.service.AbstractEarthSurveyService.recordManager; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'recordManager' defined in class path resource [org/openforis/collect/application-context-core.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'codeListManager' defined in class path resource [org/openforis/collect/application-context-core.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liquibase' defined in class path resource [org/openforis/collect/application-context-core.xml]: Invocation of init method failed; nested exception is liquibase.exception.LockException: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Date
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)
	at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
	... 46 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'earthSurveyService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected org.openforis.collect.manager.RecordManager org.openforis.collect.earth.app.service.AbstractEarthSurveyService.recordManager; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'recordManager' defined in class path resource [org/openforis/collect/application-context-core.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'codeListManager' defined in class path resource [org/openforis/collect/application-context-core.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liquibase' defined in class path resource [org/openforis/collect/application-context-core.xml]: Invocation of init method failed; nested exception is liquibase.exception.LockException: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Date
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545)
	... 48 more
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected org.openforis.collect.manager.RecordManager org.openforis.collect.earth.app.service.AbstractEarthSurveyService.recordManager; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'recordManager' defined in class path resource [org/openforis/collect/application-context-core.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'codeListManager' defined in class path resource [org/openforis/collect/application-context-core.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liquibase' defined in class path resource [org/openforis/collect/application-context-core.xml]: Invocation of init method failed; nested exception is liquibase.exception.LockException: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Date
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)
	at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
	... 59 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'recordManager' defined in class path resource [org/openforis/collect/application-context-core.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'codeListManager' defined in class path resource [org/openforis/collect/application-context-core.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liquibase' defined in class path resource [org/openforis/collect/application-context-core.xml]: Invocation of init method failed; nested exception is liquibase.exception.LockException: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Date
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545)
	... 61 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'codeListManager' defined in class path resource [org/openforis/collect/application-context-core.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liquibase' defined in class path resource [org/openforis/collect/application-context-core.xml]: Invocation of init method failed; nested exception is liquibase.exception.LockException: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Date
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByName(AbstractAutowireCapableBeanFactory.java:1244)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1194)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
	... 70 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liquibase' defined in class path resource [org/openforis/collect/application-context-core.xml]: Invocation of init method failed; nested exception is liquibase.exception.LockException: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Date
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1578)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:296)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByName(AbstractAutowireCapableBeanFactory.java:1244)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1194)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
	... 78 more
Caused by: liquibase.exception.LockException: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Date
	at liquibase.lockservice.LockService.listLocks(LockService.java:185)
	at liquibase.lockservice.LockService.waitForLock(LockService.java:73)
	at liquibase.Liquibase.update(Liquibase.java:102)
	at liquibase.integration.spring.SpringLiquibase.performUpdate(SpringLiquibase.java:262)
	at liquibase.integration.spring.SpringLiquibase.afterPropertiesSet(SpringLiquibase.java:245)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1637)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574)
	... 89 more
Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Date
	at liquibase.lockservice.LockService.listLocks(LockService.java:180)
	... 95 more
ERROR 2016-09-01 21:38:52,047 [main] org.openforis.collect.earth.app.desktop.EarthApp: The server could not start
java.lang.NullPointerException
	at org.openforis.collect.earth.app.desktop.ServerController.startServer(ServerController.java:261)
	at org.openforis.collect.earth.app.desktop.EarthApp.serverStartAndOpenGe(EarthApp.java:449)
	at org.openforis.collect.earth.app.desktop.EarthApp.initializeServer(EarthApp.java:363)
	at org.openforis.collect.earth.app.desktop.EarthApp.main(EarthApp.java:94)


## Answer (score 0, by collectearth on 2016-09-02)

Link: https://openforis.support/questions/696/collect-earth-wont-start-cant-get-past-spalsh-screen/697

Hi Neal!

Thanks for sending that log, it always helps in order to understand the problem.

I think that the issue might have to do with an old database file. Probably you have a new version of Collect Earth installed in a computer where a quite old version was already installed.

For some reason the updating mechanism is not able to update the database to the latest format and this generates the issue.

If you don't have any important data in your computer the easiest way to fix this is by deleting (or renaming) the **collectEarthDatabase.db** file from the Collect Earth data folder and then restarting Collect Earth. This will generate a new file and it should work without issues.

The file is located in Windows at *C:\Users\YOUR_USER\AppData\Roaming\CollectEarth*

If there is important data in that DB then we need to have a different approach.

Hope the presentation goes well and let me know if we can help otherwise!


## Answer (score 0, by Durando on 2016-09-02)

Link: https://openforis.support/questions/696/collect-earth-wont-start-cant-get-past-spalsh-screen/698

Well, that sure was an easy fix. I suspect I must have overlooked this solution form a previous response. 

I'm just working with sample data, so I suppose if I wanted to keep the database, I would simply rename it, reopen CE to create a new file, then import the old records into the newly created db. (Unless I wanted to import them into a common PostGRES or SQLite project db.
