- This topic has 5 replies, 3 voices, and was last updated 16 years, 1 month ago by Sieg du Preez.
Viewing 6 posts - 1 through 6 (of 6 total)
-
AuthorPosts
-
Sieg du PreezMemberWhen opening an XHTML file I get the exception below. It works when opening it the second time.
MyEclipse Enterprise Workbench Version: 7.0 Milestone-2 Build id: 7.0-M2-20080915 eclipse.buildId=I20080617-2000 java.version=1.6.0_06 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=nl_NL Command-line arguments: -os win32 -ws win32 -arch x86 -clean -clean Error Mon Oct 13 00:27:05 CEST 2008 Unable to create editor ID com.genuitec.eclipse.jsf.designer.xhtmldefaulteditor: An unexpected exception was thrown. java.lang.NullPointerException at org.eclipse.jst.pagedesigner.editors.actions.DesignPageActionContributor.setActiveEditor(DesignPageActionContributor.java:199) at org.eclipse.jst.pagedesigner.editors.actions.PageDesignerActionBarContributor2.deactivateSourceAndDesignPage(PageDesignerActionBarContributor2.java:239) at org.eclipse.jst.pagedesigner.editors.actions.PageDesignerActionBarContributor2.setInnerActivePage(PageDesignerActionBarContributor2.java:219) at org.eclipse.jst.pagedesigner.ui.common.sash.NestedEditorActionBarContributor.setActivePage(NestedEditorActionBarContributor.java:34) at org.eclipse.ui.part.MultiPageEditorPart.pageChange(MultiPageEditorPart.java:748) at org.eclipse.wst.common.ui.provisional.editors.PostSelectionMultiPageEditorPart.pageChange(PostSelectionMultiPageEditorPart.java:36) at com.genuitec.eclipse.jsf.designer.editors.JSFDesignerEditor.pageChange(JSFDesignerEditor.java:888) at org.eclipse.ui.part.MultiPageEditorPart.setActivePage(MultiPageEditorPart.java:973) at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:314) at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661) at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:428) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594) at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:266) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2820) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2729) at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2721) at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2673) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2652) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2643) at org.eclipse.ui.ide.IDE.openEditor(IDE.java:646) at org.eclipse.ui.ide.IDE.openEditor(IDE.java:605) at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:318) at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:160) at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:228) at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:207) 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.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:363) at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$5.open(PackageExplorerPart.java:603) at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:820) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.runtime.Platform.run(Platform.java:880) at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175) at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:818) at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1079) at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1183) at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:263) at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:257) at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:297) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) 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:386) 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:549) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
Loyal WaterMemberCan you paste a sample file here for me so that I can try reproducing this issue.
Sieg du PreezMemberNipun,
Not sure if a sample is going to help, because I don’t think it is something related to the content, but here goes…
<ui:include xmlns:ui="http://java.sun.com/jsf/facelets" src="/WEB-INF/views/addMobile.xhtml" />
This is the most simplest example I have. Hope it helps.
Regards,
Sieg
Loyal WaterMemberGuys,
I was unable to reproduce this issue at my end. Can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me so that I can get this tested on the same configuration.
Sieg du PreezMemberHi Nipun,
My installation details are:
*** Date: dinsdag 14 oktober 2008 21:02:19 uur CEST ** System properties: OS=WindowsVista OS version=6.0.0 Java version=1.6.0_06 *** MyEclipse details: MyEclipse Enterprise Workbench Version: 7.0 Milestone-2 Build id: 7.0-M2-20080915 *** Eclipse details: MyEclipse Enterprise Workbench Version: 7.0 Milestone-2 Build id: 7.0-M2-20080915 Eclipse Project SDK Version: 3.4.1.R34x_v20080827-7O7S78C2J40sK2o_ALcK8tLN_yZSJeg0P-3EtL4Ra90kv Build id: M20080911-1700 Eclipse Plug-in Development Environment Version: 3.4.1.r341_v20080731-7T7U0E9mlRIuGUYviF_VP Build id: I20080617-2000 Eclipse Platform Version: 3.4.1.r341_v20080731-9I96EiDElYevwz-p1bP5z-NlAaP7vtX6Utotqsu Build id: M20080911-1700 Eclipse Graphical Editing Framework GEF Version: 3.4.0.v20080115-677-8082A5696H274A Build id: 200806091334 Eclipse RCP Version: 3.4.100.r341_v20080814-989JESIEdAciFYfkZZsBfSwQ2341 Build id: I20080617-2000 Eclipse Java Development Tools Version: 3.4.1.r341_v20080709-0800-7o7tEAfEF_U5qyUgrb2HAp539P97 Build id: M20080709-0800 Eclipse startup command=-os win32 -ws win32 -arch x86 -showsplash -launcher C:\Users\Sieg\AppData\Local\Pulse\Software\MyEclipse 7.0 M2\eclipse.exe -name Eclipse --launcher.library C:\Users\Sieg\AppData\Local\Pulse\Software\MyEclipse 7.0 M2\../../../../Roaming\Pulse\Common\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll -startup C:\Users\Sieg\AppData\Local\Pulse\Software\MyEclipse 7.0 M2\../../../../Roaming\Pulse\Common\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar -clean -configuration C:\Users\Sieg\AppData\Local\Pulse\Software\MyEclipse 7.0 M2\configuration -clean -vm C:\Users\Sieg\AppData\Roaming\Pulse\Common\binary\com.sun.java.jre.win32.x86_1.6.0.006\bin\client\jvm.dll
Thanks,
Sieg
Sieg du PreezMemberBy the way, I also get an exception when the editor gains focus after closing another editor.
java.lang.NullPointerException at org.eclipse.jst.pagedesigner.editors.actions.DesignPageActionContributor.setActiveEditor(DesignPageActionContributor.java:199) at org.eclipse.jst.pagedesigner.editors.actions.PageDesignerActionBarContributor2.activateSourcePage(PageDesignerActionBarContributor2.java:290) at org.eclipse.jst.pagedesigner.editors.actions.PageDesignerActionBarContributor2.setInnerActivePage(PageDesignerActionBarContributor2.java:212) at org.eclipse.jst.pagedesigner.ui.common.sash.NestedEditorActionBarContributor.setActivePage(NestedEditorActionBarContributor.java:34) at com.genuitec.eclipse.jsf.designer.editors.CustomSashEditor.activeEditorChanged(CustomSashEditor.java:427) at com.genuitec.eclipse.jsf.designer.editors.CustomSashEditor$1.handleEvent(CustomSashEditor.java:100) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1008) at org.eclipse.swt.widgets.Shell.setActiveControl(Shell.java:1353) at org.eclipse.swt.widgets.Control.sendFocusEvent(Control.java:2443) at org.eclipse.swt.widgets.Widget.wmSetFocus(Widget.java:2266) at org.eclipse.swt.widgets.Control.WM_SETFOCUS(Control.java:4414) at org.eclipse.swt.widgets.Canvas.WM_SETFOCUS(Canvas.java:443) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3855) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:337) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528) at org.eclipse.swt.internal.win32.OS.SetFocus(Native Method) at org.eclipse.swt.widgets.Control.forceFocus(Control.java:974) at org.eclipse.swt.widgets.Control.setFocus(Control.java:2811) at org.eclipse.swt.widgets.Composite.setFocus(Composite.java:927) at org.eclipse.ui.texteditor.AbstractTextEditor.setFocus(AbstractTextEditor.java:5912) at com.genuitec.eclipse.jsf.designer.editors.CustomSashEditor.setFocus(CustomSashEditor.java:521) at com.genuitec.eclipse.jsf.designer.editors.CustomSashEditor.setFocus(CustomSashEditor.java:496) at org.eclipse.ui.part.MultiPageEditorPart.setFocus(MultiPageEditorPart.java:1016) at org.eclipse.ui.part.MultiPageEditorPart.setFocus(MultiPageEditorPart.java:998) at org.eclipse.ui.internal.PartPane.setFocus(PartPane.java:325) at org.eclipse.ui.internal.EditorPane.setFocus(EditorPane.java:127) at org.eclipse.ui.internal.WorkbenchPage$3.run(WorkbenchPage.java:622) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.runtime.Platform.run(Platform.java:880) at org.eclipse.ui.internal.WorkbenchPage.activatePart(WorkbenchPage.java:617) at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3487) at org.eclipse.ui.internal.WorkbenchPage.activate(WorkbenchPage.java:610) at org.eclipse.ui.internal.WorkbenchPage.makeActive(WorkbenchPage.java:1228) at org.eclipse.ui.internal.WorkbenchPage.updateActivePart(WorkbenchPage.java:1208) at org.eclipse.ui.internal.WorkbenchPage.handleDeferredEvents(WorkbenchPage.java:1384) at org.eclipse.ui.internal.WorkbenchPage.deferUpdates(WorkbenchPage.java:1373) at org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1347) at org.eclipse.ui.internal.WorkbenchPage.closeEditor(WorkbenchPage.java:1402) at org.eclipse.ui.internal.EditorPane.doHide(EditorPane.java:61) at org.eclipse.ui.internal.PartStack.close(PartStack.java:543) at org.eclipse.ui.internal.EditorStack.close(EditorStack.java:206) at org.eclipse.ui.internal.PartStack$1.close(PartStack.java:122) at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:83) at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267) at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:276) at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1(DefaultTabFolder.java:1) at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$1.closeButtonPressed(DefaultTabFolder.java:70) at org.eclipse.ui.internal.presentations.PaneFolder.notifyCloseListeners(PaneFolder.java:626) at org.eclipse.ui.internal.presentations.PaneFolder$3.close(PaneFolder.java:206) at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2171) at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:324) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) 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:386) 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:549) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
-
AuthorPosts
Viewing 6 posts - 1 through 6 (of 6 total)