[Jadclipse-develop] [ jadclipse-Bugs-1307225 ] "File > Open File..." with class files
Status: Beta
Brought to you by:
vovikg
|
From: SourceForge.net <no...@so...> - 2009-11-15 22:00:56
|
Bugs item #1307225, was opened at 2005-09-28 19:04 Message generated for change (Settings changed) made by jgyger You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=427342&aid=1307225&group_id=40205 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open >Resolution: Accepted Priority: 5 Private: No Submitted By: Johann Gyger (jgyger) Assigned to: Johann Gyger (jgyger) Summary: "File > Open File..." with class files Initial Comment: Opening a class file with "File >Open File..." doesn't automatically decompile the class. java.lang.NullPointerException at org.eclipse.jdt.internal.core.BinaryType.sourceFileName(BinaryType.java:875) at org.eclipse.jdt.internal.core.SourceMapper.mapSource(SourceMapper.java:1163) at org.eclipse.jdt.internal.core.SourceMapper.mapSource(SourceMapper.java:1101) at jadclipse.JadclipseSourceMapper.mapSource(JadclipseSourceMapper.java:206) at jadclipse.JadclipseClassFileEditor.doOpenBuffer(JadclipseClassFileEditor.java:121) at jadclipse.JadclipseClassFileEditor.doSetInput(JadclipseClassFileEditor.java:68) at jadclipse.JadclipseActionBarContributor.setActiveEditor(JadclipseActionBarContributor.java:87) ---------------------------------------------------------------------- >Comment By: Johann Gyger (jgyger) Date: 2009-11-15 22:00 Message: This is still an issue, even with v3.4: org.eclipse.core.runtime.CoreException: The Class File Viewer cannot handle the given input ('org.eclipse.ui.ide.FileStoreEditorInput'). at org.eclipse.jdt.internal.ui.javaeditor.ClassFileEditor.doSetInput(ClassFileEditor.java:642) at org.eclipse.ui.texteditor.AbstractTextEditor$19.run(AbstractTextEditor.java:3115) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372) at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:759) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:756) at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2579) at org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:3133) at org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:3160) at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:798) at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:644) at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:462) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595) at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:286) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2857) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2762) at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2754) at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2705) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2701) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2685) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668) at org.eclipse.ui.ide.IDE.openEditorOnFileStore(IDE.java:1151) at org.eclipse.ui.internal.ide.actions.OpenLocalFileAction.run(OpenLocalFileAction.java:107) at org.eclipse.ui.internal.ide.actions.OpenLocalFileAction.run(OpenLocalFileAction.java:76) at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251) at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3543) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1250) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1273) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1079) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3441) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3100) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 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:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514) at org.eclipse.equinox.launcher.Main.run(Main.java:1311) ---------------------------------------------------------------------- Comment By: VijayW (vijaywadnere) Date: 2006-11-06 01:42 Message: Logged In: YES user_id=1638478 I am using Eclipse 3.2 M2. After setting everything (plugin and jad.exe), when double clicked a class file, i get an error from eclipse, saying: An Error has occured when activating this view. Is this a problme from Eclipse or from Jad? ---------------------------------------------------------------------- Comment By: Johann Gyger (jgyger) Date: 2005-10-25 19:33 Message: Logged In: YES user_id=7927 Depends on https://bugs.eclipse.org/bugs/show_bug.cgi?id=70347 ---------------------------------------------------------------------- Comment By: DerManiac (dermaniac) Date: 2005-09-29 06:26 Message: Logged In: YES user_id=1352347 Wait a sec... no its not the same error.. when i use Open File i get the same error like you, but from the navigator view i get a source not found error.. But it IS the jadclipse editor who is telling me this... ---------------------------------------------------------------------- Comment By: DerManiac (dermaniac) Date: 2005-09-29 06:20 Message: Logged In: YES user_id=1352347 Well.. got the same problem.. but for me it doesn't even work in Navigator view, by double clicking on it.. But... i think this is no Jadclipse problem, because a have the completely same problem with the Jode decompiler plugin for eclipse... ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2005-09-29 06:17 Message: Logged In: NO Seems like this is a known problem.. http://sourceforge.net/tracker/index.php?func=detail&aid=1083145&group_id=40205&atid=427343 http://sourceforge.net/tracker/index.php?func=detail&aid=1086142&group_id=40205&atid=427344 http://sourceforge.net/forum/forum.php?thread_id=1235871&forum_id=124755 But noone seems to have an answere to this issue, or the developers just don't care -.- ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=427342&aid=1307225&group_id=40205 |