Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Unable to read repository (ProvisionException)
Unable to read repository (ProvisionException) [message #510265] Wed, 27 January 2010 01:05 Go to next message
No real name is currently offline No real name
Messages: 1
Registered: January 2010
Junior Member
Hello,

I am new to eclipse. Until I get SOME experience, I have no idea what I am looking for when it comes to an anomaly during setup and configuration.

Here is outline of my actions:

Downloaded: Eclipse IDE for Java EE Developers (for Mac OS X)
Launched Eclipse application (v3.5; Build id: 20090920-1017)
Selected menu item "Install New Software..." from the Help menu
Selected "--All Available Sites--" from the Install dialog window's pop-up menu

During subsequent processing, Eclipse indicates:

Unable to read repository at file:/Applications/eclipse/p2/org.eclipse.equinox.p2.reposit ory/cache/content1040019652.jar.
Premature end of file.


What follows are log files from Eclipse IDE. Thank you for any advice.

Cheers!


!SESSION 2010-01-22 23:14:47.838 -----------------------------------------------
eclipse.buildId=M20090917-0800
java.version=1.6.0_17
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US
Framework arguments: -keyring /Users/userid/.eclipse_keyring -showlocation
Command-line arguments: -os macosx -ws cocoa -arch x86 -keyring /Users/userid/.eclipse_keyring -showlocation

!ENTRY org.eclipse.core.net 1 0 2010-01-22 23:15:20.659
!MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences
!SESSION 2010-01-26 14:22:07.427 -----------------------------------------------
eclipse.buildId=M20090917-0800
java.version=1.6.0_17
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US
Framework arguments: -keyring /Users/userid/.eclipse_keyring -showlocation
Command-line arguments: -os macosx -ws cocoa -arch x86 -keyring /Users/userid/.eclipse_keyring -showlocation

!ENTRY org.eclipse.core.net 1 0 2010-01-26 14:22:28.358
!MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences

!ENTRY org.eclipse.equinox.p2.ui 2 0 2010-01-26 15:29:27.885
!MESSAGE Operation details
!SUBENTRY 1 org.eclipse.equinox.p2.ui 2 10001 2010-01-26 15:29:27.885
!MESSAGE Your original request has been modified.
!SUBENTRY 2 org.eclipse.equinox.p2.ui 2 10005 2010-01-26 15:29:27.885
!MESSAGE "Eclipse SDK" will be ignored because it is already installed.

!ENTRY org.eclipse.equinox.p2.ui 2 0 2010-01-26 15:29:27.898
!MESSAGE Operation details
!SUBENTRY 1 org.eclipse.equinox.p2.ui 2 10001 2010-01-26 15:29:27.898
!MESSAGE Your original request has been modified.
!SUBENTRY 2 org.eclipse.equinox.p2.ui 2 10005 2010-01-26 15:29:27.898
!MESSAGE "Eclipse SDK" will be ignored because it is already installed.

!ENTRY org.eclipse.equinox.p2.ui 2 0 2010-01-26 15:29:27.978
!MESSAGE Operation details
!SUBENTRY 1 org.eclipse.equinox.p2.ui 2 10001 2010-01-26 15:29:27.978
!MESSAGE Your original request has been modified.
!SUBENTRY 2 org.eclipse.equinox.p2.ui 2 10005 2010-01-26 15:29:27.978
!MESSAGE "Eclipse SDK" will be ignored because it is already installed.
!SESSION 2010-01-26 16:11:00.207 -----------------------------------------------
eclipse.buildId=M20090917-0800
java.version=1.6.0_17
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product -keyring /Users/userid/.eclipse_keyring -showlocation
Command-line arguments: -os macosx -ws cocoa -arch x86 -product org.eclipse.epp.package.jee.product -keyring /Users/userid/.eclipse_keyring -showlocation

!ENTRY org.eclipse.core.net 1 0 2010-01-26 16:11:42.572
!MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences

!ENTRY org.eclipse.equinox.p2.ui 4 0 2010-01-26 16:12:56.504
!MESSAGE Unable to load the repository http://download.eclipse.org/tools/mylyn/update/e3.4/
!STACK 1
org.eclipse.equinox.internal.provisional.p2.core.ProvisionEx ception: Unable to read repository at file:/Applications/eclipse/p2/org.eclipse.equinox.p2.reposit ory/cache/content1040019652.jar.
at org.eclipse.equinox.internal.p2.metadata.repository.Metadata RepositoryIO.read(MetadataRepositoryIO.java:73)
at org.eclipse.equinox.internal.provisional.spi.p2.metadata.rep ository.SimpleMetadataRepositoryFactory.validateAndLoad(Simp leMetadataRepositoryFactory.java:119)
at org.eclipse.equinox.internal.provisional.spi.p2.metadata.rep ository.SimpleMetadataRepositoryFactory.load(SimpleMetadataR epositoryFactory.java:87)
at org.eclipse.equinox.internal.p2.metadata.repository.Metadata RepositoryManager.factoryLoad(MetadataRepositoryManager.java :54)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractR epositoryManager.loadRepository(AbstractRepositoryManager.ja va:669)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractR epositoryManager.loadRepository(AbstractRepositoryManager.ja va:617)
at org.eclipse.equinox.internal.p2.metadata.repository.Metadata RepositoryManager.loadRepository(MetadataRepositoryManager.j ava:92)
at org.eclipse.equinox.internal.p2.metadata.repository.Metadata RepositoryManager.loadRepository(MetadataRepositoryManager.j ava:88)
at org.eclipse.equinox.internal.provisional.p2.ui.operations.Pr ovisioningUtil.loadMetadataRepository(ProvisioningUtil.java: 88)
at org.eclipse.equinox.internal.provisional.p2.ui.QueryableMeta dataRepositoryManager.doLoadRepository(QueryableMetadataRepo sitoryManager.java:55)
at org.eclipse.equinox.internal.provisional.p2.ui.QueryableRepo sitoryManager.loadRepository(QueryableRepositoryManager.java :195)
at org.eclipse.equinox.internal.provisional.p2.ui.QueryableMeta dataRepositoryManager.query(QueryableMetadataRepositoryManag er.java:70)
at org.eclipse.equinox.internal.provisional.p2.ui.QueryableRepo sitoryManager.query(QueryableRepositoryManager.java:82)
at org.eclipse.equinox.internal.provisional.p2.ui.ElementQueryD escriptor.performQuery(ElementQueryDescriptor.java:59)
at org.eclipse.equinox.internal.p2.ui.model.QueriedElement.fetc hChildren(QueriedElement.java:96)
at org.eclipse.equinox.internal.p2.ui.model.RemoteQueriedElemen t.fetchDeferredChildren(RemoteQueriedElement.java:33)
at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(Def erredTreeContentManager.java:234)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.io.IOException: Premature end of file.
at org.eclipse.equinox.internal.p2.metadata.repository.Metadata RepositoryIO$Parser.parse(MetadataRepositoryIO.java:206)
at org.eclipse.equinox.internal.p2.metadata.repository.Metadata RepositoryIO.read(MetadataRepositoryIO.java:55)
... 17 more
!SUBENTRY 1 org.eclipse.equinox.p2.metadata.repository 4 1002 2010-01-26 16:12:56.505
!MESSAGE Unable to read repository at file:/Applications/eclipse/p2/org.eclipse.equinox.p2.reposit ory/cache/content1040019652.jar.
!STACK 0
java.io.IOException: Premature end of file.
at org.eclipse.equinox.internal.p2.metadata.repository.Metadata RepositoryIO$Parser.parse(MetadataRepositoryIO.java:206)
at org.eclipse.equinox.internal.p2.metadata.repository.Metadata RepositoryIO.read(MetadataRepositoryIO.java:55)
at org.eclipse.equinox.internal.provisional.spi.p2.metadata.rep ository.SimpleMetadataRepositoryFactory.validateAndLoad(Simp leMetadataRepositoryFactory.java:119)
at org.eclipse.equinox.internal.provisional.spi.p2.metadata.rep ository.SimpleMetadataRepositoryFactory.load(SimpleMetadataR epositoryFactory.java:87)
at org.eclipse.equinox.internal.p2.metadata.repository.Metadata RepositoryManager.factoryLoad(MetadataRepositoryManager.java :54)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractR epositoryManager.loadRepository(AbstractRepositoryManager.ja va:669)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractR epositoryManager.loadRepository(AbstractRepositoryManager.ja va:617)
at org.eclipse.equinox.internal.p2.metadata.repository.Metadata RepositoryManager.loadRepository(MetadataRepositoryManager.j ava:92)
at org.eclipse.equinox.internal.p2.metadata.repository.Metadata RepositoryManager.loadRepository(MetadataRepositoryManager.j ava:88)
at org.eclipse.equinox.internal.provisional.p2.ui.operations.Pr ovisioningUtil.loadMetadataRepository(ProvisioningUtil.java: 88)
at org.eclipse.equinox.internal.provisional.p2.ui.QueryableMeta dataRepositoryManager.doLoadRepository(QueryableMetadataRepo sitoryManager.java:55)
at org.eclipse.equinox.internal.provisional.p2.ui.QueryableRepo sitoryManager.loadRepository(QueryableRepositoryManager.java :195)
at org.eclipse.equinox.internal.provisional.p2.ui.QueryableMeta dataRepositoryManager.query(QueryableMetadataRepositoryManag er.java:70)
at org.eclipse.equinox.internal.provisional.p2.ui.QueryableRepo sitoryManager.query(QueryableRepositoryManager.java:82)
at org.eclipse.equinox.internal.provisional.p2.ui.ElementQueryD escriptor.performQuery(ElementQueryDescriptor.java:59)
at org.eclipse.equinox.internal.p2.ui.model.QueriedElement.fetc hChildren(QueriedElement.java:96)
at org.eclipse.equinox.internal.p2.ui.model.RemoteQueriedElemen t.fetchDeferredChildren(RemoteQueriedElement.java:33)
at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(Def erredTreeContentManager.java:234)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Re: Unable to read repository (ProvisionException) [message #527482 is a reply to message #510265] Thu, 15 April 2010 12:26 Go to previous message
Robinson_Hu is currently offline Robinson_Hu
Messages: 1
Registered: July 2009
Junior Member
I have a similar exception with Eclipse 3.5.2 on WinXP. I tried to uninstall a feaure and it came after the Eclipse restart. I checked the named content......jar and was corrupted. As it was in a cache folder, I deleted...
Previous Topic:Very slow Browse button on linux
Next Topic:ScrollBar
Goto Forum:
  


Current Time: Sat Nov 01 07:05:32 GMT 2014

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

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