Hi! I install CollectEarth v.1.14.0 on Windows. When I try to start the application, the original picture appears and the application closes. I tried to install the app on Windows 10 x64, Windows 7 x64, but the result is the same. Below is the contents of the file

ERROR 2021-11-10 15:38:48,871 [main] org.springframework.web.context.ContextLoader: Context initialization failed
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 1 in XML document from URL [file:C:/Users/alex/AppData/Roaming/CollectEarth/generated/applicationContext.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.
    at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:402) ~[spring-beans-5.3.9.jar:5.3.9]
    at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:338) ~[spring-beans-5.3.9.jar:5.3.9]
    at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310) ~[spring-beans-5.3.9.jar:5.3.9]
    at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:188) ~[spring-beans-5.3.9.jar:5.3.9]
    at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:224) ~[spring-beans-5.3.9.jar:5.3.9]
    at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:195) ~[spring-beans-5.3.9.jar:5.3.9]
    at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125) ~[spring-web-5.3.9.jar:5.3.9]
    at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94) ~[spring-web-5.3.9.jar:5.3.9]
    at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130) ~[spring-context-5.3.9.jar:5.3.9]
    at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:671) ~[spring-context-5.3.9.jar:5.3.9]
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:553) ~[spring-context-5.3.9.jar:5.3.9]
    at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:401) ~[spring-web-5.3.9.jar:5.3.9]
    at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:292) [spring-web-5.3.9.jar:5.3.9]
    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103) [spring-web-5.3.9.jar:5.3.9]
    at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:1068) [jetty-server-9.4.39.v20210325.jar:9.4.39.v20210325]
    at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:572) [jetty-servlet-9.4.39.v20210325.jar:9.4.39.v20210325]
    at org.eclipse.jetty.server.handler.ContextHandler.contextInitialized(ContextHandler.java:997) [jetty-server-9.4.39.v20210325.jar:9.4.39.v20210325]
    at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:746) [jetty-servlet-9.4.39.v20210325.jar:9.4.39.v20210325]
    at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:379) [jetty-servlet-9.4.39.v20210325.jar:9.4.39.v20210325]
    at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1449) [jetty-webapp-9.4.39.v20210325.jar:9.4.39.v20210325]
    at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1414) [jetty-webapp-9.4.39.v20210325.jar:9.4.39.v20210325]
    at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:911) [jetty-server-9.4.39.v20210325.jar:9.4.39.v20210325]
    at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:288) [jetty-servlet-9.4.39.v20210325.jar:9.4.39.v20210325]
    at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:524) [jetty-webapp-9.4.39.v20210325.jar:9.4.39.v20210325]
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) [jetty-util-9.4.39.v20210325.jar:9.4.39.v20210325]
    at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) [jetty-util-9.4.39.v20210325.jar:9.4.39.v20210325]
    at org.eclipse.jetty.server.Server.start(Server.java:423) [jetty-server-9.4.39.v20210325.jar:9.4.39.v20210325]
    at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) [jetty-util-9.4.39.v20210325.jar:9.4.39.v20210325]
    at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) [jetty-server-9.4.39.v20210325.jar:9.4.39.v20210325]
    at org.eclipse.jetty.server.Server.doStart(Server.java:387) [jetty-server-9.4.39.v20210325.jar:9.4.39.v20210325]
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) [jetty-util-9.4.39.v20210325.jar:9.4.39.v20210325]
    at org.openforis.collect.earth.app.desktop.ServerController.startServer(ServerController.java:230) [CollectEarth.jar:?]
    at org.openforis.collect.earth.app.desktop.EarthApp.serverStartAndOpenGe(EarthApp.java:454) [CollectEarth.jar:?]
    at org.openforis.collect.earth.app.desktop.EarthApp.startServer(EarthApp.java:333) [CollectEarth.jar:?]
    at org.openforis.collect.earth.app.desktop.EarthApp.startCollectEarth(EarthApp.java:318) [CollectEarth.jar:?]
    at org.openforis.collect.earth.app.desktop.EarthApp.main(EarthApp.java:102) [CollectEarth.jar:?]
Caused by: org.xml.sax.SAXParseException: Premature end of file.
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203) ~[?:1.8.0_232]
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177) ~[?:1.8.0_232]
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400) ~[?:1.8.0_232]
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327) ~[?:1.8.0_232]
    at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1472) ~[?:1.8.0_232]
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1014) ~[?:1.8.0_232]
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602) ~[?:1.8.0_232]
    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112) ~[?:1.8.0_232]
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505) ~[?:1.8.0_232]
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:842) ~[?:1.8.0_232]
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771) ~[?:1.8.0_232]
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141) ~[?:1.8.0_232]
    at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:243) ~[?:1.8.0_232]
    at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339) ~[?:1.8.0_232]
    at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:77) ~[spring-beans-5.3.9.jar:5.3.9]
    at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadDocument(XmlBeanDefinitionReader.java:432) ~[spring-beans-5.3.9.jar:5.3.9]
    at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390) ~[spring-beans-5.3.9.jar:5.3.9]
    ... 35 more

asked 10 Nov, 15:27

alex's gravatar image

alex
211
accept rate: 0%


We introduced a bug with version 1.14.1 for new users (software update was fine)

If you download the newest version (1.14.2) again you should be able to run Collect Earth without issues

https://openforis.org/tools/collect-earth/#Download

Thank you for reporting the problem and excuse us for the inconvenience!

permanent link

answered 14 Nov, 15:07

Open%20Foris's gravatar image

Open Foris ♦♦
8035714
accept rate: 9%

It seems that your computer has a problem writing text into this file Ñ C:/Users/alex/AppData/Roaming/CollectEarth/generated/applicationContext.xml

Could you check the contents in the file, and if maybe something is preventing Collect Earth to write the file (perhaps and antivirus or security software)

Thanks!

permanent link

answered 12 Nov, 16:29

Open%20Foris's gravatar image

Open Foris ♦♦
8035714
accept rate: 9%

Bonjour,

J'ai pratiquement le même problème. J'installe le logiciel et lorsque je le lance ilne démarre pas.

Merci de m'aider à solutionner ce problème.

Cordialement

permanent link

answered 13 Nov, 08:36

Ibrahima's gravatar image

Ibrahima
111
accept rate: 0%

File C:/Users/alex/AppData/Roaming/CollectEarth/generated/applicationContext.xml is empty.

Antivirus/security software not installed.

I gave full permissions to the folder (C:/Users/alex/AppData/Roaming/CollectEarth), but nothing changed.

permanent link

answered 13 Nov, 08:55

alex's gravatar image

alex
211
accept rate: 0%

Thank you so much! It worked on Windows 7. Tomorrow I will check on Windows 10 and give you feedback.

permanent link

answered 14 Nov, 19:24

alex's gravatar image

alex
211
accept rate: 0%

Bonsoir, Merci beaucoup pour les réponses. Après avoir téléchargé la version 1.14.2 les fonctionnent très bien maintenant. Après lancement, le démarrage fonctionne bien.

permanent link

answered 14 Nov, 19:33

Ibrahima's gravatar image

Ibrahima
111
accept rate: 0%

It worked on Windows 10 too. Thank you so much! Problem solved.

permanent link

answered 16 Nov, 09:54

alex's gravatar image

alex
211
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×257

question asked: 10 Nov, 15:27

question was seen: 77 times

last updated: 16 Nov, 09:54