<div dir="ltr"><br><div>Dears,</div><div><br></div><div>I'm trying to use soot to implement my own flow analysis transformer.</div><div>I created a plugin for eclipse to try to get the project classpath and execute soot with my configuration.</div><div>This is my configuration</div><div><br></div><div><div class="prettyprint" style="background-color: rgb(250, 250, 250); border-color: rgb(187, 187, 187); border-style: solid; border-width: 1px; word-wrap: break-word;"><code class="prettyprint"><div class="subprettyprint"><font color="#666600"><span style="color: #606;" class="styled-by-prettify">Options</span><span style="color: #660;" class="styled-by-prettify">.</span><span style="color: #000;" class="styled-by-prettify">v</span><span style="color: #660;" class="styled-by-prettify">().</span><span style="color: #000;" class="styled-by-prettify">set_validate</span><span style="color: #660;" class="styled-by-prettify">(</span><span style="color: #008;" class="styled-by-prettify">false</span><span style="color: #660;" class="styled-by-prettify">);</span></font></div></code><div class="subprettyprint"><font color="#666600" face="monospace">Options.v().set_src_prec(Options.src_prec_java); </font></div><div class="subprettyprint"><font color="#666600" face="monospace">Options.v().set_output_dir(this.directoryOutputName.getText());</font></div><div class="subprettyprint"><font color="#666600" face="monospace">Options.v().set_output_format(Options.output_format_S);</font></div><div class="subprettyprint"><br></div><div class="subprettyprint"><font color="#666600" face="monospace">Options.v().set_allow_phantom_refs(true);<span class="Apple-tab-span" style="white-space:pre">                </span></font></div><div class="subprettyprint"><font color="#666600" face="monospace">Options.v().set_xml_attributes(false);</font></div><div class="subprettyprint"><font color="#666600" face="monospace">Options.v().set_force_overwrite(true);</font></div><div class="subprettyprint"><font color="#666600" face="monospace">Options.v().set_whole_shimple(true);</font></div><div class="subprettyprint"><span class="Apple-tab-span" style="white-space:pre"><font color="#666600" face="monospace">                    </font></span></div><div class="subprettyprint"><font color="#666600" face="monospace">Options.v().set_soot_classpath(urls.toString());</font></div><div class="subprettyprint"><font color="#666600" face="monospace">Options.v().set_whole_program(true);</font></div><div class="subprettyprint"><font color="#666600" face="monospace">Options.v().set_app(true);</font></div><div class="subprettyprint"><font color="#666600" face="monospace">Options.v().set_via_shimple(true);</font></div><div class="subprettyprint"><br></div><div class="subprettyprint"><font color="#666600" face="monospace">Scene.v().loadNecessaryClasses();</font></div><div class="subprettyprint"><span style="color: rgb(102, 102, 0); font-family: monospace;">SootClass c = Scene.v().forceResolve(returnFullClassName(), SootClass.BODIES); // ERROR HERE!!</span><br></div><div class="subprettyprint"><font color="#666600" face="monospace">c.setApplicationClass();</font></div><div class="subprettyprint"><span class="Apple-tab-span" style="white-space:pre"><font color="#666600" face="monospace">                   </font></span></div><div class="subprettyprint"><br></div><div class="subprettyprint"><font color="#666600" face="monospace">SootMethod method = c.getMethodByName(this.methodName.getText());//main</font></div><div class="subprettyprint"><font color="#666600" face="monospace">List<SootMethod> entryPoints = new ArrayList<SootMethod>();</font></div><div class="subprettyprint"><font color="#666600" face="monospace">entryPoints.add(method);</font></div><div class="subprettyprint"><font color="#666600" face="monospace">Scene.v().setEntryPoints(entryPoints);<span class="Apple-tab-span" style="white-space:pre">                              </span></font></div><div class="subprettyprint"><span class="Apple-tab-span" style="white-space:pre"><font color="#666600" face="monospace">              </font></span></div><div class="subprettyprint"><span style="color: rgb(102, 102, 0); font-family: monospace; white-space: pre;">                     </span><br></div><div class="subprettyprint"><font color="#666600" face="monospace">Options.v().set_include(sourcePackage);<span class="Apple-tab-span" style="white-space:pre">                  </span></font></div><div class="subprettyprint"><font color="#666600" face="monospace">PackManager v = PackManager.v();</font></div><div class="subprettyprint"><font color="#666600" face="monospace">Pack stp = v.getPack("stp");</font></div><div class="subprettyprint"><font color="#666600" face="monospace">ShimpleBodyTransformer bodyTransformer = new ShimpleBodyTransformer();</font></div><div class="subprettyprint"><font color="#666600" face="monospace">stp.add(new Transform("stp.mytransformer", bodyTransformer));</font></div><div class="subprettyprint"><span class="Apple-tab-span" style="white-space:pre"><font color="#666600" face="monospace">                   </font></span><span class="Apple-tab-span" style="white-space: pre;"><font color="#666600" face="monospace">            </font></span><span style="color: rgb(102, 102, 0); font-family: monospace; white-space: pre;">             </span></div><div class="subprettyprint"><font color="#666600" face="monospace">v.runPacks();</font></div></div><br>When I call <i>Scene.v().forceResolve </i>for the first time  it throws this exception:<br></div><div><br></div><div><div class="prettyprint" style="background-color: rgb(250, 250, 250); border-color: rgb(187, 187, 187); border-style: solid; border-width: 1px; word-wrap: break-word;"><code class="prettyprint"><div class="subprettyprint"><div class="prettyprint" style="border-width: 1px; border-style: solid; border-color: rgb(187, 187, 187); font-family: Arial, Helvetica, sans-serif; word-wrap: break-word;"><code class="prettyprint"><div class="subprettyprint"><div style="font-family: Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255);"><span class="styled-by-prettify" style="color: rgb(0, 0, 0);"><br>MESSAGE </span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">Unhandled</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);"> </span><span class="styled-by-prettify" style="color: rgb(0, 0, 136);">event</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);"> loop exception</span></div><div style="font-family: Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255);"><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">!</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">STACK </span><span class="styled-by-prettify" style="color: rgb(0, 102, 102);">0</span></div><div style="font-family: Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255);"><span class="styled-by-prettify" style="color: rgb(0, 102, 102);">java</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">lang</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">Error</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">:</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);"> </span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">Error</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">:</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);"> </span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">Failed</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);"> to load java</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">lang</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">CharSequence</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span></div><div style="font-family: Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255);"><span class="Apple-tab-span" style="white-space: pre;"><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">    </span></span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">at soot</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">JastAddJ</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">PathPart</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">getCompilationUnit</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">(</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">PathPart</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">java</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">:</span><span class="styled-by-prettify" style="color: rgb(0, 102, 102);">109</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">)</span></div><div style="font-family: Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255);"><span class="Apple-tab-span" style="white-space: pre;"><span class="styled-by-prettify" style="color: rgb(0, 0, 0);"> </span></span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">at soot</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">JastAddJ</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">Program</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">getCompilationUnit</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">(</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">Program</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">java</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">:</span><span class="styled-by-prettify" style="color: rgb(0, 102, 102);">873</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">)</span></div><div style="font-family: Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255);"><span class="Apple-tab-span" style="white-space: pre;"><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">   </span></span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">at soot</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">JastAddJ</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">Program</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">getLibCompilationUnit_compute</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">(</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">Program</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">java</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">:</span><span class="styled-by-prettify" style="color: rgb(0, 102, 102);">1517</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">)</span></div><div style="font-family: Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255);"><span class="Apple-tab-span" style="white-space: pre;"><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">       </span></span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">at soot</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">JastAddJ</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">Program</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">getLibCompilationUnit</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">(</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">Program</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">java</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">:</span><span class="styled-by-prettify" style="color: rgb(0, 102, 102);">1500</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">)</span></div><div style="font-family: Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255);"><span class="Apple-tab-span" style="white-space: pre;"><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">       </span></span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">at soot</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">JastAddJ</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">Program</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">lookupLibType_compute</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">(</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">Program</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">java</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">:</span><span class="styled-by-prettify" style="color: rgb(0, 102, 102);">1465</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">)</span></div><div style="font-family: Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255);"><span class="Apple-tab-span" style="white-space: pre;"><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">       </span></span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">at soot</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">JastAddJ</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">Program</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">lookupLibType</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">(</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">Program</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">java</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">:</span><span class="styled-by-prettify" style="color: rgb(0, 102, 102);">1433</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">)</span></div><div style="font-family: Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255);"><span class="Apple-tab-span" style="white-space: pre;"><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">       </span></span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">at soot</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">JastAddJ</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">Program</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">lookupType_compute</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">(</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">Program</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">java</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">:</span><span class="styled-by-prettify" style="color: rgb(0, 102, 102);">1412</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">)</span></div><div style="font-family: Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255);"><span class="Apple-tab-span" style="white-space: pre;"><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">  </span></span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">at soot</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">JastAddJ</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">Program</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">lookupType</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">(</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">Program</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">java</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">:</span><span class="styled-by-prettify" style="color: rgb(0, 102, 102);">1393</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">)</span></div><div style="font-family: Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255);"><span class="Apple-tab-span" style="white-space: pre;"><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">  </span></span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">at soot</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">JastAddJ</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">Program</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">Define_TypeDecl_lookupType</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">(</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">Program</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">java</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">:</span><span class="styled-by-prettify" style="color: rgb(0, 102, 102);">1981</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">)</span></div><div style="font-family: Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255);"><span class="Apple-tab-span" style="white-space: pre;"><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">  ... ommited </span></span></div><div style="font-family: Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255);"><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">Caused</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);"> </span><span class="styled-by-prettify" style="color: rgb(0, 0, 136);">by</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">:</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);"> java</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">lang</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">NullPointerException</span></div><div style="font-family: Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255);"><span class="Apple-tab-span" style="white-space: pre;"><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">      </span></span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">at soot</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">JastAddJ</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">BytecodeParser</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">parseThisClass</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">(</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">BytecodeParser</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">java</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">:</span><span class="styled-by-prettify" style="color: rgb(0, 102, 102);">439</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">)</span></div><div style="font-family: Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255);"><span class="Apple-tab-span" style="white-space: pre;"><span class="styled-by-prettify" style="color: rgb(0, 0, 0);"> </span></span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">at soot</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">JastAddJ</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">BytecodeParser</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">parseTypeDecl</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">(</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">BytecodeParser</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">java</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">:</span><span class="styled-by-prettify" style="color: rgb(0, 102, 102);">423</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">)</span></div><div style="font-family: Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255);"><span class="Apple-tab-span" style="white-space: pre;"><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">  </span></span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">at soot</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">JastAddJ</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">BytecodeParser</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">parse</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">(</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">BytecodeParser</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">java</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">:</span><span class="styled-by-prettify" style="color: rgb(0, 102, 102);">331</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">)</span></div><div style="font-family: Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255);"><span class="Apple-tab-span" style="white-space: pre;"><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">  </span></span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">at soot</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">JastAddJ</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">BytecodeParser</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">read</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">(</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">BytecodeParser</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">java</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">:</span><span class="styled-by-prettify" style="color: rgb(0, 102, 102);">27</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">)</span></div><div style="font-family: Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255);"><span class="Apple-tab-span" style="white-space: pre;"><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">    </span></span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">at soot</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">JastAddJ</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">PathPart</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">getCompilationUnit</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">(</span><span class="styled-by-prettify" style="color: rgb(102, 0, 102);">PathPart</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">.</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">java</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">:</span><span class="styled-by-prettify" style="color: rgb(0, 102, 102);">87</span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">)</span></div><div style="font-family: Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255);"><span class="Apple-tab-span" style="white-space: pre;"><span class="styled-by-prettify" style="color: rgb(0, 0, 0);">  </span></span><span class="styled-by-prettify" style="color: rgb(102, 102, 0);">...</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);"> </span><span class="styled-by-prettify" style="color: rgb(0, 102, 102);">122</span><span class="styled-by-prettify" style="color: rgb(0, 0, 0);"> more</span></div></div></code></div></div></code></div><br></div><div><br></div><div><br></div><div>But, when I run my program for the second time it works! <br></div><div><br></div><div>I don't know why it happens. There are some problem on classpath order? Or there are any problem in my code  to set soot configuration and run?</div><div><br></div><div><br></div><div><br></div><div>Thanks in advanced!</div><div>Glauco Cardoso</div><div><br></div><div><br></div><div><br></div><div><br><br><br><br></div><div><br></div></div>