Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 468728

Summary: Updating self profile: P2Exception in LazyProfile.getDelegate (73)
Product: [Tools] Oomph Reporter: EPP Error Reports <error-reports-inbox>
Component: P2 ManagementAssignee: Project Inbox <oomph-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: Ed.Merks
Version: 1.1.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description EPP Error Reports CLA 2015-05-29 03:03:29 EDT
The following incident was reported via the automated error reporting:


    code:                   2
    plugin:                 org.eclipse.core.jobs_3.7.0.v20150330-2103
    message:                HIDDEN
    fingerprint:            78323068
    exception class:        org.eclipse.oomph.util.ReflectUtil$ReflectionException
    exception message:      HIDDEN
    number of children:     0
    
    org.eclipse.oomph.util.ReflectUtil$ReflectionException: HIDDEN
    at org.eclipse.oomph.util.ReflectUtil.invokeMethod(ReflectUtil.java:130)
    at org.eclipse.oomph.p2.internal.core.LazyProfileRegistry.getProfileMap(LazyProfileRegistry.java:214)
    at org.eclipse.oomph.p2.internal.core.LazyProfileRegistry.getProfileMap(LazyProfileRegistry.java:150)
    at org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.internalGetProfile(SimpleProfileRegistry.java:249)
    at org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.getProfile(SimpleProfileRegistry.java:179)
    at org.eclipse.oomph.setup.internal.core.util.SelfProductCatalogURIHandlerImpl.create(SelfProductCatalogURIHandlerImpl.java:144)
    at org.eclipse.oomph.setup.internal.core.util.SelfProductCatalogURIHandlerImpl.access$0(SelfProductCatalogURIHandlerImpl.java:110)
    at org.eclipse.oomph.setup.internal.core.util.SelfProductCatalogURIHandlerImpl$1ProductCatalogInput.loadResource(SelfProductCatalogURIHandlerImpl.java:83)
    at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:196)
    at org.eclipse.oomph.base.util.BaseResourceImpl.doLoad(BaseResourceImpl.java:99)
    at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1518)
    at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1297)
    at org.eclipse.oomph.setup.internal.core.util.ResourceMirror$LoadJob.perform(ResourceMirror.java:208)
    at org.eclipse.oomph.util.WorkerPool$Worker.run(WorkerPool.java:416)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
caused by: org.eclipse.oomph.p2.P2Exception: HIDDEN
    at org.eclipse.oomph.p2.internal.core.LazyProfile.getDelegate(LazyProfile.java:73)
    at org.eclipse.oomph.p2.internal.core.LazyProfile.getDelegate(LazyProfile.java:83)
    at org.eclipse.oomph.p2.internal.core.LazyProfile.getProperty(LazyProfile.java:143)
    at org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.updateSelfProfile(SimpleProfileRegistry.java:147)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at org.eclipse.oomph.util.ReflectUtil.invokeMethod(ReflectUtil.java:116)
    at org.eclipse.oomph.p2.internal.core.LazyProfileRegistry.getProfileMap(LazyProfileRegistry.java:214)
    at org.eclipse.oomph.p2.internal.core.LazyProfileRegistry.getProfileMap(LazyProfileRegistry.java:150)
    at org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.internalGetProfile(SimpleProfileRegistry.java:249)
    at org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.getProfile(SimpleProfileRegistry.java:179)
    at org.eclipse.oomph.setup.internal.core.util.SelfProductCatalogURIHandlerImpl.create(SelfProductCatalogURIHandlerImpl.java:144)
    at org.eclipse.oomph.setup.internal.core.util.SelfProductCatalogURIHandlerImpl.access$0(SelfProductCatalogURIHandlerImpl.java:110)
    at org.eclipse.oomph.setup.internal.core.util.SelfProductCatalogURIHandlerImpl$1ProductCatalogInput.loadResource(SelfProductCatalogURIHandlerImpl.java:83)
    at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:196)
    at org.eclipse.oomph.base.util.BaseResourceImpl.doLoad(BaseResourceImpl.java:99)
    at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1518)
    at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1297)
    at org.eclipse.oomph.setup.internal.core.util.ResourceMirror$LoadJob.perform(ResourceMirror.java:208)
    at org.eclipse.oomph.util.WorkerPool$Worker.run(WorkerPool.java:416)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
   
  

General Information:

    reported-by:      zgc
    anonymous-id:     928b87f1-3859-417b-a1f5-c099713caf17
    eclipse-build-id: 4.5.0.I20150514-1000
    eclipse-product:  org.eclipse.epp.package.jee.product
    operating system: Windows8 6.2.0 (x86_64) - win32
    jre-version:      1.8.0_45-b14

The following plug-ins were present on the execution stack (*):
    1. org.eclipse.core.jobs_3.7.0.v20150330-2103
    2. org.eclipse.emf.ecore_2.11.0.v20150512-0501
    3. org.eclipse.emf_2.6.0.v20150518-0831
    4. org.eclipse.emf.ecore.xmi_2.11.0.v20150512-0501
    5. org.eclipse.equinox.p2.engine_2.4.0.v20150511-1532
    6. org.eclipse.oomph.base_1.1.0.v20150527-0821
    7. org.eclipse.oomph.p2.core_1.1.0.v20150527-0821
    8. org.eclipse.oomph.p2_1.1.0.v20150527-0821
    9. org.eclipse.oomph.setup.core_1.1.0.v20150527-0821
    10. org.eclipse.oomph.setup_1.1.0.v20150527-0821
    11. org.eclipse.oomph.util_1.1.0.v20150527-0821

Please note that:
* Messages, stacktraces, and nested status objects may be shortened.
* Bug fields like status, resolution, and whiteboard are sent
  back to reporters.
* The list of present bundles and their respective versions was
  calculated by package naming heuristics. This may or may not reflect reality.

Other Resources:
* Report: https://dev.eclipse.org/recommenders/committers/confess/#/problems/5567060ee4b08edae6175791  
* Manual: https://dev.eclipse.org/recommenders/community/confess/#/guide


Thank you for your assistance.
Your friendly error-reports-inbox.
Comment 1 Ed Merks CLA 2015-05-29 03:06:16 EDT
Please provide error reports that don't obscure the messages so we know which disk location is being used for parsing the profile, i.e., this message is important for us:

throw new P2Exception("Profile '" + profileId + "' could not be loaded from " + profileDirectory);
Comment 2 Ed Merks CLA 2015-06-06 09:08:01 EDT
I believe this is a duplicate of bug 469279 which is fixed in a recent build.

*** This bug has been marked as a duplicate of bug 469279 ***
Comment 3 Carsten Reckord CLA 2019-02-12 06:01:26 EST
*** Bug 506119 has been marked as a duplicate of this bug. ***