Bug 139528 [Browser] Error message should be improved
I got the following error in my log. The message is probably allright except for the trailing null. eclipse.buildId=I20060428-1315 java.fullversion=J2RE 1.4.2 IBM build cxia32142-20050609 (JIT enabled: jitc) BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US Command-line arguments: -os linux -ws gtk -arch x86 -debug -consolelog Warning Mon May 01 12:39:50 EDT 2006 Internal browser is not available: null
bundles/org.eclipse.ui.browser/src/org/eclipse/ui/internal/browser/WebBrowserUtil.java
public static List getExternalBrowserPaths() {
		List paths = new ArrayList();
		Iterator iterator = BrowserManager.getInstance().getWebBrowsers()
				.iterator();
		while (iterator.hasNext()) {
			IBrowserDescriptor wb = (IBrowserDescriptor) iterator.next();
			if (wb != null && wb.getLocation() != null)
				paths.add(wb.getLocation().toLowerCase());
		}
		return paths;
	}
	/**
	 * Add any supported EXTERNAL web browsers found after an arbitrary check in
	 * specific paths
	 */
	public static void addFoundBrowsers(List list) {
		List paths = getExternalBrowserPaths();
		String os = Platform.getOS();
		File[] roots = getUsableDrives(File.listRoots());
		int rootSize = roots.length;
		
		IBrowserExt[] browsers = WebBrowserUIPlugin.getBrowsers();
		int size = browsers.length;
		for (int i = 0; i < size; i++) {
			if (browsers[i].getDefaultLocations() != null
					&& browsers[i].getOS().toLowerCase().indexOf(os) >= 0) {
				for (int k = 0; k < rootSize; k++) {
					int size2 = browsers[i].getDefaultLocations().length;
					for (int j = 0; j < size2; j++) {
						String location = browsers[i].getDefaultLocations()[j];