[Soot-list] Issue instrumenting java 8 bytecode

Rashmi Mudduluru mudduluru.rashmi at csa.iisc.ernet.in
Sun Feb 8 05:32:07 EST 2015


Hi,

I am using the latest version of soot to instrument java 8 bytecode.
I get the following error message:

  [java] Soot started on Sun Feb 08 16:23:30 IST 2015
     [java] java.lang.RuntimeException: Failed to convert
<edu.stanford.nlp.pipeline.StanfordCoreNLP: void
processFiles(java.lang.String,java.util.Collection,int)>
     [java] 	at soot.asm.AsmMethodSource.getBody(AsmMethodSource.java:1772)
     [java] 	at soot.SootMethod.getBodyFromMethodSource(SootMethod.java:91)
     [java] 	at soot.SootMethod.retrieveActiveBody(SootMethod.java:324)
     [java] 	at
soot.jimple.toolkits.annotation.LineNumberAdder.internalTransform(LineNumberAdder.java:44)
     [java] 	at soot.PackManager.runPacksNormally(PackManager.java:452)
     [java] 	at soot.PackManager.runPacks(PackManager.java:391)
     [java] 	at soot.Main.run(Main.java:244)
     [java] 	at soot.Main.main(Main.java:152)
     [java] 	at
javato.instrumentor.TransformClass.processAllAtOnce(TransformClass.java:152)
     [java] 	at
javato.activetesting.instrumentor.InstrumentorForActiveTesting.main(InstrumentorForActiveTesting.java:47)
     [java] Caused by: java.lang.RuntimeException:
     [java] Aborting: can't find classfile java.lang.invoke.LambdaMetafactory
     [java] 	at soot.Scene.getSootClass(Scene.java:777)
     [java] 	at
soot.asm.AsmMethodSource.toSootMethodRef(AsmMethodSource.java:1310)
     [java] 	at
soot.asm.AsmMethodSource.convertInvokeDynamicInsn(AsmMethodSource.java:1236)
     [java] 	at soot.asm.AsmMethodSource.convert(AsmMethodSource.java:1605)
     [java] 	at soot.asm.AsmMethodSource.getBody(AsmMethodSource.java:1770)
     [java] 	... 9 more

Does anyone know how this can be solved?

Thanks,
Rashmi.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the Soot-list mailing list