Do you have the 'dot' program installed? It looks like you have not specified the 'dot' executable for the system to find. WalaExamplesProperties.DOT_EXE needs to be set.
-- Julian
Pavan Kulkarni ---04/08/2013 09:06:22 AM---Hi ashish, I am facing a similar problem where on executing PDFSlice I get a
| Pavan Kulkarni <pavan....@gmail.com> |
| wala-sourc...@googlegroups.com, |
| 04/08/2013 09:06 AM |
| Re: [Wala-wala] IOException running PDFCallGraph example |
Hi Pavan,
1. The instructions for how to run PDFSlice are in the javadoc for its main() method:
https://github.com/wala/WALA/blob/c20348e89e2da1ce415f0eb2df73ba59b51af517/com.ibm.wala.core.tests/src/com/ibm/wala/examples/drivers/PDFSlice.java#L80
Here are the command-line arguments used in the provided launcher, as an example:
-appJar ${workspace_loc}/com.ibm.wala.core.testdata/bin/com.ibm.wala.core.testdata_1.0.0.jar -mainClass "Lslice/Slice4" -srcCaller "main" -srcCallee "foo" -dd "no_base_no_heap" -cd "none" -dir "forward"
The code expects the mainClass to be specified in the JVM-style format, i.e., Lslice/Slice4 rather than slice.Slice4. The error about not being able to resolve your class means that WALA could not find the class in the jar provided as the appJar argument.
2. Strange, I see this error too. I'm able to double-click the resulting PDF file afterward and view it. Does that work for you? I'll try to dig into why this is occurring.
Let us know if there are other outstanding questions.
Thanks,
Manu
-------------------------------------------
Manu Sridharan
IBM T.J. Watson Research Center
http://researcher.ibm.com/view.php?person=us-msridhar
Pavan Kulkarni ---04/08/2013 11:48:59 AM---Julian, I have fixed most of the bugs, butam still facing with these issues.It
--With Regards
Pavan Kulkarni------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
Hi all

Hi Pavan,
The original test program is here:
https://github.com/wala/WALA/blob/master/com.ibm.wala.core.testdata/src/slice/Slice4.java?source=c
The slice is a forward slice on the call to foo() from main(), and you can see that the slice includes the call to bar(), as expected. For more on the slicer, see here:
http://wala.sourceforge.net/wiki/index.php/UserGuide:Slicer
--Manu
-------------------------------------------
Manu Sridharan
IBM T.J. Watson Research Center
http://researcher.ibm.com/view.php?person=us-msridhar
Pavan Kulkarni ---04/09/2013 07:42:47 PM---Hi, I was able to fix the issues with "Error loading pdf" problem by
--With Regards
Pavan Kulkarni------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter_______________________________________________
Wala-wala mailing list
Wala...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wala-wala