Bug 2348

Summary: NPE: Cannot open examples view (1GET9OT)
Product: [Eclipse Project] Platform Reporter: Randy Giffen <Randy_Giffen>
Component: UIAssignee: Kevin Haaland <Kevin_Haaland>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3 Keywords: example
Version: 2.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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