Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336950 - Subsequent creation of swt browser in swt_awt shell cause NS_ERROR_UNEXPECTED
Summary: Subsequent creation of swt browser in swt_awt shell cause NS_ERROR_UNEXPECTED
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.6.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-11 10:42 EST by adam.kopecky CLA
Modified: 2018-04-10 15:40 EDT (History)
0 users

See Also:


Attachments
testcase to reproduce the crash. (4.31 KB, text/x-java)
2011-02-11 10:44 EST, adam.kopecky CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.