[jbosstools-issues] [JBoss JIRA] Closed: (JBIDE-1754) XULRunner initialization issue

Max Andersen (JIRA) jira-events at lists.jboss.org
Thu Feb 7 05:09:04 EST 2008


     [ http://jira.jboss.com/jira/browse/JBIDE-1754?page=all ]

Max Andersen closed JBIDE-1754.
-------------------------------

    Resolution: Duplicate Issue

> XULRunner initialization issue
> ------------------------------
>
>                 Key: JBIDE-1754
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-1754
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>         Environment: Linux
>            Reporter: Snjezana Peco
>
> This is a Linux specific issue similar to JBIDE-1096.
> Steps to reproduce:
> 1) activate the Javadoc view
> 2) close all editors (the editors that use XULRunner are important - VPE, ATF...)
> 3) restart Eclipse
> 4) try to open the VPE editor
> You will get the following exception : 
> org.jboss.tools.vpe.xulrunner.XulRunnerException: nsIWebBrowser is not available
> at org.jboss.tools.vpe.xulrunner.browser.XulRunnerBrowser.<init>(XulRunnerBrowser.java:91)
> at org.jboss.tools.vpe.xulrunner.editor.XulRunnerEditor.<init>(XulRunnerEditor.java:109)
> at org.jboss.tools.vpe.editor.mozilla.MozillaEditor$4.<init>(MozillaEditor.java:214)
> at org.jboss.tools.vpe.editor.mozilla.MozillaEditor.createPartControl(MozillaEditor.java:214)
> at org.jboss.tools.vpe.editor.VpeEditorPart.createPartControl(VpeEditorPart.java:518)
> at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditorPart.addPage(JSPMultiPageEditorPart.java:82)
> at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor.createPagesForWindows(JSPMultiPageEditor.java:399)
> at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor.createPages(JSPMultiPageEditor.java:375)
> at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditorPart.createPartControl(JSPMultiPageEditorPart.java:124)
> at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661)
> at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:426)
> at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:592)
> at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:299) 
> ...
> The problem is that Eclipse restores editors/views before executing early startup code.
> We can't do anything within Eclipse to solve this issue except setting the org.eclipse.swt.browser.XULRunnerPath VM argument or advising users to deactivate the Javadoc view. 
> I think that the best solution would be that the SWT team  implements ATF's xulrunner extension point.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list