Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » org.eclipse.equinox.p2.core.ProvisionException(RCP product based on features (Eclipse Indigo))
org.eclipse.equinox.p2.core.ProvisionException [message #896612] Thu, 19 July 2012 07:21 Go to next message
sajja Phani is currently offline sajja Phani
Messages: 26
Registered: August 2011
Junior Member
Hi,
In my RCP application, I have define a product which is based on features with p2 support. I have added all the dependencies to the features --> plugins. I exported the product for Linux gtk 32 and 64 bit versions.

My development system is Ubuntu 64bit. The exported 64 bit version is running fine on my machine and another 64 bit Fedora system for update (Install New Software).

When I run the 32 bit version it is giving the org.eclipse.equinox.p2.core.ProvisionException in a window and the log says

!SESSION 2012-07-19 11:25:08.149 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_IN
Command-line arguments:  -os linux -ws gtk -arch x86

!ENTRY in.expertsoftware.sampark.dashboard 1 0 2012-07-19 11:25:09.012
!MESSAGE Starting Dashboard!!

!ENTRY org.eclipse.core.net 1 0 2012-07-19 11:25:32.591
!MESSAGE System property http.proxyHost is not set but should be ....

!ENTRY org.eclipse.core.net 1 0 2012-07-19 11:25:32.594
!MESSAGE System property http.proxyPort is not set but should be 8080.

!ENTRY org.eclipse.equinox.p2.metadata.repository 4 0 2012-07-19 11:25:38.258
!MESSAGE Unexpected error loading extension: org.eclipse.equinox.p2.metadata.repository.simpleRepository
!STACK 0
java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.httpclient.HttpClient
	at org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientBrowseFileTransferFactory$1.sendBrowseRequest(HttpClientBrowseFileTransferFactory.java:53)
	at org.eclipse.ecf.provider.filetransfer.browse.MultiProtocolFileSystemBrowserAdapter.sendBrowseRequest(MultiProtocolFileSystemBrowserAdapter.java:95)
	at org.eclipse.equinox.internal.p2.transport.ecf.FileInfoReader.sendBrowseRequest(FileInfoReader.java:186)
	at org.eclipse.equinox.internal.p2.transport.ecf.FileInfoReader.getRemoteFiles(FileInfoReader.java:112)
	at org.eclipse.equinox.internal.p2.transport.ecf.FileInfoReader.getRemoteFile(FileInfoReader.java:128)
	at org.eclipse.equinox.internal.p2.transport.ecf.FileInfoReader.getLastModified(FileInfoReader.java:133)
	at org.eclipse.equinox.internal.p2.transport.ecf.RepositoryTransport.getLastModified(RepositoryTransport.java:203)
	at org.eclipse.equinox.internal.p2.repository.CacheManager.createCache(CacheManager.java:134)
	at org.eclipse.equinox.internal.p2.metadata.repository.SimpleMetadataRepositoryFactory.getLocalFile(SimpleMetadataRepositoryFactory.java:66)
	at org.eclipse.equinox.internal.p2.metadata.repository.SimpleMetadataRepositoryFactory.load(SimpleMetadataRepositoryFactory.java:88)
	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:749)
	at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:651)
	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.equinox.p2.ui.LoadMetadataRepositoryJob.doLoad(LoadMetadataRepositoryJob.java:117)
	at org.eclipse.equinox.p2.ui.LoadMetadataRepositoryJob.runModal(LoadMetadataRepositoryJob.java:102)
	at org.eclipse.equinox.internal.p2.ui.sdk.PreloadingRepositoryHandler$2.runModal(PreloadingRepositoryHandler.java:82)
	at org.eclipse.equinox.p2.operations.ProvisioningJob.run(ProvisioningJob.java:177)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)


The org.apache.commons.httpclient plugin is present in the plugins directory.
Even after setting the proxy in Network preferences it is giving the same error.

What might be the problem?

Note: The problem is with Fedora 8 32bit and working fine with Fedora 14 32bit

--
Thanks
Sajja

[Updated on: Fri, 20 July 2012 06:10]

Report message to a moderator

Re: org.eclipse.equinox.p2.core.ProvisionException [message #897717 is a reply to message #896612] Wed, 25 July 2012 07:19 Go to previous message
Sabir Mising name is currently offline Sabir Mising name
Messages: 68
Registered: February 2010
Member
try with some older version of org.apache.commons.httpclient plugin it looks to me like the httpclient plugin has some issue with Fedora 8 might be you can use a older versin to just cross-check
Previous Topic:Installing plugin into eclipse using command line
Next Topic:Run product in IDE. Features not apear in about dialog.
Goto Forum:
  


Current Time: Wed Oct 22 01:53:05 GMT 2014

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

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