Bug 362866 - XULRunner can not be loaded in Eclipse 3.7 if Safari is installed
Summary: XULRunner can not be loaded in Eclipse 3.7 if Safari is installed
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Yun Feng Ma CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-04 03:53 EDT by Xin Wu CLA
Modified: 2017-02-23 14:19 EST (History)
7 users (show)

See Also:


Attachments
eclipse.ini (533 bytes, application/octet-stream)
2011-11-08 20:39 EST, Xin Wu CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xin Wu CLA 2011-11-04 03:53:30 EDT
Build Identifier: 20111103 nightly build

XULRunner can not be loaded in Eclipse 3.7. When config added in eclipse.ini, the XULRunner related function will cause eclipse crush.

Reproducible: Always

Steps to Reproduce:
1. Create a new workspace by eclipse 3.7
2. Create a Web Client with Service Project, and create a RUIhandler
3. Close the workspace, and config the XULRunner in eclipse.ini
4. Reopen the workspace, change the build in browser to XULRunner. There will be an alert popup indicate that "The application has been updated, but your version of SQLite is too old and the application cannot run".
5. Then the eclipse got error and crushed.
Comment 1 Justin Spadea CLA 2011-11-07 08:57:32 EST
Which version of XULRunner are you using? I found that the 3.6.x versions work, but the newer versions (6, 7, ...) do not work in SWT.
Comment 2 Justin Spadea CLA 2011-11-07 14:08:59 EST
I was able to reproduce this if I surrounded the path to XULRunner with quotes. If I remove the quotes then it works (spaces in the path still work).

BAD:
-Dorg.eclipse.swt.browser.XULRunnerPath="C:\xulrunner folder"

GOOD:
-Dorg.eclipse.swt.browser.XULRunnerPath=C:\xulrunner folder
Comment 3 Yun Feng Ma CLA 2011-11-07 20:21:18 EST
Justin, Thanks a lot for digging out the root cause. 

Xin, please try Justin's suggestion: remove the quote in XULRunner path.
Comment 4 Xin Wu CLA 2011-11-08 00:31:03 EST
Hi Justin & Jimmy

Thanks so much for your information. I've tried your suggestions.

Firstly I verified the quotes issue, my test environment did not added quotes in eclipse.ini before for there is no space in my path.

Then I tried the XULRunner 3.6.23 and 6.0.

[For 3.6.23]
The same problem as this bug described.

[For 6.0]
The error message show can not find the XULRunner, the same info as no XULRunner configured.

I also reproduced in other two machines, Jimmy is now looking into it.
Comment 5 Justin Spadea CLA 2011-11-08 09:05:58 EST
SWT does not support 6.0 so there is no need to try that - it will not work. Can you attach your eclipse.ini file?
Comment 6 Yun Feng Ma CLA 2011-11-08 09:38:05 EST
Hi Justin,

I think this is an issue described here: Bug 349837 - Incompatibility between WebKit and XULRunner's sqlite. Still don't have ideas about it.
Comment 7 Xin Wu CLA 2011-11-08 20:39:21 EST
Created attachment 206636 [details]
eclipse.ini

Hi Justin,

Here is my eclipse.ini for eclipse 3.7. 

For Jimmy's comments. I also found something to prove it.

1.XULRunner works well in eclipse 3.6 now, which wont' have a Webkit&XULRunner conflict problem. 
2.In previous version(about 3 weeks ago) of EDT in eclipse 3.7, the XULRunner works well.
Comment 8 Xin Wu CLA 2011-11-09 04:03:39 EST
For this can not be reproduced in all environments and the bug of SWT, down the severity to normal
Comment 9 Tony Chen CLA 2011-11-09 04:13:47 EST
Setting this to P3 because this is not a common scenario.
Comment 10 Jing Qian CLA 2011-11-16 15:48:32 EST
Brenda ran into the same issue described using XULRunner 19 and eclipse 37 and have the safari installed on this window machine.

I hope the end user will not have both safari and xulrunner installed together as a common scenario.
Comment 11 Brian Svihovec CLA 2011-11-16 15:51:29 EST
how about XULRUnner 3.6.24?
Comment 12 Lisa Lasher CLA 2011-11-16 16:30:09 EST
deferred
Comment 13 Brian Svihovec CLA 2011-11-16 16:33:24 EST
Saul, I'm not sure if we have a place where this can be documented?
Comment 14 Brian Svihovec CLA 2011-11-17 08:58:06 EST
If this only happens with XULRunner 1.9, I think we should close this defect as no plan to fix.  All of our testing has been done with 3.6.2x, and 1.9 is probably too old.
Comment 15 Jing Qian CLA 2011-11-17 11:06:16 EST
Eric in comment #4 seems to indicate it doesn't work for XULRunner 3.6.23 either on eclipse 37 with safari installed
Comment 16 Brian Svihovec CLA 2011-11-17 11:25:12 EST
Thanks Jing.  Keeping as deferred.  Saul, please try to comment on this somewhere for .7.