Bug 2348 - NPE: Cannot open examples view (1GET9OT)
Summary: NPE: Cannot open examples view (1GET9OT)
Status: RESOLVED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Kevin Haaland CLA
QA Contact:
URL:
Whiteboard:
Keywords: example
Depends on:
Blocks:
 
Reported: 2001-10-10 22:34 EDT by Randy Giffen CLA
Modified: 2002-01-22 16:48 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 Randy Giffen CLA 2001-10-10 22:34:36 EDT
There is a null pointer exception trying to open the examples view
org.eclipse.jface.examples.common.ExamplesView.getExamples()
could do something like

	// obtain file
	URL baseURL = JFaceExamplesPlugin.getDefault().getDescriptor().getInstallURL();
	URL fileURL= null;
	try {
			fileURL = new URL(baseURL, EXAMPLES_FILE);//$NON-NLS-1$
	} catch (MalformedURLException e) {
		// handle the exception
	}


NOTES:
Comment 1 DJ Houghton CLA 2001-10-29 18:21:55 EST
PRODUCT VERSION:
118

Comment 2 Randy Giffen CLA 2002-01-22 16:48:28 EST
No JFace examples