Jface Action problem in Eclipse 3.1 [message #102838] |
Mon, 19 September 2005 04:54 |
Eclipse User |
|
|
|
Originally posted by: klaus.blass.axisdata.net
Hi,
I'm trying out a Jface example from
http://www-128.ibm.com/developerworks/java/library/os-ecgui3 /
"Using the Eclipse GUI outside the Eclipse Workbench, Part 3: Adding
actions, menus, and toolbars"
Adrian Emmenis (van@vanemmenis.com)
which seems to be one of the authoritative Jface tutorials. Trying the
simple explorer_12 example I get the error below when invoking an action
(even just a dummy action that does nothing). Same happens in my own code.
I don't have clue what's going wrong here! Anyone else had this problem?
Thanks,
Klaus
java.lang.NoClassDefFoundError: org/osgi/framework/InvalidSyntaxException
at org.eclipse.core.runtime.Platform.isRunning(Platform.java:12 28)
at org.eclipse.jface.util.Policy.getDebugOption(Policy.java:100 )
at org.eclipse.jface.util.Policy.<clinit>(Policy.java:51)
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:909)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:866)
at
org.eclipse.jface.action.ActionContributionItem$7.handleEven t(ActionContributionItem.java:785)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2772)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2431)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:668 )
at org.eclipse.jface.window.Window.open(Window.java:648)
at test.JFDemo.main(JFDemo.java:28)
|
|
|
Powered by
FUDForum. Page generated in 0.06277 seconds