Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 260714 - [ui][admin] NPE expanding the repository content
Summary: [ui][admin] NPE expanding the repository content
Status: RESOLVED DUPLICATE of bug 260728
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.5   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Susan McCourt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-12 09:52 EST by Pascal Rapicault CLA
Modified: 2009-01-12 10:41 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Rapicault CLA 2009-01-12 09:52:04 EST
With the code from HEAD, start the admin ui, add a repository (e.g. the 3.5. build) and check for updates. You will get the following NPE:
java.lang.NullPointerException
	at org.eclipse.equinox.internal.p2.ui.model.QueriedElement.getQueryProvider(QueriedElement.java:47)
	at org.eclipse.equinox.internal.p2.ui.model.QueriedElement.fetchChildren(QueriedElement.java:89)
	at org.eclipse.equinox.internal.p2.ui.model.RemoteQueriedElement.fetchDeferredChildren(RemoteQueriedElement.java:35)
	at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:234)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Comment 1 Pascal Rapicault CLA 2009-01-12 10:41:18 EST

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