Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 336950

Summary: Subsequent creation of swt browser in swt_awt shell cause NS_ERROR_UNEXPECTED
Product: [Eclipse Project] Platform Reporter: adam.kopecky
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3    
Version: 3.6.1   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
testcase to reproduce the crash. none

Description adam.kopecky CLA 2011-02-11 10:42:52 EST
Build Identifier: 

Subsequent creation of swt browser in swt_awt shell cause XPCOM.NS_ERROR_UNEXPECTED:

Exception in thread "Thread-3" org.eclipse.swt.SWTError: XPCOM error -2147418113
	at org.eclipse.swt.browser.Mozilla.error(Mozilla.java:2414)
	at org.eclipse.swt.browser.Mozilla.initProfile(Mozilla.java:2222)
	at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:707)
	at org.eclipse.swt.browser.Browser.<init>(Browser.java:119)
	at BrowserCanvas$1.run(BrowserCanvas.java:53)

xulrunner-1.9.2, 64bit GTK linux. Testcase attached.


Reproducible: Always

Steps to Reproduce:
1.In a single frame create a panel, containing swt shell with browser, display it.
2. dispose the display
3. create the shell with browser again.
Comment 1 adam.kopecky CLA 2011-02-11 10:44:06 EST
Created attachment 188783 [details]
testcase to reproduce the crash.
Comment 2 Leo Ufimtsev CLA 2018-04-10 15:40:13 EDT
Mozila Browser replaced by webkit. Please create new bug if issue still occurs.