Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » NPE on software update
NPE on software update [message #335668] Mon, 20 April 2009 11:59 Go to next message
Parvez is currently offline Parvez
Messages: 181
Registered: July 2009
Senior Member
Hi,

In eclipse (3.4) I am getting NPE (please see below) on click on update
button, which is available through Help menu > Software Updates...
window. Any idea what could I do to fix it?

java.lang.NullPointerException
at java.io.File.<init>(Unknown Source)
at
org.eclipse.equinox.internal.provisional.p2.directorywatcher .RepositoryListener.synchronizeCurrentFiles(RepositoryListen er.java:426)
at
org.eclipse.equinox.internal.provisional.p2.directorywatcher .RepositoryListener. <init>(RepositoryListener.java:89)
at
org.eclipse.equinox.internal.p2.extensionlocation.ExtensionL ocationArtifactRepository.ensureInitialized(ExtensionLocatio nArtifactRepository.java:68)
at
org.eclipse.equinox.internal.p2.extensionlocation.ExtensionL ocationArtifactRepository.getArtifactKeys(ExtensionLocationA rtifactRepository.java:165)
at
org.eclipse.equinox.internal.p2.touchpoint.eclipse.Aggregate dBundleRepository.getArtifactKeys(AggregatedBundleRepository .java:85)
at
org.eclipse.equinox.internal.p2.extensionlocation.BundlePool FilteredListener. <init>(BundlePoolFilteredListener.java:29)
at
org.eclipse.equinox.internal.p2.extensionlocation.ExtensionL ocationMetadataRepository.ensureInitialized(ExtensionLocatio nMetadataRepository.java:70)
at
org.eclipse.equinox.internal.p2.extensionlocation.ExtensionL ocationMetadataRepository.query(ExtensionLocationMetadataRep ository.java:101)
at
org.eclipse.equinox.internal.p2.director.SimplePlanner.updat esFor(SimplePlanner.java:385)
at
org.eclipse.equinox.internal.provisional.p2.ui.query.Queryab leUpdates.query(QueryableUpdates.java:48)
at
org.eclipse.equinox.internal.provisional.p2.ui.actions.Updat eAction.getProvisioningPlan(UpdateAction.java:71)
at
org.eclipse.equinox.internal.provisional.p2.ui.actions.Profi leModificationAction$1.run(ProfileModificationAction.java:62 )
at
org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext.java:121)



Thanks.
- Parvez
Re: NPE on software update [message #335674 is a reply to message #335668] Mon, 20 April 2009 17:42 Go to previous messageGo to next message
Al Mising name is currently offline Al Mising name
Messages: 123
Registered: July 2009
Senior Member
Did you manually install any plugins?

http://wiki.eclipse.org/Equinox_p2_Getting_Started
Re: NPE on software update [message #335779 is a reply to message #335674] Wed, 29 April 2009 08:59 Go to previous messageGo to next message
Parvez is currently offline Parvez
Messages: 181
Registered: July 2009
Senior Member
Thanks Al.
I don't think so. Just reinstalled and works fine now.

Al wrote:
> Did you manually install any plugins?
>
> http://wiki.eclipse.org/Equinox_p2_Getting_Started
>
>
Re: NPE on software update [message #478717 is a reply to message #335668] Thu, 06 August 2009 10:18 Go to previous message
Christophe Elek is currently offline Christophe Elek
Messages: 38
Registered: July 2009
Member
Same here, have you found how to solve it ?
Previous Topic:Is it possible to replace the "Default Text Editor"
Next Topic:INewWizard without pages
Goto Forum:
  


Current Time: Fri Aug 29 14:29:29 EDT 2014

Powered by FUDForum. Page generated in 0.01660 seconds