- This topic has 1 reply, 2 voices, and was last updated 13 years, 6 months ago by Scott Anderson.
-
AuthorPosts
-
Andy GormanParticipantI have recently installed me9 so that I caould develop with jave ee 6 and jsf 2.0. I am getting an error each time I try to edit an xhtml file. I have included the error log entry and my installation details below.
eclipse.buildId=unknown java.version=1.5.0_28 java.vendor=Apple Inc. BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_US Framework arguments: -keyring /Users/gorman/.eclipse_keyring -showlocation Command-line arguments: -os macosx -ws carbon -arch x86 -keyring /Users/gorman/.eclipse_keyring -showlocation Error Tue Apr 19 16:13:25 MDT 2011 Unhandled event loop exception org.eclipse.swt.SWTError: Item not added at org.eclipse.swt.SWT.error(SWT.java:4109) at org.eclipse.swt.SWT.error(SWT.java:3998) at org.eclipse.swt.SWT.error(SWT.java:3969) at org.eclipse.swt.widgets.Widget.error(Widget.java:712) at org.eclipse.swt.widgets.Menu.createItem(Menu.java:323) at org.eclipse.swt.widgets.MenuItem.<init>(MenuItem.java:123) at org.eclipse.jface.action.ActionContributionItem.fill(ActionContributionItem.java:269) at org.eclipse.jface.action.SubContributionItem.fill(SubContributionItem.java:68) at org.eclipse.jface.action.MenuManager.doItemFill(MenuManager.java:737) at org.eclipse.jface.action.MenuManager.update(MenuManager.java:818) at org.eclipse.jface.action.MenuManager.update(MenuManager.java:678) at org.eclipse.jface.action.SubMenuManager.update(SubMenuManager.java:364) at org.eclipse.ui.editors.text.TextEditorActionContributor.doSetActiveEditor(TextEditorActionContributor.java:118) at org.eclipse.ui.editors.text.TextEditorActionContributor.setActiveEditor(TextEditorActionContributor.java:144) at org.eclipse.wst.sse.ui.internal.actions.ActionContributor.setActiveEditor(ActionContributor.java:319) at org.eclipse.wst.xml.ui.internal.actions.ActionContributorXML.setActiveEditor(ActionContributorXML.java:171) at org.eclipse.jst.pagedesigner.editors.actions.PageDesignerActionBarContributor2.activateSourcePage(PageDesignerActionBarContributor2.java:304) at org.eclipse.jst.pagedesigner.editors.actions.PageDesignerActionBarContributor2.setInnerActivePage(PageDesignerActionBarContributor2.java:215) at org.eclipse.jst.pagedesigner.ui.common.sash.NestedEditorActionBarContributor.setActivePage(NestedEditorActionBarContributor.java:34) at com.genuitec.eclipse.jsf.designer.editors.CustomSashEditor.activeEditorChanged(CustomSashEditor.java:470) at com.genuitec.eclipse.jsf.designer.editors.CustomSashEditor$1.handleEvent(CustomSashEditor.java:106) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1669) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1693) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1674) at org.eclipse.swt.widgets.Shell.setActiveControl(Shell.java:1575) at org.eclipse.swt.widgets.Control.kEventMouseDown(Control.java:2184) at org.eclipse.swt.widgets.Composite.kEventMouseDown(Composite.java:590) at org.eclipse.swt.widgets.Widget.mouseProc(Widget.java:1387) at org.eclipse.swt.widgets.Display.mouseProc(Display.java:3096) at org.eclipse.swt.internal.carbon.OS.SendEventToEventTarget(Native Method) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3219) 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(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574) at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
Installation Details
*** Date: Tuesday, April 19, 2011 4:10:33 PM MDT ** System properties: OS=MacOSX OS version=10.5.8 Java version=1.5.0_28 *** MyEclipse details: MyEclipse Enterprise Workbench Version: 9.0 Build id: 9.0-20110318 *** Eclipse details: MyEclipse Enterprise Workbench Version: 9.0 Build id: 9.0-20110318 Eclipse startup command=-os macosx -ws carbon -arch x86 -showsplash -launcher /Applications/MyEclipse/MyEclipse 9.app/Contents/Profile/myeclipse.app/Contents/MacOS/myeclipse -name Myeclipse --launcher.library /Applications/MyEclipse/MyEclipse 9.app/Contents/Profile/myeclipse.app/Contents/MacOS//../../../../../../../../Library/Genuitec/Common/plugins/org.eclipse.equinox.launcher.carbon.macosx_1.1.1.R36x_v20100810/eclipse_1309.so -startup /Applications/MyEclipse/MyEclipse 9.app/Contents/Profile/myeclipse.app/Contents/MacOS/../../../../../../../../Library/Genuitec/Common/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar -install /Applications/MyEclipse/MyEclipse 9.app/Contents/Profile -configuration /Applications/MyEclipse/MyEclipse 9.app/Contents/Profile/configuration -keyring /Users/gorman/.eclipse_keyring -showlocation -vm /System/Library/Frameworks/JavaVM.framework
Scott AndersonParticipantagorman,
I’m attempting to replicate this issue by doing the following:
1) On a MacBook Pro I’ve installed MyEclipse 9
2) Created a new web project at the Java EE 6 level and added JSF capabilities to it.
3) Created a file called list.xhtml in the WebRoot directory
4) Opened list.xhtml and added the following content:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"> <head> <title><ui:insert name="title">Default title</ui:insert></title> <link rel="stylesheet" type="text/css" href="./css/main.css"/> </head> <body> <div id="header"> <ui:insert name="header"> <ui:include src="header.xhtml"/> </ui:insert> </div> <div id="left"> <ui:insert name="navigation" > <ui:include src="navigation.xhtml"/> </ui:insert> </div> <div id="center"> <br /> <span class="titleText"> <ui:insert name="title" /> </span> <hr /> <ui:insert name="content"> <div> <ui:include src="content.xhtml"/> </div> </ui:insert> </div> <div id="right"> <ui:insert name="news"> <ui:include src="news.xhtml"/> </ui:insert> </div> <div id="footer"> <ui:insert name="footer"> <ui:include src="footer.xhtml"/> </ui:insert> </div> </body> </html>
5) Close list.xhtml
6) Opened list.xhtml with each of the following editors by right-clicking and selecting “Open with…”
a) MyEclipse HTML Editor
b) MyEclipse Visual HTML Designer
c) MyEclipse Visual JSF Designer
d) MyEclipse Visual XHTML Designer
7) Noted that no errors were observed.Can you please try these steps locally and see if you can reproduce the issue? If you cannot, what *exact* steps will reproduce it?
-
AuthorPosts