Skip to main content



      Home
Home » Newcomers » Newcomers » remove old plugin
remove old plugin [message #158615] Wed, 28 June 2006 04:51 Go to next message
Eclipse UserFriend
Dear all,

my problem is related to two plugins and eclipse, so it's hard for me to
guess the right starting point for my question. But it seems most likely
related to the task of removing an old plugin.

The situation:

I want to autmatically decompile .class files without sources. First I
gave jode a try and installed jode 1.1.1 and the Jode Eclipse Plugin,
newest version. This did not satisfy me (sorry).

So my next try is jad. I reverted eclipse to a version before installing
the jode plugin, installed jad and the jadeclipse plugin.

This works quite nice most of the time. But for some files, I get the
error

!ENTRY org.eclipse.ui 4 0 2006-06-28 10:25:39.257
!MESSAGE Unable to create editor ID jode.JodeClassFileEditor: No editor
descriptor for id jode.JodeClassFileEditor

I'm surprised because I thought to have eliminated jode from my system.
What should I try next?

Thanks, Ulrich

My versions of eclipse: eclipse 3.2M3

error log:

!ENTRY org.eclipse.ui 4 0 2006-06-28 10:25:39.257
!MESSAGE Unable to create editor ID jode.JodeClassFileEditor: No editor
descriptor for id jode.JodeClassFileEditor
!STACK 1
org.eclipse.ui.PartInitException: No editor descriptor for id
jode.JodeClassFileEditor
at
org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:543)
at
org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:374)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:552)
at
org.eclipse.ui.internal.EditorReference.getEditor(EditorRefe rence.java:213)
at
org.eclipse.ui.internal.EditorManager.findEditor(EditorManag er.java:462)
at
org.eclipse.ui.internal.EditorManager.findEditor(EditorManag er.java:387)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.java:2331)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2315)
at
org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPag e.java:2307)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.ja va:2293)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2288)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2269)
at
org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInE ditor(EditorUtility.java:265)
at
org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInE ditor(EditorUtility.java:142)
at
org.eclipse.jdt.internal.ui.actions.OpenActionUtil.open(Open ActionUtil.java:49)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:16 9)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:14 1)
at
org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchR un(SelectionDispatchAction.java:226)
at
org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(Selec tionDispatchAction.java:198)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:996 )
at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler. java:182)
at
org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execut e(LegacyHandlerWrapper.java:108)
at org.eclipse.core.commands.Command.execute(Command.java:287)
at
org.eclipse.core.commands.ParameterizedCommand.execute(Param eterizedCommand.java:401)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeComman d(WorkbenchKeyboard.java:459)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(Workben chKeyboard.java:781)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEve nt(WorkbenchKeyboard.java:828)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequ enceBindings(WorkbenchKeyboard.java:550)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(Work benchKeyboard.java:493)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter .handleEvent(WorkbenchKeyboard.java:117)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:124 7)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1055)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1080)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1065)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1092 )
at org.eclipse.swt.widgets.Widget.gtk_key_press_event(Widget.ja va:646)
at org.eclipse.swt.widgets.Control.gtk_key_press_event(Control. java:1982)
at
org.eclipse.swt.widgets.Composite.gtk_key_press_event(Compos ite.java:566)
at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1401)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:3693 )
at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:49 55)
at org.eclipse.swt.widgets.Display.eventProc(Display.java:1062)
at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Na tive
Method)
at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS. java:1308)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2741)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1774)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1738)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:376)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:106)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:165)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:338 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
!SUBENTRY 1 org.eclipse.ui 4 0 2006-06-28 10:25:39.258
!MESSAGE No editor descriptor for id jode.JodeClassFileEditor

!ENTRY org.eclipse.ui 4 4 2006-06-28 10:25:39.264
!MESSAGE "Open Declaration" did not complete normally. Please see the log
for more information.
Re: remove old plugin [message #158757 is a reply to message #158615] Wed, 28 June 2006 14:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wegener.cboenospam.com

Ulrich Scholz wrote:

> Dear all,

> my problem is related to two plugins and eclipse, so it's hard for me to
> guess the right starting point for my question. But it seems most likely
> related to the task of removing an old plugin.

> The situation:

> I want to autmatically decompile .class files without sources. First I
> gave jode a try and installed jode 1.1.1 and the Jode Eclipse Plugin,
> newest version. This did not satisfy me (sorry).

> So my next try is jad. I reverted eclipse to a version before installing
> the jode plugin, installed jad and the jadeclipse plugin.

> This works quite nice most of the time. But for some files, I get the
> error

> !ENTRY org.eclipse.ui 4 0 2006-06-28 10:25:39.257
> !MESSAGE Unable to create editor ID jode.JodeClassFileEditor: No editor
> descriptor for id jode.JodeClassFileEditor

> I'm surprised because I thought to have eliminated jode from my system.
> What should I try next?

This is just a guess. Had you previously opened the problem files with
the Jode class file plugin installed. If so, then the Jode editor is
likely still associated with the files. Try right clicking on the files
and select the Open With menu option. This should display the jadeclipse
editor for the files.


> Thanks, Ulrich

> My versions of eclipse: eclipse 3.2M3

> error log:

> !ENTRY org.eclipse.ui 4 0 2006-06-28 10:25:39.257
> !MESSAGE Unable to create editor ID jode.JodeClassFileEditor: No editor
> descriptor for id jode.JodeClassFileEditor
> !STACK 1
> org.eclipse.ui.PartInitException: No editor descriptor for id
> jode.JodeClassFileEditor
> at
>
org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:543)
> at
> org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:374)
> at
>
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:552)
> at
> org.eclipse.ui.internal.EditorReference.getEditor(EditorRefe rence.java:213)
> at
> org.eclipse.ui.internal.EditorManager.findEditor(EditorManag er.java:462)
> at
> org.eclipse.ui.internal.EditorManager.findEditor(EditorManag er.java:387)
> at
>
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.java:2331)
> at
> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2315)
> at
> org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPag e.java:2307)
> at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.ja va:2293)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
> at
> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2288)
> at
> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2269)
> at
>
org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInE ditor(EditorUtility.java:265)
> at
>
org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInE ditor(EditorUtility.java:142)
> at
>
org.eclipse.jdt.internal.ui.actions.OpenActionUtil.open(Open ActionUtil.java:49)
> at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:16 9)
> at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:14 1)
> at
>
org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchR un(SelectionDispatchAction.java:226)
> at
>
org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(Selec tionDispatchAction.java:198)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:996 )
> at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler. java:182)
> at
>
org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execut e(LegacyHandlerWrapper.java:108)
> at org.eclipse.core.commands.Command.execute(Command.java:287)
> at
>
org.eclipse.core.commands.ParameterizedCommand.execute(Param eterizedCommand.java:401)
> at
>
org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeComman d(WorkbenchKeyboard.java:459)
> at
>
org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(Workben chKeyboard.java:781)
> at
>
org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEve nt(WorkbenchKeyboard.java:828)
> at
>
org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequ enceBindings(WorkbenchKeyboard.java:550)
> at
>
org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(Work benchKeyboard.java:493)
> at
>
org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter .handleEvent(WorkbenchKeyboard.java:117)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Display.filterEvent(Display.java:124 7)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1055)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1080)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1065)
> at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1092 )
> at org.eclipse.swt.widgets.Widget.gtk_key_press_event(Widget.ja va:646)
> at org.eclipse.swt.widgets.Control.gtk_key_press_event(Control. java:1982)
> at
> org.eclipse.swt.widgets.Composite.gtk_key_press_event(Compos ite.java:566)
> at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1401)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:3693 )
> at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
> at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:49 55)
> at org.eclipse.swt.widgets.Display.eventProc(Display.java:1062)
> at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Na tive
> Method)
> at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS. java:1308)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2741)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1774)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1738)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:376)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
> at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:106)
> at
>
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:165)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:338 )
> at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
> at org.eclipse.core.launcher.Main.run(Main.java:977)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> !SUBENTRY 1 org.eclipse.ui 4 0 2006-06-28 10:25:39.258
> !MESSAGE No editor descriptor for id jode.JodeClassFileEditor

> !ENTRY org.eclipse.ui 4 4 2006-06-28 10:25:39.264
> !MESSAGE "Open Declaration" did not complete normally. Please see the log
> for more information.
Re: remove old plugin [message #158795 is a reply to message #158757] Thu, 29 June 2006 05:36 Go to previous messageGo to next message
Eclipse UserFriend
You are right, this way the jadclipse editor opens for the said file.

The problem is: For most files, the jadeclipse editor opens, e.g., when
pressing F3 with the cursor placed on the respecive class name in another
file. For the said class this gives an error.

It might well be that the class giving the error is the one I used to test
the jode plugin but I'm not sure. Somewhere deep in the inner mechanisms
of eclipse, a reference to jode seems to remain for this file.

Maybe this is related to bug
http://sourceforge.net/tracker/index.php?func=detail&aid =1307225&group_id=40205&atid=427342

Ulrich
Re: remove old plugin [message #158894 is a reply to message #158795] Thu, 29 June 2006 10:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wegener.cboenospam.com

Ulrich Scholz wrote:

> You are right, this way the jadclipse editor opens for the said file.

> The problem is: For most files, the jadeclipse editor opens, e.g., when
> pressing F3 with the cursor placed on the respecive class name in another
> file. For the said class this gives an error.

> It might well be that the class giving the error is the one I used to test
> the jode plugin but I'm not sure. Somewhere deep in the inner mechanisms
> of eclipse, a reference to jode seems to remain for this file.

> Maybe this is related to bug
>
http://sourceforge.net/tracker/index.php?func=detail&aid =1307225&group_id=40205&atid=427342

> Ulrich

So did you try the suggestion of right clicking on the file in the
navigator window and using the Open With menu to specify the class file
editor to use for opening the file?

Have you tried starting Eclipse with the -clean option. This gets rid of
cached plugin registry entries. It might solve your problem as well.
Re: remove old plugin [message #159006 is a reply to message #158894] Fri, 30 June 2006 04:40 Go to previous message
Eclipse UserFriend
Dave Wegener wrote:
> So did you try the suggestion of right clicking on the file in the
> navigator window and using the Open With menu to specify the class file
> editor to use for opening the file?

Starting eclipse with option -clean does not seem to have an effect.

I have to mention (a) InitModule.class is in a class folder and (b) I
manually had added the decompiled InitModule.java. Now I removed the
InitModule.java because jadclipse should automatically decompile the
class file on demand.

Now the problem appears as follows:

If I right-click on InitModule.class in the Package Explorer window, the
menu appears for a split second and then the known error appears. Now,
the second time I right click, the menu opens normally, I am able to chose
Open With and a Viewer/Editor - and the file opens.

This behavior is reproducable: after closing the viewer/editor for
InitModule.class, the cycle (first time error, second time works) starts
again.

Opening the file by left-clicking it in the Package Explorer window or by
pressing F3 in an editor with an appropriate selection does still never
work, even if the .class file is open in another editor window.

Ulrich
Previous Topic:Zip file not a valid archive
Next Topic:Change fonts in Views
Goto Forum:
  


Current Time: Sat May 10 19:05:56 EDT 2025

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

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

Back to the top