WALA icon indicating copy to clipboard operation
WALA copied to clipboard

Error with making call graph

Open JohnCheeKinChow opened this issue 3 years ago • 7 comments

CleanShot 2022-07-15 at 19 36 35

Hi, I want to make a call graph using SourceDirCallGraph example from the start project, and I run this command: ./gradlew -PmainClass=com.ibm.wala.examples.drivers.SourceDirCallGraph run --args="-sourceDir /Users/chowow/Desktop/bureaublad/School/2021-2022/2de sem/Bachelorproef/callGraph/test -mainClass example.java"

But then I got the error like in the picture. Can someone tell me why?

JohnCheeKinChow avatar Jul 15 '22 17:07 JohnCheeKinChow

Looks like the code didn't compile. Can you paste more of the log so we can see the compile errors?

msridhar avatar Jul 16 '22 10:07 msridhar

CleanShot 2022-07-16 at 15 09 55 CleanShot 2022-07-16 at 15 09 34 CleanShot 2022-07-16 at 15 09 02 I got these error message

JohnCheeKinChow avatar Jul 16 '22 13:07 JohnCheeKinChow

ohh I don't think it is in the right order. sorryy...

JohnCheeKinChow avatar Jul 16 '22 13:07 JohnCheeKinChow

Hi, I only have this error message now and my files does compile with" ./gradlew compileJava CleanShot 2022-07-19 at 17 52 37@2x

JohnCheeKinChow avatar Jul 19 '22 15:07 JohnCheeKinChow

@msridhar can you help me out? I still don't find it...

JohnCheeKinChow avatar Jul 22 '22 14:07 JohnCheeKinChow

@JohnCheeKinChow I think the issue here is the space character in your path /Users/chowow/Desktop/bureaublad/School/2021-2022/2de sem/.... Can you try running using a path without space characters, or by enclosing the path in quotes?

msridhar avatar Aug 03 '22 13:08 msridhar

Also, if you could paste your error messages and console output as text rather than images that would be better.

msridhar avatar Aug 03 '22 13:08 msridhar

Going to close this out assuming it was resolved

msridhar avatar Oct 29 '22 16:10 msridhar