Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 266145 - NPE while updating I20090224-0800 with galileo M5
Summary: NPE while updating I20090224-0800 with galileo M5
Status: RESOLVED DUPLICATE of bug 265973
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.5   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-25 10:36 EST by Paul Webster CLA
Modified: 2009-02-25 10:41 EST (History)
0 users

See Also:


Attachments
NPE log (1.89 KB, text/plain)
2009-02-25 10:36 EST, Paul Webster CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Webster CLA 2009-02-25 10:36:52 EST
Created attachment 126733 [details]
NPE log

I installed I20090224-0800 and then used the preferences to delete the URLs and add my local M5 zips (EMF, Releng, WST, GMF, GEF).  I add my 4 features to install, install them, and restart.

I get 2 NPEs in my log.

java.lang.NullPointerException
	at org.eclipse.equinox.internal.p2.engine.ProfilePreferences.getDefaultLocation(ProfilePreferences.java:141)
	at org.eclipse.equinox.internal.p2.engine.ProfilePreferences.save(ProfilePreferences.java:153)
	at org.eclipse.core.internal.preferences.EclipsePreferences.flush(EclipsePreferences.java:352)
	at org.eclipse.core.internal.preferences.EclipsePreferences.flush(EclipsePreferences.java:340)
	at org.eclipse.equinox.internal.p2.core.helpers.AbstractRepositoryManager$SaveJob.run(AbstractRepositoryManager.java:57)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

PW
Comment 1 John Arthorne CLA 2009-02-25 10:41:52 EST

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