[
https://issues.apache.org/jira/browse/IVYDE-10?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nicolas Lalevée resolved IVYDE-10.
----------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
Assignee: Nicolas Lalevée (was: Xavier Hanin)
I have added a try-catch even if the preview feature is not integrated anymore
(maybe it will be again later).
> IvyDE is dependant on environment variable MOZILLA_FIVE_HOME
> ------------------------------------------------------------
>
> Key: IVYDE-10
> URL: https://issues.apache.org/jira/browse/IVYDE-10
> Project: IvyDE
> Issue Type: Bug
> Reporter: Andreas Schildbach
> Assignee: Nicolas Lalevée
> Fix For: 2.0.0
>
>
> If the environment variable MOZILLA_FIVE_HOME is not set, I get the following
> exception:
> org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path
> (MOZILLA_FIVE_HOME not set)]
> at org.eclipse.swt.SWT.error(SWT.java:2968)
> at org.eclipse.swt.browser.Browser.(Browser.java:130)
> at
> org.jayasoft.ivyde.eclipse.ui.editors.IvyEditor.createPagePreview(IvyEditor.java:84)
> at org.jayasoft.ivyde.eclipse.ui.editors.IvyEditor.addPages(IvyEditor.java:96)
> at org.eclipse.ui.forms.editor.FormEditor.createPages(FormEditor.java:133)
> at
> org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:241)
> at
> org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:609)
> at
> [...]
> Please also have a look at the following discussion:
> http://jayasoft.org/node/467
> As the environment variable is no standard variable, IvyDE should not fail
> over it - it could reduce functionality though.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.