Configuração JBoss Tools x XULRunner

Olá pessoal,

Estou usando o Eclipse Galileo 64 bits e tentei instalar a última versão do JBoss Tools.

O problema é que ao executar o visual editor ocorre o erro: Could not open the Visual Page Editor: No more handles [Could not detect registered XULRunner to use]
No more handles [Could not detect registered XULRunner to use]

Então baixei no site em http://wiki.mozilla-x86-64.com/Download o xulrunner.win64.20060304.zip

Mas não sei como configurar o eclipse ou o jboss tools para utilizar este cara.

Alguém já configurou, pode me instruir?

E ae pessoal, tb to com problemas com o Jboss Tools, depois que instalei, aparece o erro abaixo qd tento abrir uma página JSP.

Pelo q entendi, parece-me que o Visual Editor não suporta o Eclipse 64 bits. Alguém sabe como resolver isso?

Could not open the Visual Page Editor:
Current platform ‘win32.win32.x86_64’ is not supported.

org.jboss.tools.vpe.xulrunner.XulRunnerException: Current platform ‘win32.win32.x86_64’ is not supported.
at org.jboss.tools.vpe.editor.mozilla.MozillaEditor.wrapXulRunnerError(MozillaEditor.java:789)
at org.jboss.tools.vpe.editor.mozilla.MozillaEditor.showXulRunnerError(MozillaEditor.java:705)
at org.jboss.tools.vpe.editor.mozilla.MozillaEditor.createPartControl(MozillaEditor.java:639)
at org.jboss.tools.vpe.editor.VpeEditorPart.createVisualEditor(VpeEditorPart.java:902)
at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor.pageChange(JSPMultiPageEditor.java:231)
at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor.createPages(JSPMultiPageEditor.java:440)
at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditorPart.createPartControl(JSPMultiPageEditorPart.java:164)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:670)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1254)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1207)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1606)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:497)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:483)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:225)
at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:213)
at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:778)
at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:677)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:638)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2860)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2768)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2760)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2711)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2707)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2691)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2682)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:651)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:610)
at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:365)
at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:168)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:229)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:208)
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:274)
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:250)
at org.eclipse.jdt.internal.ui.navigator.OpenAndExpand.run(OpenAndExpand.java:49)
at org.eclipse.ui.actions.RetargetAction.run(RetargetAction.java:221)
at org.eclipse.ui.navigator.CommonNavigatorManager$3.open(CommonNavigatorManager.java:185)
at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48)
at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:845)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:843)
at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1131)
at org.eclipse.ui.navigator.CommonViewer.handleOpen(CommonViewer.java:462)
at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1235)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:264)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:258)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:298)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
at org.eclipse.equinox.launcher.Main.main(Main.java:1384)
Caused by: org.eclipse.swt.SWTError: No more handles [Could not detect registered XULRunner to use]
at org.eclipse.swt.SWT.error(SWT.java:4109)
at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:652)
at org.eclipse.swt.browser.Browser.(Browser.java:119)
at org.jboss.tools.vpe.xulrunner.browser.XulRunnerBrowser.(XulRunnerBrowser.java:107)
at org.jboss.tools.vpe.xulrunner.editor.XulRunnerEditor.(XulRunnerEditor.java:143)
at org.jboss.tools.vpe.editor.mozilla.XulRunnerEditor2.(XulRunnerEditor2.java:23)
at org.jboss.tools.vpe.editor.mozilla.MozillaEditor.createPartControl(MozillaEditor.java:602)
… 81 more

Boa noite pessoal,

estou com o mesmo problema de vocês.

Ou seja,

eu tenho um S.O x64, meu eclipse é x64, meu tomcat é x64 e o meu JRE é x64.

Porém quando eu instalo o Jboss Tool …

ele fica dando erro no Visual Editor …

e ae,

vocês conseguiram resolver esse problema ?

Estava com esse problema.

Mudei meu eclipse do galileo para o Helios e deu certo.

Basta você baixar o Helios, ir até a aba Help/Eclipse Marketplace e baixar o JBoss Tools.

:wink:

Olá Daniel,

cara tem certeza que tudo teu está em 64 bits?

Eu vou testar isso depois desse fds,

pq no fds não terei tempo para mudar meu eclipse,

mas se funcionar, vai ajudar muito viu.

Este problema já é velho, será que ninguém resolveu esse problema?

será que é tão dicifil assim?

Li neste link https://community.jboss.org/thread/164805?start=0&tstart=0

que para resolver esse problema basta instalar o JRE 32bits (maquina virtual). Além disso o pessoal explica o motivo de não funcionar esse recurso.

Atualizei para a versão 32bits, porém ao executar o eclipse é mostrada seguinte mensagem

“erro failed to load the jni shared library” acredito que seja a versão da vm 32bits. Alguém tem alguma sugestão para solucinar esse lance?

bem passaram a informação errada de depois de esta utilizando JdK 32bits, jre32bits e eclipse indigo 32bits e tentar abrir o editor é mostrado esta mensagem

  • could not opem the visual page edito
    org.eclipse.swt.SWTError: XPCOM error - 2147467259

Agora image me sofrimento tive que baixar o eclipse indigo 32bits com uma banda de 14kbps
:twisted:

Vou continuar a luta para solucionar esse problema

Olá pessoal, sou mais um que está tendo esse problema ao rodar o Eclipse Indigo no Windows 7 em um note x64:

Could not open the Visual Page Editor:
Current platform ‘win32.win32.x86_64’ is not supported.

Com isto não se consegue ter um preview quando da codificação.

Alguém sabe de alguma solução?

Senhores, meu eclipse é o Luna. na página dos desenvolvedores do jboss eles enviaram a solução pro problema…
procedimento
1 - vá em Install New Software
2 - insira o endereço http://download.jboss.org/jbosstools/updates/integration/luna/core/xulrunner/xulrunner-1.9.2_win64-2014-08-22_09-55-58-B4/
3 - Selecione todas as dependencias e clique em ok

pra mim resolveu o problema…se ajudar, tá ajudado! rsrsrs

abraços

[quote=rozalvoan]Senhores, meu eclipse é o Luna. na página dos desenvolvedores do jboss eles enviaram a solução pro problema…
procedimento
1 - vá em Install New Software
2 - insira o endereço http://download.jboss.org/jbosstools/updates/integration/luna/core/xulrunner/xulrunner-1.9.2_win64-2014-08-22_09-55-58-B4/
3 - Selecione todas as dependencias e clique em ok

pra mim resolveu o problema…se ajudar, tá ajudado! rsrsrs

abraços[/quote]

Olá pessoal, estou postantod só pra dizer que a solução acima funciona em 64bits