Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » eclipse installer on windows( ERROR: org.eclipse.equinox.p2.updatesite code=1002 from installer)
eclipse installer on windows [message #1752106] Wed, 18 January 2017 20:47 Go to next message
Raul Romero is currently offline Raul RomeroFriend
Messages: 1
Registered: January 2017
Junior Member
When trying to install android neon for developers on windows 7, 64 bits, the installer stops, last message ´The XML stream is not a valid default "site.xml" file.´
Is there any fix?
Here is the install log:

[2017-01-18 12:16:43] Executing bootstrap tasks
[2017-01-18 12:16:43] Java(TM) SE Runtime Environment 1.8.0_121-b13
[2017-01-18 12:16:43] Product org.eclipse.products.epp.package.android.neon
[2017-01-18 12:16:43] Bundle org.eclipse.oomph.setup 1.6.0.v20161125-0947, build=2790, branch=33010448bcf5775ec23e485876cbb07a0340b9b5
[2017-01-18 12:16:43] Bundle org.eclipse.oomph.setup.core 1.6.0.v20161128-0928, build=2790, branch=33010448bcf5775ec23e485876cbb07a0340b9b5
[2017-01-18 12:16:43] Bundle org.eclipse.oomph.setup.p2 1.6.0.v20161019-0656, build=2790, branch=33010448bcf5775ec23e485876cbb07a0340b9b5
[2017-01-18 12:16:43] Performing P2 Director (Eclipse for Android Developers (Neon))
[2017-01-18 12:16:43] Offline = false
[2017-01-18 12:16:43] Mirrors = true
[2017-01-18 12:16:43] Resolving 27 requirements from 3 repositories to H:\eclipse\android\eclipse
[2017-01-18 12:16:43] Requirement epp.package.android [4.6.0,4.7.0)
[2017-01-18 12:16:43] Requirement org.eclipse.platform.feature.group [4.6.0,4.7.0)
[2017-01-18 12:16:43] Requirement org.eclipse.rcp.feature.group [4.6.0,4.7.0)
[2017-01-18 12:16:43] Requirement org.eclipse.andmore.android.basic.feature.feature.group
[2017-01-18 12:16:43] Requirement org.eclipse.andmore.gldebugger.feature.feature.group
[2017-01-18 12:16:43] Requirement org.eclipse.andmore.hierarchyviewer.feature.feature.group
[2017-01-18 12:16:43] Requirement org.eclipse.andmore.ndk.feature.feature.group
[2017-01-18 12:16:43] Requirement org.eclipse.andmore.traceview.feature.feature.group
[2017-01-18 12:16:43] Requirement org.eclipse.buildship.feature.group
[2017-01-18 12:16:43] Requirement org.eclipse.egit.feature.group
[2017-01-18 12:16:43] Requirement org.eclipse.egit.mylyn.feature.group
[2017-01-18 12:16:43] Requirement org.eclipse.jdt.feature.group
[2017-01-18 12:16:43] Requirement org.eclipse.m2e.feature.feature.group
[2017-01-18 12:16:43] Requirement org.eclipse.m2e.logback.feature.feature.group
[2017-01-18 12:16:43] Requirement org.eclipse.mylyn.bugzilla_feature.feature.group
[2017-01-18 12:16:43] Requirement org.eclipse.mylyn.context_feature.feature.group
[2017-01-18 12:16:43] Requirement org.eclipse.mylyn.git.feature.group
[2017-01-18 12:16:43] Requirement org.eclipse.mylyn.hudson.feature.group
[2017-01-18 12:16:43] Requirement org.eclipse.mylyn.ide_feature.feature.group
[2017-01-18 12:16:43] Requirement org.eclipse.mylyn.java_feature.feature.group
[2017-01-18 12:16:43] Requirement org.eclipse.mylyn.wikitext_feature.feature.group
[2017-01-18 12:16:43] Requirement org.eclipse.mylyn_feature.feature.group
[2017-01-18 12:16:43] Requirement org.eclipse.recommenders.mylyn.rcp.feature.feature.group
[2017-01-18 12:16:43] Requirement org.eclipse.recommenders.rcp.feature.feature.group
[2017-01-18 12:16:43] Requirement org.eclipse.recommenders.snipmatch.rcp.feature.feature.group
[2017-01-18 12:16:43] Requirement org.eclipse.wst.xml_ui.feature.feature.group
[2017-01-18 12:16:43] Requirement org.eclipse.oomph.setup.feature.group
[2017-01-18 12:16:43] Repository http://download.eclipse.org/technology/epp/packages/neon
[2017-01-18 12:16:43] Repository http://download.eclipse.org/releases/neon/201612211000
[2017-01-18 12:16:43] Repository http://download.eclipse.org/oomph/updates/milestone/latest
[2017-01-18 12:16:44] ERROR: org.eclipse.equinox.p2.updatesite code=1002 Error reading update site http://download.eclipse.org/releases/neon/201612211000.
org.xml.sax.SAXException: The XML stream is not a valid default "site.xml" file. The root tag is not site.

at org.eclipse.equinox.internal.p2.updatesite.DefaultSiteParser.handleInitialState(DefaultSiteParser.java:463)
at org.eclipse.equinox.internal.p2.updatesite.DefaultSiteParser.startElement(DefaultSiteParser.java:886)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source)
at org.eclipse.equinox.internal.p2.updatesite.DefaultSiteParser.parse(DefaultSiteParser.java:541)
at org.eclipse.equinox.internal.p2.updatesite.UpdateSite.load(UpdateSite.java:152)
at org.eclipse.equinox.internal.p2.updatesite.metadata.UpdateSiteMetadataRepositoryFactory.initializeRepository(UpdateSiteMetadataRepositoryFactory.java:99)
at org.eclipse.equinox.internal.p2.updatesite.metadata.UpdateSiteMetadataRepositoryFactory.load(UpdateSiteMetadataRepositoryFactory.java:59)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:57)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:768)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.oomph.util.ReflectUtil.invokeMethod(ReflectUtil.java:117)
at org.eclipse.oomph.p2.internal.core.CachingRepositoryManager.loadRepository(CachingRepositoryManager.java:389)
at org.eclipse.oomph.p2.internal.core.CachingRepositoryManager.loadRepository(CachingRepositoryManager.java:196)
at org.eclipse.oomph.p2.internal.core.CachingRepositoryManager$Metadata.loadRepository(CachingRepositoryManager.java:456)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92)
at org.eclipse.oomph.p2.internal.core.ProfileTransactionImpl$RepositoryLoader$Worker.perform(ProfileTransactionImpl.java:1613)
at org.eclipse.oomph.util.WorkerPool$Worker.run(WorkerPool.java:428)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

[2017-01-18 12:16:44]
Re: eclipse installer on windows [message #1752316 is a reply to message #1752106] Sat, 21 January 2017 05:00 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33258
Registered: July 2009
Senior Member
There is no site.xml for that location. Likely there was a network problem at the time you did this; p2 will try various files at that location, such as content.jar, content.xml, and content.xml.xz, but if all fail the site will fail to load...

Does it consistently result in this error if you try again? In the worst case, you could try deleting ~/.eclipse/org.eclipse.oomph.p2/cache in case there is some caching problem, though I wouldn't expect there would be a problem with this because no site.xml exists at that location...


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Ordering of tasks is not working
Next Topic:Add Update site does not work with SWT
Goto Forum:
  


Current Time: Sun Dec 08 01:11:17 GMT 2024

Powered by FUDForum. Page generated in 0.03017 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top