Page 1 of 1

Eclipse Plug-in on OSX no worky :(

Posted: Mon Jun 09, 2003 9:46 pm
by c6
I followed the instructions but when i double-click an xml file i get:

Cannot open default editor file.xml. Unable to instantiate editor: com.oxygenxml.editor.editors.XMLEditor java.lang.UnsupportedClassVersionError: com/oxygenxml/editor/EditorPlugin (Unsupported major.minor version 48.0)

Posted: Tue Jun 10, 2003 12:35 am
by george
Hi,

This error appears when Eclipse is run with Java 1.3 because oXygen is compiled with Java 1.4. If you look at the http://www.oxygenxml.com/download.html#eclipseBeta you will see that there is a note there:
You must run Eclipse 2.1 using with Java virtual machine 1.4 or later.
You can try running Eclipse with Java 1.4.

On the other hand Eclipse status on Mac OS X is "experimental"; we for instance were not able to run it. More, there are features in the oXygen standalone version not covered by the Eclipse plugin therefore the main priority is to make these features available. After this we will try to see if there is something we can do for the Eclipse on Mac OS X.

Best Regards,
George

Posted: Tue Jun 10, 2003 10:41 am
by george
More updates...

We compiled oXygen with 1.3 and tried it with Eclipse 2.1 on Mac OS X buit got the following error:

Code: Select all


!SESSION Jun 10, 2003 09:58:46.235 ---------------------------------------------
java.version=1.3.1
java.vendor=Apple Computer, Inc.
BootLoader constants: OS=macosx, ARCH=ppc, WS=carbon, NL=en_US
Command-line arguments: -noupdate -consoleLog -showlocation -os macosx -ws carbon -install file:/Users/test/Desktop/eclipse/
!ENTRY org.eclipse.jface 4 2 Jun 10, 2003 09:58:46.238
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.NullPointerException
at org.eclipse.jface.action.MenuManager.update(MenuManager.java:509)
at org.eclipse.jface.action.MenuManager.updateAll(MenuManager.java:594)
at org.eclipse.ui.internal.WorkbenchWindow.updateActionBars(WorkbenchWindow.java:1717)
at org.eclipse.ui.internal.WorkbenchWindow.updateActionSets(WorkbenchWindow.java:1735)
at org.eclipse.ui.internal.WorkbenchPage$ActionSwitcher.updateActionSets(WorkbenchPage.java:349)
at org.eclipse.ui.internal.WorkbenchPage$ActionSwitcher.updateActivePart(WorkbenchPage.java:212)
at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:2501)
at org.eclipse.ui.internal.WorkbenchPage.activate(WorkbenchPage.java:408)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2071)
at org.eclipse.ui.internal.WorkbenchPage.access$6(WorkbenchPage.java:2004)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:1991)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:1986)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:1887)
at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:129)
at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:102)
at org.eclipse.jdt.internal.ui.actions.OpenActionUtil.open(OpenActionUtil.java:47)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:158)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:147)
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:191)
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:169)
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:324)
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$3.open(PackageExplorerPart.java:323)
at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:397)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:889)
at org.eclipse.core.runtime.Platform.run(Platform.java:413)
at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:395)
at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:605)
at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:694)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:209)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:204)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:233)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:989)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1911)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1623)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:845)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at java.lang.reflect.Method.invoke(Native Method)
at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
at org.eclipse.core.launcher.Main.run(Main.java:747)
at org.eclipse.core.launcher.Main.main(Main.java:583)
at java.lang.reflect.Method.invoke(Native Method)
at apple.launcher.LaunchRunner.run(LaunchRunner.java:88)
at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
As you see the error is in org.eclipse.jface.
We tried disabling the action bar contributor but got the same result.

Best Regards,
George