- This topic has 6 replies, 5 voices, and was last updated 18 years, 3 months ago by Stephan Heffner.
-
AuthorPosts
-
lukebMemberHi,
I have just installed MyEclipse 5.0GA on my FC5 and Eclipse 3.2 (I’ve already tried to launch ecipse with option -clean), but the JSP Visual Designer seems not to work.
I’va already tried to use the workaraund offered by the guide but nothing.Without the workaround I get a dialog window with this error:
“The design views are unavailable because they conflict with the internal web browser. Please read the technical notice for more information and details on how to disable the internal web browser to make the requested feature available”
The file is opened in the visual editor but I cannot see any of the design tools (I can only switch between Source and Mozilla Preview).If I try the workaround I got this error:
“An error has occurred. See error log for more details”
And the editor show the name of the jsp file but inside there is nothing but this message:
“Unable to create this part due to an internal error. Reason for the failure: Widget is disposed”
And the details:
org.eclipse.swt.SWTException: Widget is disposed
at org.eclipse.swt.SWT.error(SWT.java:3374)
at org.eclipse.swt.SWT.error(SWT.java:3297)
at org.eclipse.swt.SWT.error(SWT.java:3268)
at org.eclipse.swt.widgets.Widget.error(Widget.java:434)
at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:372)
at org.eclipse.swt.widgets.Control.setLayoutData(Control.java:940)
at com.genuitec.eclipse.webdesigner3.design.DesignEditSystem.createDesignView(DesignEditSystem.java:72)
at com.genuitec.eclipse.webdesigner3.WebDesigner3.createDesignView(WebDesigner3.java:73)
at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.createDesignView(WebDesignerMultiPageEditor.java:392)
at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.createDesignPage(WebDesignerMultiPageEditor.java:364)
at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.createPages(WebDesignerMultiPageEditor.java:286)
at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:276)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:596)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:246)
at org.eclipse.ui.internal.EditorPane.requestActivation(EditorPane.java:89)
at org.eclipse.ui.internal.presentations.PresentablePart.setFocus(PresentablePart.java:152)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:92)
at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267)
at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:272)
at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.handleMouseDown(AbstractTabFolder.java:342)
at org.eclipse.ui.internal.presentations.util.AbstractTabFolder$3.mouseDown(AbstractTabFolder.java:79)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:133)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3164)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2840)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)How can I correct thi problem?
THanks
LuKe
GregMemberLuke,
Clear your error log, (Window > Show View > PDE Runtime > Error log), then clear it using the clear action. And then restart MyEclipse with the workaround for enabling the Visual Deisgner (export MOZILLA_FIVE_HOME=””). Then try to open a HTML or JSP file in the Visual Designer. When it fails, can you copy the contents of your error log, (<workspace_dir>/.meatadata/.log) and post them here so we can try to determine what may be wrong?
Thanks
lukebMember@support-greg wrote:
Luke,
Clear your error log, (Window > Show View > PDE Runtime > Error log), then clear it using the clear action. And then restart MyEclipse with the workaround for enabling the Visual Deisgner (export MOZILLA_FIVE_HOME=””). Then try to open a HTML or JSP file in the Visual Designer. When it fails, can you copy the contents of your error log, (<workspace_dir>/.meatadata/.log) and post them here so we can try to determine what may be wrong?
Thanks
I’ve followed your instructions. Here is the log:
!SESSION 2006-08-14 11:11:04.391 ———————————————–
eclipse.buildId=M20060629-1905
java.version=1.5.0_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86!ENTRY org.eclipse.ui.browser 2 0 2006-08-14 11:11:31.011
!MESSAGE Internal browser is not available: No more handles (java.lang.UnsatisfiedLinkError: /opt/bin/sviluppo/eclipseIDE/eclipse3.2/configuration/org.eclipse.osgi/bundles/450/1/.cp/libswt-mozilla-gtk-3232.so: libxpcom.so: cannot open shared object file: No such file or directory)!ENTRY org.eclipse.jface 4 2 2006-08-14 11:11:35.841
!MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.jface”.
!STACK 0
java.lang.UnsatisfiedLinkError: /opt/bin/sviluppo/myEclipse/bin/ME-5.0GA_E3.2/eclipse/plugins/com.genuitec.javascript.debug.mozilla_5.0.0/XPCOM/os/linux/mozilla/libjavaxpcomglue.so: libstdc++.so.5: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647)
at java.lang.Runtime.load0(Runtime.java:769)
at java.lang.System.load(System.java:967)
at org.mozilla.xpcom.internal.JavaXPCOMMethods.registerJavaXPCOMMethods(JavaXPCOMMethods.java:50)
at org.mozilla.xpcom.internal.GREImpl.initEmbedding(GREImpl.java:47)
at org.mozilla.xpcom.Mozilla.initEmbedding(Mozilla.java:604)
at com.jniwrapper.xpcom.XpcFunctions.initializeImpl(XpcFunctions.java:73)
at com.jniwrapper.xpcom.XpcFunctions.access$0(XpcFunctions.java:57)
at com.jniwrapper.xpcom.XpcFunctions$1.run(XpcFunctions.java:52)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:152)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:28)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:3720)
at com.jniwrapper.xpcom.impl.swt.SwtMessageLoop.doInvokeAndWait(SwtMessageLoop.java:42)
at com.jniwrapper.xpcom.XpcMessageLoop.invokeAndWait(XpcMessageLoop.java:64)
at com.jniwrapper.xpcom.XpcFunctions.initialize(XpcFunctions.java:48)
at com.genuitec.javascript.debug.mozilla.ImprovedMozillaBrowser.createMozillaInstance(ImprovedMozillaBrowser.java:53)
at org.eclipse.swt.browser.AbstractMozillaBrowser.<init>(AbstractMozillaBrowser.java:177)
at org.eclipse.swt.browser.MozillaBrowser.<init>(MozillaBrowser.java:12)
at com.genuitec.javascript.debug.mozilla.ImprovedMozillaBrowser.<init>(ImprovedMozillaBrowser.java:36)
at com.genuitec.eclipse.webdesigner3.design.MozillaEditor.<init>(MozillaEditor.java:129)
at com.genuitec.eclipse.webdesigner3.design.MozillaEditor.<init>(MozillaEditor.java:125)
at com.genuitec.eclipse.webdesigner3.design.DesignEditSystem.createDesignView(DesignEditSystem.java:71)
at com.genuitec.eclipse.webdesigner3.WebDesigner3.createDesignView(WebDesigner3.java:73)
at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.createDesignView(WebDesignerMultiPageEditor.java:392)
at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.createDesignPage(WebDesignerMultiPageEditor.java:364)
at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.createPages(WebDesignerMultiPageEditor.java:286)
at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:276)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:596)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:290)
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:140)
at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268)
at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:394)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1144)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1097)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1311)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:455)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:102)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:441)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:111)
at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:60)
at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:217)
at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:207)
at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:819)
at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:718)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:679)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2586)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2521)
at org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPage.java:2513)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2498)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2493)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2478)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:388)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:350)
at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:275)
at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:139)
at org.eclipse.jdt.internal.ui.actions.OpenActionUtil.open(OpenActionUtil.java:49)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:190)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:174)
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:267)
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:243)
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:306)
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:651)
at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:817)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:843)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149)
at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:815)
at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1069)
at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1168)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:249)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:243)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:283)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3164)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2840)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
support-snjezaMemberLuke,
Fedora Core 5 ships GCC 4.1 compiler.
JSP Visual Designer was compiled with GCC 3.2 because of compatibility with older distributions.
Please, try to add compatibility libraries with :
yum install compat-libstdc++-33 compat-libstdc++-296Regards,
Snjeza
lukebMember@support-snjeza wrote:
Luke,
Fedora Core 5 ships GCC 4.1 compiler.
JSP Visual Designer was compiled with GCC 3.2 because of compatibility with older distributions.
Please, try to add compatibility libraries with :
yum install compat-libstdc++-33 compat-libstdc++-296Regards,
SnjezaThanks Snjeza,
that was the problem: the compatibility libraries.
Regards
LuKe
lutz.mueller0810Memberi am having the same issue here on kubuntu dapper / amd64. i have libstdc++5 as well as libstdc++6 installed, also gcc3 and gcc4.
any ideas?
Stephan HeffnerMemberSame problem using SUSE 10.1 64bit using a fresh Eclipse 3.2 and ME 5.0.1 installation.
Out of the box, there’s no gcc 3 compatibility package available. Only 4.1.0 is included.
-
AuthorPosts