Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cardaminexhz opened this issue May 3, 2016 · 9 comments
Open

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

cardaminexhz opened this issue May 3, 2016 · 9 comments

Comments

@cardaminexhz
Copy link

cardaminexhz commented May 3, 2016

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?

@StevenArzt
Copy link
Member

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

@cardaminexhz
Copy link
Author

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

@StevenArzt
Copy link
Member

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.

@cardaminexhz
Copy link
Author

cardaminexhz commented May 5, 2016

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.

@lizheng5916
Copy link

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

@cardaminexhz
Copy link
Author

Sorry, I didn't.

@lizheng5916
Copy link

windows platform cause the problem? who knows?

@Zhongen
Copy link

Zhongen commented Aug 9, 2017

Hi, where I can get SuSi.jar file?

@freefire4547
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants