[Soot-list] Eclipse Plugin Update and Attribute Exception

Daniel Popescu dpopescu at usc.edu
Mon Dec 21 17:43:57 EST 2009


Hi all.

I am trying to use the Soot Eclipse Plugin to inspect Soot annotions
in Jimple files but I am running into some problems.

1. Hovering over an annotation does not show the expected pop-up
window but causes a conflict:
Conflict for 'AUTOGEN:::ca.mcgill.sable.soot.launching.soot.oc3/ca.mcgill.sable.soot.popupaction4':
HandlerActivation(commandId=AUTOGEN:::ca.mcgill.sable.soot.launching.soot.oc3/ca.mcgill.sable.soot.popupaction4,
	handler=ActionDelegateHandlerProxy(null,ca.mcgill.sable.soot.launching.SootOptionsFileLauncher),
	expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow at 79ce00b4),sourcePriority=16384)
HandlerActivation(commandId=AUTOGEN:::ca.mcgill.sable.soot.launching.soot.oc3/ca.mcgill.sable.soot.popupaction4,
	handler=ActionDelegateHandlerProxy(null,ca.mcgill.sable.soot.launching.SootOptionsFileLauncher),
	expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow at 79ce00b4),sourcePriority=16384)


2. When I click on these Soot annotations, Soot throws a NullPointerException:
java.lang.NullPointerException
	at ca.mcgill.sable.soot.attributes.SootAttributeSelectAction.run(SootAttributeSelectAction.java:94)
	at org.eclipse.ui.texteditor.AbstractRulerActionDelegate.run(AbstractRulerActionDelegate.java:103)
	at org.eclipse.ui.internal.handlers.ActionDelegateHandlerProxy.execute(ActionDelegateHandlerProxy.java:289)
	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
	at org.eclipse.ui.actions.ContributedAction.runWithEvent(ContributedAction.java:185)
	at org.eclipse.ui.internal.actions.CommandAction.run(CommandAction.java:171)
	at org.eclipse.ui.texteditor.AbstractTextEditor$14.triggerAction(AbstractTextEditor.java:2980)
	at org.eclipse.ui.texteditor.AbstractTextEditor$14.access$1(AbstractTextEditor.java:2974)
	at org.eclipse.ui.texteditor.AbstractTextEditor$15.run(AbstractTextEditor.java:2993)
	at org.eclipse.swt.widgets.Display.runTimers(Display.java:3521)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3091)
	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)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1287)



The analyzed application and the analysis parameters can be found in a
previous post:
http://www.sable.mcgill.ca/pipermail/soot-list/2009-December/002709.html

The analysis uses Soot Revision 3355.

I appreciate your help.
Daniel


More information about the Soot-list mailing list