Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » "org.eclipse.jface" problems. Very Urgent!!!
"org.eclipse.jface" problems. Very Urgent!!! [message #186343] Tue, 05 July 2005 09:55 Go to next message
Eclipse UserFriend
Originally posted by: jdelgad.correo.ugr.es

Hi all,

I have developed a GEF based application as an Eclipse plugin. It works
perfectly when I run it as follow: Run -> Run As... -> Eclipse Application.

Now, I have created the plugin as follow: File -> Export... ->
Deployable plug-ins and fragments and I have obtained a directory
structure with the plugin. This plugin includes a .jar file called
JCLEC.jar which has all the classes I have written in my plugin. When I
include the plugin into the "plugins" directory of Eclipse, it is
recognized.

When I create a new file for use my plugin and i try to open it I get
the following error:


!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.jface".
!STACK 0
java.lang.NoClassDefFoundError
at org.ayrna.jclec.graphical.JCLECEditor.init(JCLECEditor.java: 457)
at
org.eclipse.ui.internal.EditorManager.createSite(EditorManag er.java:822)
at
org.eclipse.ui.internal.EditorManager.openInternalEditor(Edi torManager.java:901)
at
org.eclipse.ui.internal.EditorManager.openEditorFromDescript or(EditorManager.java:654)
at
org.eclipse.ui.internal.EditorManager.openEditor(EditorManag er.java:640)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.java:2312)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2244)
at org.eclipse.ui.internal.WorkbenchPage.access$8(WorkbenchPage .java:2236)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.j ava:2222)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2217)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:299)
at
org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInE ditor(EditorUtility.java:231)
at
org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInE ditor(EditorUtility.java:124)
at
org.eclipse.jdt.internal.ui.actions.OpenActionUtil.open(Open ActionUtil.java:49)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:16 4)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:15 0)
at
org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchR un(SelectionDispatchAction.java:212)
at
org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(Selec tionDispatchAction.java:188)
at
org.eclipse.jdt.internal.ui.packageview.PackageExplorerActio nGroup.handleOpen(PackageExplorerActionGroup.java:300)
at
org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$ 4.open(PackageExplorerPart.java:798)
at
org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredV iewer.java:659)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1015)
at org.eclipse.core.runtime.Platform.run(Platform.java:757)
at
org.eclipse.jface.viewers.StructuredViewer.fireOpen(Structur edViewer.java:657)
at
org.eclipse.jface.viewers.StructuredViewer.handleOpen(Struct uredViewer.java:876)
at
org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(Stru cturedViewer.java:975)
at
org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrate gy.java:243)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.ja va:238)
at
org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrate gy.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.ja va:2908)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2541)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1612)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1578)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:293)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:144)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:102)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:228)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:333)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:150)
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:268 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:260)
at org.eclipse.core.launcher.Main.run(Main.java:887)
at org.eclipse.core.launcher.Main.main(Main.java:871)




The class that isn't found is "JclecDiagram" which is included y the
JCLEC.jar file of my plugin.

What can I do? Please help as soon as posible. This application is the
project for getting my computer engineer degree and must be finished on
Friday.

Thank you very much.

--Jose.
Re: "org.eclipse.jface" problems. Very Urgent!!! [message #186835 is a reply to message #186343] Thu, 07 July 2005 05:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.unknown.com

Didn't you have a problem like this before? This is probably because of
some trivial error somewhere. Anyway, you're not asking for help on the
right forum.

"Jose" <jdelgad@correo.ugr.es> wrote in message
news:48de4d8929f9fac72784a01403f47a24$1@www.eclipse.org...
> Hi all,
>
> I have developed a GEF based application as an Eclipse plugin. It works
> perfectly when I run it as follow: Run -> Run As... -> Eclipse
Application.
>
> Now, I have created the plugin as follow: File -> Export... ->
> Deployable plug-ins and fragments and I have obtained a directory
> structure with the plugin. This plugin includes a .jar file called
> JCLEC.jar which has all the classes I have written in my plugin. When I
> include the plugin into the "plugins" directory of Eclipse, it is
> recognized.
>
> When I create a new file for use my plugin and i try to open it I get
> the following error:
>
>
> !MESSAGE Problems occurred when invoking code from plug-in:
> "org.eclipse.jface".
> !STACK 0
> java.lang.NoClassDefFoundError
> at org.ayrna.jclec.graphical.JCLECEditor.init(JCLECEditor.java: 457)
> at
> org.eclipse.ui.internal.EditorManager.createSite(EditorManag er.java:822)
> at
>
org.eclipse.ui.internal.EditorManager.openInternalEditor(Edi torManager.java:
901)
> at
>
org.eclipse.ui.internal.EditorManager.openEditorFromDescript or(EditorManager
..java:654)
> at
> org.eclipse.ui.internal.EditorManager.openEditor(EditorManag er.java:640)
> at
>
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.ja
va:2312)
> at
>
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2244
)
> at org.eclipse.ui.internal.WorkbenchPage.access$8(WorkbenchPage .java:2236)
> at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.j ava:2222)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
> at
> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2217)
> at org.eclipse.ui.ide.IDE.openEditor(IDE.java:299)
> at
>
org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInE ditor(EditorUtil
ity.java:231)
> at
>
org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInE ditor(EditorUtil
ity.java:124)
> at
>
org.eclipse.jdt.internal.ui.actions.OpenActionUtil.open(Open ActionUtil.java:
49)
> at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:16 4)
> at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:15 0)
> at
>
org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchR un(SelectionDisp
atchAction.java:212)
> at
>
org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(Selec tionDispatchActi
on.java:188)
> at
>
org.eclipse.jdt.internal.ui.packageview.PackageExplorerActio nGroup.handleOpe
n(PackageExplorerActionGroup.java:300)
> at
>
org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$ 4.open(PackageEx
plorerPart.java:798)
> at
>
org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredV iewer.java:659)
> at
>
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java
:1015)
> at org.eclipse.core.runtime.Platform.run(Platform.java:757)
> at
>
org.eclipse.jface.viewers.StructuredViewer.fireOpen(Structur edViewer.java:65
7)
> at
>
org.eclipse.jface.viewers.StructuredViewer.handleOpen(Struct uredViewer.java:
876)
> at
>
org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(Stru cturedViewer.jav
a:975)
> at
> org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrate gy.java:243)
> at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.ja va:238)
> at
> org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrate gy.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.ja va:2908)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2541)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1612)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1578)
> at
>
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:293)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:144)
> at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:102)
> at
>
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.
java:228)
> at
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:333)
> at
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:150)
> 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:268 )
> at org.eclipse.core.launcher.Main.basicRun(Main.java:260)
> at org.eclipse.core.launcher.Main.run(Main.java:887)
> at org.eclipse.core.launcher.Main.main(Main.java:871)
>
>
>
>
> The class that isn't found is "JclecDiagram" which is included y the
> JCLEC.jar file of my plugin.
>
> What can I do? Please help as soon as posible. This application is the
> project for getting my computer engineer degree and must be finished on
> Friday.
>
> Thank you very much.
>
> --Jose.
>
>
Re: "org.eclipse.jface" problems. Very Urgent!!! (PROBLEM SOLVED) [message #186887 is a reply to message #186835] Thu, 07 July 2005 09:45 Go to previous message
Eclipse UserFriend
Originally posted by: jdelgad.correo.ugr.es

The problem has been solved. It was that I hadn`t included some needed
librarys.
Previous Topic:Project Source Files Path!!!
Next Topic:How to contributa a console view
Goto Forum:
  


Current Time: Thu Dec 12 17:24:42 GMT 2024

Powered by FUDForum. Page generated in 0.03692 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top