[Soot-list] Eclipse Plugin - Viewing Call Graph

Jennifer LHOTAK jlhotak at sable.mcgill.ca
Wed Feb 9 09:31:28 EST 2005


Hi Michael,

We've been having problems with these editors on some platforms. They are
know to work on linux and windows. I know they are not working in the
cs lab (which may be a solaris machine). I am looking into this problem
and will let you know when I sort it out.

Jennifer

On Tue, 8 Feb 2005 mbatch at cs.mcgill.ca wrote:

> Hello,
>
> I am just trying to get the Soot plugin up and running on Eclipse 3.0.1.
> I seem to have everything running fine but when I try to test it out by
> viewing the call graph of a small program I get an error:
>
> "An error has occurred when creating this editor"
>
> Soot's error is printed out below.. Something about a ClassCastException
> trying to load the call graph viewer or the call graph's file?
>
> Any help is appreciated, thanks.
>
> Michael Batchelder
> ################################
>
> about to make new Generator
> creating call graph generator
> made new call graph generator
> info :class soot.jimple.toolkits.annotation.callgraph.CallGraphInfo
> part opened
> part opened
> java.lang.ClassCastException
>         at
> ca.mcgill.sable.soot.callgraph.CallGraphGenerator.run(CallGraphGenerator.java:77)
>         at
> ca.mcgill.sable.soot.interaction.InteractionController$8.run(InteractionController.java:309)
>         at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
>         at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:106)
>         at
> org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2572)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2301)
>         at
> org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:136)
>         at
> org.eclipse.jface.operation.ModalContext.run(ModalContext.java:262)
>         at
> ca.mcgill.sable.soot.launching.SootLauncher.runSootDirectly(SootLauncher.java:140)
>         at
> ca.mcgill.sable.soot.launching.SootConfigFileLauncher.launch(SootConfigFileLauncher.java:79)
>         at
> ca.mcgill.sable.soot.ui.SootConfigManagerDialog.runPressed(SootConfigManagerDialog.java:667)
>         at
> ca.mcgill.sable.soot.ui.SootConfigManagerDialog.buttonPressed(SootConfigManagerDialog.java:366)
>         at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:506)
>         at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:954)
>         at
> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2595)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2298)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:668)
>         at org.eclipse.jface.window.Window.open(Window.java:648)
>         at
> ca.mcgill.sable.soot.launching.SootConfigFileLauncher.run(SootConfigFileLauncher.java:49)
>         at
> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:276)
>         at
> org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:915)
>         at
> org.eclipse.jface.action.ActionContributionItem.access$500(ActionContributionItem.java:47)
>         at
> org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:785)
>         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:954)
>         at
> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2595)
>         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2298)
>         at
> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
>         at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
>         at
> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
>         at
> org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
>         at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
>         at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
>         at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
>         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:324)
>         at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
>         at org.eclipse.core.launcher.Main.run(Main.java:704)
>         at org.eclipse.core.launcher.Main.main(Main.java:688)
> Soot wait
>
>
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://www.sable.mcgill.ca/mailman/listinfo/soot-list
>



More information about the Soot-list mailing list