FileNotFoundException for Groovy classes in Bytecode Outline
Using Byteout Outline 2.3.1 on STS 2.8.0M2 (Eclipse 3.7.0.v20110530).
I started using Bytecode Outline plugin for viewing the generated byte code of
Groovy classes. There is some problem since I usually get this error a few time
before it actually succeeds and it shows the view.
I have the Bytecode view linked to the source code editor.
Here is the output from the log:
eclipse.buildId=2.8.0.201109211000-M2
java.version=1.6.0_27
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=fi_FI
Framework arguments: -showlocation -product com.springsource.sts.ide -refresh
Command-line arguments: -os linux -ws gtk -arch x86 -showlocation -product
com.springsource.sts.ide -clean -data /home/lari/workspace-grails -refresh
Warning
Sun Oct 02 22:45:18 EEST 2011
/home/lari/workspace-grails/grails-core/grails-plugin-domain-
class/bin/org/codehaus/groovy/grails/plugins/DomainClassPluginSupport.groovy.cl
ass (Tiedostoa tai hakemistoa ei ole)
java.io.FileNotFoundException: /home/lari/workspace-grails/grails-core/grails-
plugin-domain-
class/bin/org/codehaus/groovy/grails/plugins/DomainClassPluginSupport.groovy.cl
ass (Tiedostoa tai hakemistoa ei ole)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:120)
at java.io.FileInputStream.<init>(FileInputStream.java:79)
at de.loskutov.bco.ui.JdtUtils.createInputStream(JdtUtils.java:870)
at
de.loskutov.bco.views.BytecodeOutlineView.decompileBytecode(BytecodeOutlineView
.java:1462)
at
de.loskutov.bco.views.BytecodeOutlineView.refreshView(BytecodeOutlineView.java:
1047)
at
de.loskutov.bco.views.BytecodeOutlineView.handlePartVisible(BytecodeOutlineView
.java:931)
at de.loskutov.bco.views.EditorListener.partOpened(EditorListener.java:133)
at
org.eclipse.ui.internal.PartListenerList2$5.run(PartListenerList2.java:130)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.runtime.Platform.run(Platform.java:888)
at
org.eclipse.ui.internal.PartListenerList2.fireEvent(PartListenerList2.java:55)
at
org.eclipse.ui.internal.PartListenerList2.firePartOpened(PartListenerList2.java
:128)
at org.eclipse.ui.internal.PartService.firePartOpened(PartService.java:280)
at
org.eclipse.ui.internal.WWinPartService$WWinListener.partOpened(WWinPartService
.java:54)
at
org.eclipse.ui.internal.PartListenerList2$5.run(PartListenerList2.java:130)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.runtime.Platform.run(Platform.java:888)
at
org.eclipse.ui.internal.PartListenerList2.fireEvent(PartListenerList2.java:55)
at
org.eclipse.ui.internal.PartListenerList2.firePartOpened(PartListenerList2.java
:128)
at org.eclipse.ui.internal.PartService.firePartOpened(PartService.java:280)
at
org.eclipse.ui.internal.WorkbenchPagePartList.firePartOpened(WorkbenchPagePartL
ist.java:35)
at org.eclipse.ui.internal.PartList.partOpened(PartList.java:241)
at org.eclipse.ui.internal.PartList.access$0(PartList.java:210)
at org.eclipse.ui.internal.PartList$1.propertyChanged(PartList.java:40)
at
org.eclipse.ui.internal.WorkbenchPartReference.fireInternalPropertyChange(Workb
enchPartReference.java:375)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.j
ava:610)
at
org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:289)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:
2945)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2850)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2842)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2793)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2789)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2773)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2764)
at
org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility
.java:368)
at
org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility
.java:174)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:249)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:228)
at
org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatc
hAction.java:275)
at
org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.
java:251)
at
org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(P
ackageExplorerActionGroup.java:376)
at
org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplo
rerPart.java:538)
at
org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWit
hEditorHelper.java:48)
at
org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:866)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at
org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:864)
at
org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:115
2)
at
org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1
256)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:275)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:269)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:309)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.jav
a:123)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196
)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ecl
ipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLa
uncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
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.ja
va:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
It would be a perfect tool for viewing the bytecode of Groovy classes without
this problem...