Project: SWT
Bug 319188 LocationProvider null when xulrunner is already initialized by another browser
Reported: 2010-07-07 16:11:33 | Status: resolved fixed

Build Identifier: 3.5.2 If xulrunner is already initialized by another browser, the following line in Mozilla.java is not executed if (!Initialized) { LocationProvider = new AppFileLocProvider (mozillaPath); LocationProvider.AddRef (); The LocationProvider is not initialized and caused the exception when executes javascript in public boolean execute (String script) String mozillaPath = LocationProvider.mozillaPath + delegate.getJSLibraryName () + '\0'; Reproducible: Always

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/Mozilla.java