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

java.lang.IllegalArgumentException when ... #1647

Open
liangyixiki opened this issue Jun 9, 2021 · 3 comments · May be fixed by #1697
Open

java.lang.IllegalArgumentException when ... #1647

liangyixiki opened this issue Jun 9, 2021 · 3 comments · May be fixed by #1697

Comments

@liangyixiki
Copy link

Steps to reproduce:
1.) ...

Files used to reproduce:
...

Soot version:

trunk

Command line:

-cp /Users/w/Desktop/test/MethodGraph/target/classes -pp -f J -W testers.CallGraphs

Max Memory:

1820MB

Stack trace:

java.lang.IllegalArgumentException: Attempt to create SootMethodRef with null returnType
	at soot.SootMethodRefImpl.<init>(SootMethodRefImpl.java:84)
	at soot.Scene.makeMethodRef(Scene.java:1917)
	at soot.jimple.toolkits.callgraph.OnFlyCallGraphBuilder.addType(OnFlyCallGraphBuilder.java:649)
	at soot.jimple.toolkits.callgraph.CallGraphBuilder.processReceivers(CallGraphBuilder.java:201)
	at soot.jimple.toolkits.callgraph.CallGraphBuilder.process(CallGraphBuilder.java:128)
	at soot.jimple.toolkits.callgraph.CallGraphBuilder.build(CallGraphBuilder.java:114)
	at soot.jimple.toolkits.callgraph.CHATransformer.internalTransform(CHATransformer.java:54)
	at soot.SceneTransformer.transform(SceneTransformer.java:36)
	at soot.Transform.apply(Transform.java:105)
	at soot.RadioScenePack.internalApply(RadioScenePack.java:64)
	at soot.jimple.toolkits.callgraph.CallGraphPack.internalApply(CallGraphPack.java:61)
	at soot.Pack.apply(Pack.java:118)
	at soot.PackManager.runWholeProgramPacks(PackManager.java:619)
	at soot.PackManager.runPacksNormally(PackManager.java:500)
	at soot.PackManager.runPacks(PackManager.java:425)
	at soot.Main.run(Main.java:280)
	at soot.Main.main(Main.java:142)
@liangyixiki
Copy link
Author

I just want to use -w

@linghuiluo
Copy link
Member

if you don't provide the class file for us to reproduce this issue, we cant help you.

@canliture
Copy link
Contributor

The same problem, I gave the solution at #1697 #1696

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

Successfully merging a pull request may close this issue.

3 participants