SuSi icon indicating copy to clipboard operation
SuSi copied to clipboard

Exception in thread "main" java.long.RuntimeException":

Open cardaminexhz opened this issue 9 years ago • 9 comments

Hi, I have tried to use SuSi to generate Android sources and sinks, so that I can use them as input in FlowDroid to generate CFG. But now I encountered this problem when I tried to run SuSi by input this in command line(windows): java -cp lib/weka.jar;soot-trunk.jar;soot-infoflow.jar;soot-infoflow-android.jar;SuSi.jar de.ecspride.sourcesinkfinder.SourceSinkFinder android-10.jar permissionMethodWithLabel.pscout out.pscout Then, I got this error. 1

I get 'andorid-10.jar' from Sable/android-platforms(I have also tried some other android-xx.jars, e.g. 9, 11, 13, 15, 17, still got the same error), and get other required jars from the place where StevenArzt mentioned in issue #3 . image

So, may somebody offer me some help?

cardaminexhz avatar May 03 '16 13:05 cardaminexhz

Your android-10.jar file looks a bit too small with only 44 KB. It should be roughly 8 MB of size. Did you really use this link? https://github.com/Sable/android-platforms/blob/master/android-10/android.jar?raw=true

StevenArzt avatar May 03 '16 13:05 StevenArzt

Thank you for pointing this. I should be more careful.

But then I got another problem. I operated in branch develop, use the right Android.jar. qq 20160504102907

The problem is shown as followed qq 20160504103009

cardaminexhz avatar May 04 '16 02:05 cardaminexhz

Are you using our original input file with the annotations or did you modify it? Apparently, the machine learner is complaining about inconsistent classifications in that file.

StevenArzt avatar May 04 '16 16:05 StevenArzt

Yes, I used the original input file without modification. I just copyed soot-trunk.jar;soot-infoflow.jar;soot-infoflow-android.jar;SuSi.jar and Android.jar to the same directory. Then, I execuated the command. I've tried several times, but just got the same problem. Thanks for your time.

cardaminexhz avatar May 05 '16 02:05 cardaminexhz

I also meet the problem ,have you solve the exception ?

lizheng5916 avatar Jun 22 '16 05:06 lizheng5916

Sorry, I didn't.

cardaminexhz avatar Jun 22 '16 05:06 cardaminexhz

windows platform cause the problem? who knows?

lizheng5916 avatar Jun 22 '16 05:06 lizheng5916

Hi, where I can get SuSi.jar file?

Zhongen avatar Aug 09 '17 02:08 Zhongen

He has provided link for nightly build but its not working. I imported project and built using IDE.

freefire4547 avatar Oct 12 '17 18:10 freefire4547