facebook

[Closed]Unable to edit java class with visual editor

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #246738 Reply

    garand
    Member

    Eclipse version : Version: 3.1.0 Build id: I20050513-1415
    MyEclipse version : Version: 4.1.0 Build id: 20060122-4.1-GA

    When I try to open a java source file with default editor (Visual editor), the editor page remains blank and the log file contains :

    !ENTRY org.eclipse.jface 4 2 2006-02-14 15:02:19.921
    !MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.jface”.
    !STACK 0
    java.lang.NoClassDefFoundError
    at org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEditorPart.init(JavaVisualEditorPart.java:229)
    at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:739)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:564)
    at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:357)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:559)
    at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:214)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2256)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2185)
    at org.eclipse.ui.internal.WorkbenchPage.access$8(WorkbenchPage.java:2177)
    at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2163)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2158)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2140)
    at org.eclipse.ui.ide.IDE.openEditor(IDE.java:371)
    at org.eclipse.ui.ide.IDE.openEditor(IDE.java:334)
    at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:248)
    at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:133)
    at org.eclipse.jdt.internal.ui.actions.OpenActionUtil.open(OpenActionUtil.java:49)
    at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:169)
    at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:153)
    at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:222)
    at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:198)
    at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:299)
    at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:806)
    at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:741)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1029)
    at org.eclipse.core.runtime.Platform.run(Platform.java:775)
    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
    at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:739)
    at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:968)
    at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1067)
    at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:243)
    at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:238)
    at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:277)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2921)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2554)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1601)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1565)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:315)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:230)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:371)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:160)
    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.core.launcher.Main.invokeFramework(Main.java:330)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:274)
    at org.eclipse.core.launcher.Main.run(Main.java:977)
    at org.eclipse.core.launcher.Main.main(Main.java:952)

    #246747 Reply

    garand
    Member

    Finally, I installed from scratch Eclipse and then MyEclipse and it is working… So don’t care.
    Thanks,
    Vincent

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: [Closed]Unable to edit java class with visual editor

You must be logged in to post in the forum log in