Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » NullPointer exception while installing (possibly incompatible) plugin
NullPointer exception while installing (possibly incompatible) plugin [message #109044] Fri, 02 May 2008 12:44 Go to next message
Felix Dorner is currently offline Felix DornerFriend
Messages: 676
Registered: July 2009
Senior Member
Hi,

I got this npe, while I installed the texlipse plugin via p2. Even if the plugin
is designed for an older version of eclipse (I successfully installed/used
via update manager in 3.4M5 though), that shouldn't happen I guess.

Felix

java.lang.NullPointerException
at
org.eclipse.equinox.internal.p2.touchpoint.eclipse.Util.crea teBundleInfo(Util.java:137)
at
org.eclipse.equinox.internal.p2.touchpoint.eclipse.EclipseTo uchpoint.installBundle(EclipseTouchpoint.java:787)
at
org.eclipse.equinox.internal.p2.touchpoint.eclipse.EclipseTo uchpoint$2.execute(EclipseTouchpoint.java:200)
at
org.eclipse.equinox.internal.p2.engine.ParameterizedProvisio ningAction.execute(ParameterizedProvisioningAction.java:32)
at
org.eclipse.equinox.internal.provisional.p2.engine.Phase.mai nPerform(Phase.java:116)
at org.eclipse.equinox.internal.provisional.p2.engine.Phase.per form(Phase.java:67)
at
org.eclipse.equinox.internal.provisional.p2.engine.Installab leUnitPhase.perform(InstallableUnitPhase.java:41)
at org.eclipse.equinox.internal.provisional.p2.engine.Phase.per form(Phase.java:46)
at
org.eclipse.equinox.internal.provisional.p2.engine.PhaseSet. perform(PhaseSet.java:38)
at org.eclipse.equinox.internal.provisional.p2.engine.Engine.pe rform(Engine.java:53)
at
org.eclipse.equinox.internal.provisional.p2.ui.operations.Pr ovisioningUtil.performProvisioningPlan(ProvisioningUtil.java :229)
at
org.eclipse.equinox.internal.provisional.p2.ui.operations.Pr ofileModificationOperation.doExecute(ProfileModificationOper ation.java:58)
at
org.eclipse.equinox.internal.provisional.p2.ui.operations.Pr ovisioningOperation.execute(ProvisioningOperation.java:40)

at
org.eclipse.equinox.internal.provisional.p2.ui.ProvisioningO perationRunner$1.run(ProvisioningOperationRunner.java:76)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Re: NullPointer exception while installing (possibly incompatible) plugin [message #109057 is a reply to message #109044] Fri, 02 May 2008 14:00 Go to previous message
Simon Kaegi is currently offline Simon KaegiFriend
Messages: 381
Registered: July 2009
Senior Member
Hi Felix,

Please try this with M7 which should be declared today and among other
things should handle the problems you're seeing.
1) the NPE should now be trapped so at the very least if there is a genuine
problem a proper error message will be logged and returned.
2) Support for old style plugins is now in place so if it worked in old UM
it should now also work with p2.

HTH
-Simon

"Felix Dorner" <felix_do@web.de> wrote in message
news:fvf2b3$pml$1@build.eclipse.org...
> Hi,
>
> I got this npe, while I installed the texlipse plugin via p2. Even if the
> plugin is designed for an older version of eclipse (I successfully
> installed/used via update manager in 3.4M5 though), that shouldn't happen
> I guess.
>
> Felix
>
> java.lang.NullPointerException
> at
> org.eclipse.equinox.internal.p2.touchpoint.eclipse.Util.crea teBundleInfo(Util.java:137)
> at
> org.eclipse.equinox.internal.p2.touchpoint.eclipse.EclipseTo uchpoint.installBundle(EclipseTouchpoint.java:787)
> at
> org.eclipse.equinox.internal.p2.touchpoint.eclipse.EclipseTo uchpoint$2.execute(EclipseTouchpoint.java:200)
> at
> org.eclipse.equinox.internal.p2.engine.ParameterizedProvisio ningAction.execute(ParameterizedProvisioningAction.java:32)
> at
> org.eclipse.equinox.internal.provisional.p2.engine.Phase.mai nPerform(Phase.java:116)
> at
> org.eclipse.equinox.internal.provisional.p2.engine.Phase.per form(Phase.java:67)
> at
> org.eclipse.equinox.internal.provisional.p2.engine.Installab leUnitPhase.perform(InstallableUnitPhase.java:41)
> at
> org.eclipse.equinox.internal.provisional.p2.engine.Phase.per form(Phase.java:46)
> at
> org.eclipse.equinox.internal.provisional.p2.engine.PhaseSet. perform(PhaseSet.java:38)
> at
> org.eclipse.equinox.internal.provisional.p2.engine.Engine.pe rform(Engine.java:53)
> at
> org.eclipse.equinox.internal.provisional.p2.ui.operations.Pr ovisioningUtil.performProvisioningPlan(ProvisioningUtil.java :229)
> at
> org.eclipse.equinox.internal.provisional.p2.ui.operations.Pr ofileModificationOperation.doExecute(ProfileModificationOper ation.java:58)
> at
> org.eclipse.equinox.internal.provisional.p2.ui.operations.Pr ovisioningOperation.execute(ProvisioningOperation.java:40)
>
> at
> org.eclipse.equinox.internal.provisional.p2.ui.ProvisioningO perationRunner$1.run(ProvisioningOperationRunner.java:76)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Previous Topic:p2 provisioning non-Eclipse applications
Next Topic:osgi always terminates
Goto Forum:
  


Current Time: Tue Oct 26 22:45:36 GMT 2021

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

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

Back to the top