java.lang.ClassCastException: soot.jimple.NullConstant cannot be cast to soot.Local

GitHub | 2048li | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 360#240971216

    GitHub | 6 months ago | 2048li
    java.lang.ClassCastException: soot.jimple.NullConstant cannot be cast to soot.Local

    Root Cause Analysis

    1. java.lang.ClassCastException

      soot.jimple.NullConstant cannot be cast to soot.Local

      at soot.jimple.toolkits.callgraph.OnFlyCallGraphBuilder$DefaultReflectionModel.classForName()
    2. RoboVM Compiler
      PackManager.runPacks
      1. soot.jimple.toolkits.callgraph.OnFlyCallGraphBuilder$DefaultReflectionModel.classForName(OnFlyCallGraphBuilder.java:101)
      2. soot.jimple.toolkits.callgraph.OnFlyCallGraphBuilder.getImplicitTargets(OnFlyCallGraphBuilder.java:620)
      3. soot.jimple.toolkits.callgraph.OnFlyCallGraphBuilder.processNewMethod(OnFlyCallGraphBuilder.java:532)
      4. soot.jimple.toolkits.callgraph.OnFlyCallGraphBuilder.processReachables(OnFlyCallGraphBuilder.java:420)
      5. soot.jimple.toolkits.callgraph.CallGraphBuilder.build(CallGraphBuilder.java:96)
      6. soot.jimple.toolkits.callgraph.CHATransformer.internalTransform(CHATransformer.java:46)
      7. soot.SceneTransformer.transform(SceneTransformer.java:39)
      8. soot.Transform.apply(Transform.java:90)
      9. soot.RadioScenePack.internalApply(RadioScenePack.java:57)
      10. soot.jimple.toolkits.callgraph.CallGraphPack.internalApply(CallGraphPack.java:49)
      11. soot.Pack.apply(Pack.java:118)
      12. soot.PackManager.runWholeProgramPacks(PackManager.java:570)
      13. soot.PackManager.runPacksNormally(PackManager.java:461)
      14. soot.PackManager.runPacks(PackManager.java:396)
      14 frames
    3. com.shentanli.example
      sootMain.main
      1. com.shentanli.example.soot.sootMain.main(sootMain.java:78)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    5. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
      1 frame