Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Helios P2 Agent error(P2 Agnet 3.6 doesn't work as expected)
Helios P2 Agent error [message #545171] Tue, 06 July 2010 22:19 Go to next message
Shahim Essaid is currently offline Shahim EssaidFriend
Messages: 40
Registered: July 2009
Member
Hello,

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 XP and Java 6.

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)


Am I not using the admin UI correctly? It works fine in 3.5.2

Thanks,
Shahim
Re: Helios P2 Agent error [message #546233 is a reply to message #545171] Mon, 12 July 2010 09:06 Go to previous message
No real name is currently offline No real nameFriend
Messages: 1
Registered: July 2009
Junior Member
I have exactly the same behavior. What's wrong with p2 Agent 3.6 ?
Previous Topic:org.osgi.framework.FrameworkUtil.getBundle(Class) method, where is it?
Next Topic:Can I specify bundle pool position in an extracted eclipse?
Goto Forum:
  


Current Time: Thu Apr 25 19:20:02 GMT 2024

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

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

Back to the top