Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322138 - [ui] Helios p2 agent Error
Summary: [ui] Helios p2 agent Error
Status: CLOSED DUPLICATE of bug 320494
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.7 M3   Edit
Assignee: Susan McCourt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-09 10:01 EDT by Xavier ROBERT CLA
Modified: 2010-09-16 12:17 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier ROBERT CLA 2010-08-09 10:01:50 EDT
Build Identifier: 

Eclipse Provisioning Admin UI 3.6.0 (equinox-p2-agent-3.6-win32.zip)

I was able to use the 3.5.2 P2 agent to create and install to a new profile but it fails with 3.6. This is on Windows 2000 and Java 5.

After I create a new profile in the Agent UI, if I right click on one of the installation units and select install I get the following warning in a dialog box:

"Problem determining user request. Profile id: null, Selection count: 1"

If I drag and drop the installation unit to the new profile, the installation appears to work but the installation actually occurs in the default profile, not the profile it was dropped on.

The .log file shows this:

!SESSION 2010-07-06 15:08:07.860 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.equinox.p2.ui.admin 4 0 2010-07-06 15:09:22.212
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: Exception in org.eclipse.equinox.internal.p2.ui.admin.ProvAdminUIActivato r.stop() of bundle org.eclipse.equinox.p2.ui.admin.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s top(BundleContextImpl.java:863)
at org.eclipse.osgi.framework.internal.core.BundleHost.stopWork er(BundleHost.java:501)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.susp end(AbstractBundle.java:550)
at org.eclipse.osgi.framework.internal.core.Framework.suspendBu ndle(Framework.java:1097)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.d ecFWSL(StartLevelManager.java:597)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:257)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.s hutdown(StartLevelManager.java:215)
at org.eclipse.osgi.framework.internal.core.InternalSystemBundl e.suspend(InternalSystemBundle.java:266)
at org.eclipse.osgi.framework.internal.core.Framework.shutdown( Framework.java:690)
at org.eclipse.osgi.framework.internal.core.Framework.close(Fra mework.java:588)
at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(Ecl ipseStarter.java:415)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:198)
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.equinox.launcher.Main.invokeFramework(Main.java: 619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
Caused by: java.lang.NullPointerException
at org.eclipse.equinox.internal.p2.ui.admin.ProvAdminUIActivato r.stop(ProvAdminUIActivator.java:91)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:843)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s top(BundleContextImpl.java:836)
... 18 more
Root exception:
java.lang.NullPointerException
at org.eclipse.equinox.internal.p2.ui.admin.ProvAdminUIActivato r.stop(ProvAdminUIActivator.java:91)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:843)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s top(BundleContextImpl.java:836)
at org.eclipse.osgi.framework.internal.core.BundleHost.stopWork er(BundleHost.java:501)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.susp end(AbstractBundle.java:550)
at org.eclipse.osgi.framework.internal.core.Framework.suspendBu ndle(Framework.java:1097)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.d ecFWSL(StartLevelManager.java:597)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:257)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.s hutdown(StartLevelManager.java:215)
at org.eclipse.osgi.framework.internal.core.InternalSystemBundl e.suspend(InternalSystemBundle.java:266)
at org.eclipse.osgi.framework.internal.core.Framework.shutdown( Framework.java:690)
at org.eclipse.osgi.framework.internal.core.Framework.close(Fra mework.java:588)
at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(Ecl ipseStarter.java:415)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:198)
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.equinox.launcher.Main.invokeFramework(Main.java: 619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)

It works fine in 3.5.2.

Reproducible: Always

Steps to Reproduce:
1. Launch Eclipse Provisioning Admin UI
2. Create a profile
3. Drag and drop UI in the profile
4. UI is installed in the default profile instead of the selected profile
Comment 1 Susan McCourt CLA 2010-08-09 11:39:35 EDT
I think this is bug 320613, but I'll keep this open to investigate the part about installing in the wrong profile.
Comment 2 Susan McCourt CLA 2010-09-02 18:18:30 EDT
Actually, this was bug 320494

*** This bug has been marked as a duplicate of bug 320494 ***