eclipse-plugin issueshttps://gitlab.ow2.org/asm/eclipse-plugin/-/issues2017-10-05T18:33:19Zhttps://gitlab.ow2.org/asm/eclipse-plugin/-/issues/316399"Show bytecode analyzer pane" freezes Eclipse for 5 minutes -- slow JdtUtils....2017-10-05T18:33:19Zmkeller"Show bytecode analyzer pane" freezes Eclipse for 5 minutes -- slow JdtUtils.getClassURLs(..)```
de.loskutov.BytecodeOutline_2.4.1.jar
"Show bytecode analyzer pane" from the Bytecode view's menu freezed my Eclipse
for 5 minutes. The problem is two bugs in JdtUtils.getClassURLs(..):
1) List<URL> urls contains may duplicates (e....```
de.loskutov.BytecodeOutline_2.4.1.jar
"Show bytecode analyzer pane" from the Bytecode view's menu freezed my Eclipse
for 5 minutes. The problem is two bugs in JdtUtils.getClassURLs(..):
1) List<URL> urls contains may duplicates (e.g. from installed JDKs). Should
use a HashSet<URL>.
2) The recursive call to getClassURLs(..) doesn't stop when a previously
processed project is visited again. JdtUtils.getClassLoader(..) should also
pass a HashSet<IJavaProject> of projects whose processing has already been
started. Those projects should not be visited again.
```https://gitlab.ow2.org/asm/eclipse-plugin/-/issues/316338Bytecode Outline fails to open if preference org.eclipse.jdt.quickassist.ligh...2017-10-05T18:33:19Zconcerto49Bytecode Outline fails to open if preference org.eclipse.jdt.quickassist.lightbulb is set to true```
Tested this on Eclipse 4.2 M6 and M7 with bco 2.4.0.
I couldn't get this to work on 3.7.2 either (had to revert to an older version,
not 2.4.0 of bco)
The error is Failed to create the part's controls:
java.lang.NullPointerExcept...```
Tested this on Eclipse 4.2 M6 and M7 with bco 2.4.0.
I couldn't get this to work on 3.7.2 either (had to revert to an older version,
not 2.4.0 of bco)
The error is Failed to create the part's controls:
java.lang.NullPointerException
at
org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartLis
tenerGroup.install(SelectionListenerWithASTManager.java:103)
at
org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager.addList
ener(SelectionListenerWithASTManager.java:211)
at
org.eclipse.jdt.internal.ui.text.correction.QuickAssistLightBulbUpdater.install
SelectionListener(QuickAssistLightBulbUpdater.java:131)
at
org.eclipse.jdt.internal.ui.text.correction.QuickAssistLightBulbUpdater.install
(QuickAssistLightBulbUpdater.java:147)
at
org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionAssistant.install(Jav
aCorrectionAssistant.java:118)
at
org.eclipse.jface.text.source.SourceViewer.configure(SourceViewer.java:474)
at
org.eclipse.jdt.internal.ui.javaeditor.JavaSourceViewer.configure(JavaSourceVie
wer.java:230)
at
de.loskutov.bco.views.BytecodeOutlineView.createTextControl(BytecodeOutlineView
.java:772)
at
de.loskutov.bco.views.BytecodeOutlineView.createPartControl(BytecodeOutlineView
.java:417)
at
org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(Co
mpatibilityPart.java:124)
at
org.eclipse.ui.internal.e4.compatibility.CompatibilityView.createPartControl(Co
mpatibilityView.java:155)
at
org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(Compatibility
Part.java:267)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja
va:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56
)
at
org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java
:857)
at
org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java
:837)
at
org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:111)
at
org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:318
)
at
org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:240)
at
org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFacto
ry.java:161)
at
org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBu
ndle(ReflectionContributionFactory.java:102)
at
org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(Ref
lectionContributionFactory.java:71)
at
org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(Refle
ctionContributionFactory.java:53)
at
org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(
ContributedPartRenderer.java:141)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartR
enderingEngine.java:884)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(Part
RenderingEngine.java:618)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$6.run(PartRenderin
gEngine.java:507)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRend
eringEngine.java:492)
at
org.eclipse.e4.ui.workbench.renderers.swt.ElementReferenceRenderer.createWidget
(ElementReferenceRenderer.java:74)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartR
enderingEngine.java:884)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(Part
RenderingEngine.java:618)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(Part
RenderingEngine.java:720)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRende
ringEngine.java:691)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderin
gEngine.java:685)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRend
eringEngine.java:670)
at
org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.showTab(StackRenderer.j
ava:1042)
at
org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer.postProcess(LazySta
ckRenderer.java:98)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(Part
RenderingEngine.java:634)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(Part
RenderingEngine.java:720)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRende
ringEngine.java:691)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderin
gEngine.java:685)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRend
eringEngine.java:670)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$1.handleEvent(Part
RenderingEngine.java:126)
at
org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.
java:41)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180)
at
org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4687)
at
org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application
.java:187)
at
org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHa
ndler.java:38)
at
org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandler
Wrapper.java:197)
at
org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandl
erTracker.java:197)
at
org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandl
erTracker.java:1)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.jav
a:230)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(List
enerQueue.java:148)
at
org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.
java:135)
at
org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java
:78)
at
org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java
:39)
at
org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:81
)
at
org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPubl
isher.java:57)
at
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.
java:374)
at
org.eclipse.e4.ui.model.application.ui.impl.UIElementImpl.setToBeRendered(UIEle
mentImpl.java:290)
at
org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(Model
ServiceImpl.java:416)
at
org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(Model
ServiceImpl.java:420)
at
org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceIm
pl.java:385)
at
org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartSer
viceImpl.java:578)
at
org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.j
ava:557)
at
org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.j
ava:531)
at
org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.j
ava:520)
at
org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.j
ava:955)
at
org.eclipse.ui.internal.WorkbenchPage.showPart(WorkbenchPage.java:1211)
at
org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:1177)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:3764)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at
org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3761)
at
org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3737)
at
org.eclipse.ui.handlers.ShowViewHandler.openView(ShowViewHandler.java:126)
at
org.eclipse.ui.handlers.ShowViewHandler.openOther(ShowViewHandler.java:99)
at
org.eclipse.ui.handlers.ShowViewHandler.execute(ShowViewHandler.java:67)
at
org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
at
org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:76)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja
va:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56
)
at
org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java
:229)
at
org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:210)
at
org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFac
tory.java:131)
at
org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(Handler
ServiceImpl.java:171)
at
org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand(LegacyHand
lerService.java:492)
at org.eclipse.ui.internal.ShowViewMenu$3.run(ShowViewMenu.java:141)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionCon
tributionItem.java:584)
at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem
.java:501)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributio
nItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderin
gEngine.java:1017)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingE
ngine.java:911)
at
org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.jav
a:86)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:582)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:537)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.jav
a:124)
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:353)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja
va:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
```https://gitlab.ow2.org/asm/eclipse-plugin/-/issues/316323Bytecode outline plugin: get error "class not on its project's build path" in...2017-10-05T18:33:19ZdijstarBytecode outline plugin: get error "class not on its project's build path" in Eclipse 4.1```
I get the above error while using the bytecode view for a .java file in Eclipse,
The file is definitely on the build path of the project.
The details of the Eclipse version I am using are as below:
Version: 4.1.0
Build id: M201109...```
I get the above error while using the bytecode view for a .java file in Eclipse,
The file is definitely on the build path of the project.
The details of the Eclipse version I am using are as below:
Version: 4.1.0
Build id: M20110912-1510
```https://gitlab.ow2.org/asm/eclipse-plugin/-/issues/316267Bytecode outline: As a user in the "link with editor" mode I want to view the...2017-10-05T18:33:19ZlhotariBytecode outline: As a user in the "link with editor" mode I want to view the bytecode of innerclasses```
BCO is good for viewing the bytecode of Groovy classes (there is a bug #316203
but that is not a big problem since it works after retrying several times).
The bytecode produced by the Groovy compiler contains a lot of innerclasses....```
BCO is good for viewing the bytecode of Groovy classes (there is a bug #316203
but that is not a big problem since it works after retrying several times).
The bytecode produced by the Groovy compiler contains a lot of innerclasses.
As a user in the "link with editor" mode I want to view the bytecode of
innerclasses. I'd like BCO to search for linenumbers in innerclasses too so that
"link with editor" would work for all code.
Innerclass names should also be clickable links so that it would be easier to
navigate to them from the bytecode view.
```https://gitlab.ow2.org/asm/eclipse-plugin/-/issues/316203FileNotFoundException for Groovy classes in Bytecode Outline2017-10-05T18:33:19ZlhotariFileNotFoundException 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
b...```
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...
```https://gitlab.ow2.org/asm/eclipse-plugin/-/issues/315507visitMax must be in generated ASMifier code 2010-09-28T18:42:27ZclefruvisitMax must be in generated ASMifier code ```
When disabling show local variables, the
mv.visitMaxs(?,?) call is omitted from the generated code in ASMifier view.
These calls are necessary for the generated code to produce a valid class file.
Otherwise, the stack size and lo...```
When disabling show local variables, the
mv.visitMaxs(?,?) call is omitted from the generated code in ASMifier view.
These calls are necessary for the generated code to produce a valid class file.
Otherwise, the stack size and local variable size is set to zero and the VM
rejects the class file.
If my guess is correct that CommentedASMifierClassVisitor generates the code,
the "if(showLocals)" check in visitMaxs should probably not be there.
```https://gitlab.ow2.org/asm/eclipse-plugin/-/issues/314868Error (Bytecode Outline) xxx.java [in <project name>] is not on its project's...2017-10-05T18:33:17ZcybertronError (Bytecode Outline) xxx.java [in <project name>] is not on its project's built path```
When I select Window --> Show view --> Other --> Bytecode I get the error
message "Error (Bytecode Outline) xxx.java [in <project name>] is not on its
project's built path" although the Java file is definitely in the projects
build p...```
When I select Window --> Show view --> Other --> Bytecode I get the error
message "Error (Bytecode Outline) xxx.java [in <project name>] is not on its
project's built path" although the Java file is definitely in the projects
build path.
I use Eclipse version 3.5.0.
I saw that other people got the same problem when Eclipse version changed to
3.4.0 and that it was solved by an update of the plugin. Is there a new update
of this plugin planned to solve this issue?
BRs,
János Tóth-Égetö
```https://gitlab.ow2.org/asm/eclipse-plugin/-/issues/314584ByteCode Outline Eclipse Plugin -- access flags comment is showing in decimal...2017-10-05T18:33:17ZwillmcqueenByteCode Outline Eclipse Plugin -- access flags comment is showing in decimal rather than hex```
Hi,
I'm using Bytecode Outline 2.2.1.2 within Eclipse 3.5.1 on WinXP.
When I use the 'Bytecode' view to inspect the bytecodes of a compiled class
file, I see that it shows the access flags in decimal:
// access flags 4112
....```
Hi,
I'm using Bytecode Outline 2.2.1.2 within Eclipse 3.5.1 on WinXP.
When I use the 'Bytecode' view to inspect the bytecodes of a compiled class
file, I see that it shows the access flags in decimal:
// access flags 4112
...rather than in hex:
// access flags 1010
I did choose "Show values in hex format" from the dropdown menu, and got same
result.
I'm requesting that the access flags comment be changed so that the access
flags value is always displayed in hex, rather than always displayed in
decimal... that would be more useful.
Thank you.
Cheers,
Will
```https://gitlab.ow2.org/asm/eclipse-plugin/-/issues/313599exception during debugging2017-10-05T18:33:19Zscalpel4kexception during debugging```
Hi,
I have this little annoying error during debugging; everytime I reach code
where no sources are available the following error gets thrown. I hope you can
find out what causes this.
thanks for your time
M;chi
eclipse.buildId=I2...```
Hi,
I have this little annoying error during debugging; everytime I reach code
where no sources are available the following error gets thrown. I hope you can
find out what causes this.
thanks for your time
M;chi
eclipse.buildId=I20090313-0100
java.version=1.6.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_GB
Framework arguments: java
Command-line arguments: -os linux -ws gtk -arch x86_64 java
Error
Sun Apr 12 14:18:26 CEST 2009
Unhandled event loop exception
java.lang.NoSuchFieldError: fOutlineSelectionChangedListener
at
de.loskutov.bco.editors.BytecodeClassFileEditor.adjustHighlightRange(BytecodeClassFileEditor.java:492)
at
org.eclipse.ui.texteditor.AbstractTextEditor.selectAndReveal(AbstractTextEditor.java:6152)
at
org.eclipse.ui.texteditor.AbstractTextEditor.selectAndReveal(AbstractTextEditor.java:6126)
at
org.eclipse.ui.texteditor.TextSelectionNavigationLocation.restoreLocation(TextSelectionNavigationLocation.java:254)
at
org.eclipse.ui.internal.NavigationHistoryEntry.restoreLocation(NavigationHistoryEntry.java:81)
at org.eclipse.ui.internal.NavigationHistory.gotoEntry(NavigationHistory.java:455)
at
org.eclipse.ui.internal.NavigationHistory.shiftCurrentEntry(NavigationHistory.java:537)
at
org.eclipse.ui.internal.NavigationHistoryAction$2.widgetSelected(NavigationHistoryAction.java:119)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1161)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3480)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3099)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2393)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2357)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2209)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:499)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:492)
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:556)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:511)
at org.eclipse.equinox.launcher.Main.run(Main.java:1284)
at org.eclipse.equinox.launcher.Main.main(Main.java:1260)
```https://gitlab.ow2.org/asm/eclipse-plugin/-/issues/313512Bytecode outliner doesn't seem to work when there's no source2017-10-05T18:33:19ZjblackburnBytecode outliner doesn't seem to work when there's no source```
When debugging and I reach a file with no source, I'm unable to convince
bytcode outliner to show bytecode. I just get the normal "Source Not Found"
editor (and the bytecode view is empty). I've set up Bytecode Outliner as the
defa...```
When debugging and I reach a file with no source, I'm unable to convince
bytcode outliner to show bytecode. I just get the normal "Source Not Found"
editor (and the bytecode view is empty). I've set up Bytecode Outliner as the
default for *.class in the filetype associations as detailed on the home page,
but to no avail.
Bytecode is successfully shown when there's source already available...
I'm using Eclipse 3.4 and Bytecode outliner 2.2.8
Cheers,
James
```https://gitlab.ow2.org/asm/eclipse-plugin/-/issues/312330support IStorageEditorInput and IURIEditorInput2017-10-05T18:33:19Zekuleshovsupport IStorageEditorInput and IURIEditorInput```
When bytecode outline class viewer is opened from CVS, SVN view and other
places like ZipEditor that don't provide IClassFileEditorInput it throws error
like one below. It would be nice to support IStorageEditorInput and
IURIEditorIn...```
When bytecode outline class viewer is opened from CVS, SVN view and other
places like ZipEditor that don't provide IClassFileEditorInput it throws error
like one below. It would be nice to support IStorageEditorInput and
IURIEditorInput, so it would be possible to see bytecode opened from those
places. I think those editor inputs should be sufficient for basic operations,
i.e. you can fetch class data from them.
org.eclipse.core.runtime.CoreException: invalid input
at
de.loskutov.bco.editors.BytecodeClassFileEditor.doSetInput(BytecodeClassFileEditor.java:176)
at
org.eclipse.ui.texteditor.AbstractTextEditor$19.run(AbstractTextEditor.java:3025)
at
org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:446)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:354)
at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:758)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:755)
at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2483)
at
org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:3043)
at org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:3070)
at
de.loskutov.bco.editors.BytecodeClassFileEditor.init(BytecodeClassFileEditor.java:137)
at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:799)
at
org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:643)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:428)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:266)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2820)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2729)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2721)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2673)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2652)
at zipeditor.actions.OpenWithMenu.openEditor(OpenWithMenu.java:591)
at zipeditor.actions.OpenWithMenu.access$3(OpenWithMenu.java:584)
at zipeditor.actions.OpenWithMenu$9.handleEvent(OpenWithMenu.java:513)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
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:193)
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:382)
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:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
```https://gitlab.ow2.org/asm/eclipse-plugin/-/issues/312324Eclipse 3.3.2: Debug: Stepping through code does not change the current line2017-10-05T18:33:17ZjthoennesEclipse 3.3.2: Debug: Stepping through code does not change the current line```
Hello,
this is Eclipse 3.3.2 related, I do hope you can correct this nevertheless.
If I debug class files without source code, the class file is correctly
disassembled (with correct line numbers etc), but clicking on the stack fram...```
Hello,
this is Eclipse 3.3.2 related, I do hope you can correct this nevertheless.
If I debug class files without source code, the class file is correctly
disassembled (with correct line numbers etc), but clicking on the stack frame
entry or stepping through the code always displays the disassembled file at the
first line instead of moving to the correct code line.
Do I miss something or is this a know bug?
Thanks, Jörg
```https://gitlab.ow2.org/asm/eclipse-plugin/-/issues/312307Eclipse 3.3.2: Debug: Stepping through code does not change the current line2009-01-06T14:48:11ZjthoennesEclipse 3.3.2: Debug: Stepping through code does not change the current line```
Hello,
this is Eclipse 3.3.2 related, I do hope you can correct this nevertheless.
If I debug class files without source code, the class file is correctly
disassembled (with correct line numbers etc), but clicking on the stack fram...```
Hello,
this is Eclipse 3.3.2 related, I do hope you can correct this nevertheless.
If I debug class files without source code, the class file is correctly
disassembled (with correct line numbers etc), but clicking on the stack frame
entry or stepping through the code always displays the disassembled file at the
first line instead of moving to the correct code line.
Do I miss something or is this a know bug?
Thanks, Jörg
```https://gitlab.ow2.org/asm/eclipse-plugin/-/issues/311888Eclipse plugin2017-10-05T18:33:17ZaxelEclipse plugin```
I am using Ganymedes, and updated to the new ASM plugin from Andrei's page at
http://andrei.gmxhome.de. I am able to view byte code, but the "Show ASMified
code" button off the compare two binary files view gives the following error:...```
I am using Ganymedes, and updated to the new ASM plugin from Andrei's page at
http://andrei.gmxhome.de. I am able to view byte code, but the "Show ASMified
code" button off the compare two binary files view gives the following error:
"Error notifying a preference change listener. Check the log for details."
The log shows the following:
Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
java.lang.NullPointerException
at
org.eclipse.compare.internal.CompareEditor.disconnectFromInput(CompareEditor.java:301)
at org.eclipse.compare.internal.CompareEditor.doSetInput(CompareEditor.java:237)
at org.eclipse.compare.internal.CompareEditor.setInput(CompareEditor.java:219)
at org.eclipse.compare.internal.CompareUIPlugin$1.run(CompareUIPlugin.java:444)
at org.eclipse.compare.internal.CompareUIPlugin.syncExec(CompareUIPlugin.java:1171)
at
org.eclipse.compare.internal.CompareUIPlugin.internalOpenEditor(CompareUIPlugin.java:465)
at
org.eclipse.compare.internal.CompareUIPlugin.openCompareEditor(CompareUIPlugin.java:429)
at org.eclipse.compare.CompareUI.reuseCompareEditor(CompareUI.java:149)
at de.loskutov.bco.compare.BytecodeCompare.toggleMode(BytecodeCompare.java:283)
at de.loskutov.bco.compare.BytecodeCompare$1.run(BytecodeCompare.java:64)
at
de.loskutov.bco.ui.actions.DefaultToggleAction.propertyChange(DefaultToggleAction.java:51)
at
org.eclipse.ui.preferences.ScopedPreferenceStore$3.run(ScopedPreferenceStore.java:375)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.ui.preferences.ScopedPreferenceStore.firePropertyChangeEvent(ScopedPreferenceStore.java:372)
at
org.eclipse.ui.preferences.ScopedPreferenceStore.setValue(ScopedPreferenceStore.java:813)
at de.loskutov.bco.ui.actions.DefaultToggleAction.run(DefaultToggleAction.java:83)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
at
org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
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:193)
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:386)
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:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
```https://gitlab.ow2.org/asm/eclipse-plugin/-/issues/311109Eclipse Plugin Error (Bytecode Outline): saying resource is not on project's ...2008-09-12T09:53:52ZaedevdweijEclipse Plugin Error (Bytecode Outline): saying resource is not on project's build path```
Hi,
I just installed the latest the Bytecode Outline plugin for Eclipse through the
Update Manager.
Comparing two class files works. However the following error message is
displayed when I want to compare two Java files in a Java p...```
Hi,
I just installed the latest the Bytecode Outline plugin for Eclipse through the
Update Manager.
Comparing two class files works. However the following error message is
displayed when I want to compare two Java files in a Java project: Error
(Bytecode Outline) src/my/package/MyClass.java [in test-bytecode-manipulation]
is not on its project's build path
and a second: Error (Bytecode Outline) src/my/package/MyClass2.java [in
test-bytecode-manipulation] is not on its project's build path
Both have the same Stacktrace:
Java Model Exception: Java Model Status [ src/my/package/MyClass.java [in
test-bytecode-manipulation] is not on its project's build path]
at
org.eclipse.jdt.internal.core.PackageFragmentRoot.getRawClasspathEntry(PackageFragmentRoot.java:553)
at de.loskutov.bco.ui.JdtUtils.isPackageRoot(JdtUtils.java:686)
at de.loskutov.bco.ui.JdtUtils.getPackageOutputPath(JdtUtils.java:661)
at de.loskutov.bco.ui.JdtUtils.getByteCodePath(JdtUtils.java:704)
at
de.loskutov.bco.ui.actions.BytecodeAction.createTypedElement(BytecodeAction.java:83)
at de.loskutov.bco.ui.actions.BytecodeAction.exec(BytecodeAction.java:66)
at
de.loskutov.bco.ui.actions.CompareBytecodeAction.run(CompareBytecodeAction.java:28)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
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.Widget.sendEvent(Widget.java:1158)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3401)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3033)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
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:193)
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:382)
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:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
I am using the following software:
-eclipse-jee-ganymede-linux-gtk-x86_64
-Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_15-b04, mixed mode)
```https://gitlab.ow2.org/asm/eclipse-plugin/-/issues/310471bytecode view panel doesn't show anything2008-07-02T14:18:41ZValerio Schiavonibytecode view panel doesn't show anything```
Installing the plugin from this update site:
http://andrei.gmxhome.de/eclipse/
for 3.4 stable release.
If i open a java class in the default java editor, its bytecode (or its
ASMified version) is not shown in the panel.
``````
Installing the plugin from this update site:
http://andrei.gmxhome.de/eclipse/
for 3.4 stable release.
If i open a java class in the default java editor, its bytecode (or its
ASMified version) is not shown in the panel.
```https://gitlab.ow2.org/asm/eclipse-plugin/-/issues/309087Fail to install eclipse plugin with Eclipse 3.4 M62008-04-10T22:54:29Zg_korlandFail to install eclipse plugin with Eclipse 3.4 M6```
When trying to install using the following site:
http://download.forge.objectweb.org/eclipse-update/
The following error is showed:
An error occurred while installing the items
The manifest is missing for: [R]org.objectweb.asm 2....```
When trying to install using the following site:
http://download.forge.objectweb.org/eclipse-update/
The following error is showed:
An error occurred while installing the items
The manifest is missing for: [R]org.objectweb.asm 2.2.1
```https://gitlab.ow2.org/asm/eclipse-plugin/-/issues/308066org.eclipse.jface.text.BadLocationException inside the BytecodeOutline2007-12-17T17:08:01Zoliviertorg.eclipse.jface.text.BadLocationException inside the BytecodeOutline```
Using eclipse.buildId=I20071211-0010, I sometimes get the following error.
Unfortunately I don't have steps to reproduce.
org.eclipse.jface.text.BadLocationException
at
org.eclipse.jface.text.ListLineTracker.getLineNumberOfOffset(Li...```
Using eclipse.buildId=I20071211-0010, I sometimes get the following error.
Unfortunately I don't have steps to reproduce.
org.eclipse.jface.text.BadLocationException
at
org.eclipse.jface.text.ListLineTracker.getLineNumberOfOffset(ListLineTracker.java:140)
at
org.eclipse.jface.text.AbstractLineTracker.getLineNumberOfOffset(AbstractLineTracker.java:161)
at
org.eclipse.jface.text.AbstractDocument.getLineOfOffset(AbstractDocument.java:842)
at
de.loskutov.bco.editors.BytecodeClassFileEditor.getElementAt(BytecodeClassFileEditor.java:345)
at
de.loskutov.bco.editors.BytecodeClassFileEditor.adjustHighlightRange(BytecodeClassFileEditor.java:476)
at
org.eclipse.ui.texteditor.AbstractTextEditor.selectAndReveal(AbstractTextEditor.java:5984)
at
org.eclipse.ui.texteditor.AbstractTextEditor.selectAndReveal(AbstractTextEditor.java:5958)
at
org.eclipse.jdt.internal.ui.search.JavaSearchResultPage.showMatch(JavaSearchResultPage.java:188)
at
org.eclipse.search.ui.text.AbstractTextSearchViewPage$7.run(AbstractTextSearchViewPage.java:869)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.search.ui.text.AbstractTextSearchViewPage.showMatch(AbstractTextSearchViewPage.java:872)
at
org.eclipse.search.ui.text.AbstractTextSearchViewPage.showCurrentMatch(AbstractTextSearchViewPage.java:937)
at
org.eclipse.search.ui.text.AbstractTextSearchViewPage.gotoNextMatch(AbstractTextSearchViewPage.java:902)
at
org.eclipse.search.ui.text.AbstractTextSearchViewPage.handleOpen(AbstractTextSearchViewPage.java:1373)
at
org.eclipse.jdt.internal.ui.search.JavaSearchResultPage.handleOpen(JavaSearchResultPage.java:542)
at
org.eclipse.search.ui.text.AbstractTextSearchViewPage$5.open(AbstractTextSearchViewPage.java:691)
at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:820)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:857)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:199)
at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:818)
at
org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1079)
at
org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1183)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:263)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:257)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:297)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3750)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3361)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2381)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2345)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2211)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:473)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:468)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:362)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:612)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:561)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:501)
at org.eclipse.equinox.launcher.Main.run(Main.java:1239)
at org.eclipse.equinox.launcher.Main.main(Main.java:1215)
```https://gitlab.ow2.org/asm/eclipse-plugin/-/issues/307217Eclipse pluging throws SAXParseException on Eclipse3.3Rc42017-10-05T18:33:18Zg_korlandEclipse pluging throws SAXParseException on Eclipse3.3Rc4```
org.xml.sax.SAXParseException: The version is required in the XML declaration.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unkno...```
org.xml.sax.SAXParseException: The version is required in the XML declaration.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown
Source)
at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
at
org.eclipse.update.core.model.DefaultSiteParser.getMirrors(DefaultSiteParser.java:820)
at
org.eclipse.update.core.model.SiteModel.getMirrorSiteEntryModels(SiteModel.java:423)
at org.eclipse.update.core.Site.getMirrorSiteEntries(Site.java:552)
at
org.eclipse.update.ui.UpdateJob$ResultCollectorWithMirrors.getMirror(UpdateJob.java:306)
at
org.eclipse.update.search.UpdateSearchRequest.searchOneSite(UpdateSearchRequest.java:470)
at
org.eclipse.update.search.UpdateSearchRequest.performSearch(UpdateSearchRequest.java:323)
at org.eclipse.update.ui.UpdateJob.runSearchForNew(UpdateJob.java:182)
at org.eclipse.update.ui.UpdateJob.run(UpdateJob.java:170)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
```https://gitlab.ow2.org/asm/eclipse-plugin/-/issues/306253synchronized(this) block causes: java.lang.ClassFormatError: Illegal excepti...2006-10-05T10:22:16Zrbygravesynchronized(this) block causes: java.lang.ClassFormatError: Illegal exception table range in class file```
I am using the bytecode outliner plugin in Eclispe to create ASM code from java
code. I am using ASM v2.
I have some code that works fine. If I then add a synchronized(this) block into
the code and use the resulting ASM code generat...```
I am using the bytecode outliner plugin in Eclispe to create ASM code from java
code. I am using ASM v2.
I have some code that works fine. If I then add a synchronized(this) block into
the code and use the resulting ASM code generated from the bytecode outliner I
get the following exception.
Exception in thread "main" java.lang.ClassFormatError: Illegal exception table
range in class file app/data/EBug$$EntityBean
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
at
The Java code this is based on is:
private Object ebeanGetIdentity() {
if (ebeanIdentity != null || getId() == null) {
if (ebeanIdentity == null) {
synchronized(this) {
//if (ebeanIdentity == null){
ebeanIdentity = new Object();
//}
}
}
return ebeanIdentity;
}
return getId();
}
If I comment out the synchronized(this) { and its closing } then the resulting
ASM code works fine. Putting back the synchronized block and I get the
exception above.
I will upload a file that has the resulting ASM code in two methods. One of
the methods works (no synchronized) and the other results in the exception above.
thanks, Rob.
```