Newbie 2

From: Guillaume Polet (Guillaume.Pole..enali.be)
Date: Fri Dec 16 2005 - 18:41:38 EST

  • Next message: Miguel Arroz: ".wod files error"

    Hi,

    sorry to barge in like that, but I have worked on WOLips (an old version) on MacOS X for a year or so, and I would like now to work on a Windows environment (because Eclipse is a lot faster on that platform). Unfortunately I can get the HTMLEditor to work. Every time I try to open an html file (located within a WO directory), or an other wo-file (wod and woo), I get an error from Eclipse which says the following:

    Message:
    Unable to create this part due to an internal error. Reason for the failure: The editor class could not be instantiated. This usually indicates that the editor's class name was mistyped in plugin.xml.
    or
    Problems occurred when invoking code from plug-in: "org.eclipse.jface".
    Exception stacktrace (in both case above):

    java.lang.ClassNotFoundException: org.objectstyle.wolips.htmleditor.editor.StructuredTextEditorHTMLWithWebObjectTags
        at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:403)
        at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:350)
        at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass(AbstractClassLoader.java:78)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:275)
        at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227)
        at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1259)
        at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:152)
        at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:142)
        at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:129)
        at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:48)
        at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:240)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
        at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:236)
        at org.eclipse.ui.internal.registry.EditorDescriptor.createEditor(EditorDescriptor.java:252)
        at org.eclipse.ui.internal.EditorManager.createPart(EditorManager.java:837)
        at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:543)
        at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:365)
        at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)
        at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:214)
        at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2325)
        at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2258)
        at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:2250)
        at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2236)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
        at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2231)
        at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2212)
        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:251)
        at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:131)
        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:296)
        at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:869)
        at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:741)
        at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
        at org.eclipse.core.runtime.Platform.run(Platform.java:783)
        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:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
        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:226)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
        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:324)
        at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
        at org.eclipse.core.launcher.Main.run(Main.java:973)
        at org.eclipse.core.launcher.Main.main(Main.java:948)

    I have checked all the plugins installed, the jar containing the expected class is present and the jar contains that class file.
    Here is my configuration:
    * Platform: Win32 - Windows XP
    * Eclipse: WTP-all-in-one 0.0.7 (overriden with Eclipse 3.1.1 because that version comes with 3.1.0)
    * JMechanic: 0.0.6
    * GEF: 3.1
    * JEM: 1.1
    * WOLips: Nightly build 2.0.0.90 December 16 2005 (I tried installing the plugins manually and from the update site http://www.mdimension.com/~wolips/update, but both of them provokes the same error)
    * WebObjects 5.2.3

    Can anyone figure out what is my (ô surely very stupid) error I'm doing? I can't think of anything why Eclipse can not find that class.

    Otherwise, everythings works just fine, I can launch my projects and stuff without trouble, but that editor would be very useful to me since Apple has decided to no longer support WO dev tools on Windows.

    Anyway, any advice or tip is (very) welcome.

    Many thanks in advance,


    Guillaume

    Analyst-developper
    DENALI sa - www.denali.be
    Château de Clerlande - 1340 Ottignies - Belgium
    Tel +32 (0) 10 43 99 51 - Fax +32 (0) 10 43 99 52



    This archive was generated by hypermail 2.0.0 : Fri Dec 16 2005 - 18:41:39 EST