<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Hi Andrea</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">I added java.lang Object* to the exclusion list. I used the "smoke" example and change to scope="*"</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"></p>
<div></div>
<div>     [exec] dislserver: error communicating with client: unexpected end of streamError occurred during initialization of VM</div>
<div>     [exec] </div>
<div>     [exec] dislreserver: fatal error: java.io.EOFExceptionjava.lang.VerifyError: Bad type on operand stack</div>
<div>     [exec] </div>
<div>     [exec] Exception Details:</div>
<div>     [exec]   Location:<span style="white-space:pre"> </span>at java.io.DataInputStream.readByte(DataInputStream.java:267)</div>
<div>     [exec] </div>
<div>     [exec]     sun/reflect/ReflectionFactory.hasStaticInitializerForSerialization(Ljava/lang/Class;)Z @142: invokespecial</div>
<div>     [exec]   Reason:<span style="white-space:pre"> </span>at ch.usi.dag.dislreserver.DiSLREServer.processRequests(DiSLREServer.java:101)</div>
<div>     [exec] </div>
<div>     [exec]     Type 'java/lang/Object' (current frame, stack[3]) is not assignable to 'java/lang/Throwable'<span style="white-space:pre">
</span>at ch.usi.dag.dislreserver.DiSLREServer.run(DiSLREServer.java:76)</div>
<div>     [exec]   Current Frame:</div>
<div>     [exec] </div>
<div>     [exec]     bci: @142<span style="white-space:pre"> </span>at ch.usi.dag.dislreserver.DiSLREServer.main(DiSLREServer.java:58)</div>
<div>     [exec] </div>
<div>     [exec] </div>
<div>     [exec]     flags: { }</div>
<div>     [exec]     locals: { 'sun/reflect/ReflectionFactory', 'java/lang/Class', 'java/lang/reflect/Method', 'java/lang/Object' }</div>
<div>     [exec]     stack: { uninitialized 134, uninitialized 134, 'java/lang/String', 'java/lang/Object' }</div>
<div>     [exec]   Bytecode:</div>
<div>     [exec]     0x0000000: b800 249a 008f b800 29b2 002f 1231 b600</div>
<div>     [exec]     0x0000010: 37b8 003a a700 16b2 003d 123f b600 3759</div>
<div>     [exec]     0x0000020: b600 4411 029a b800 48bf b201 8c4d 2cc7</div>
<div>     [exec]     0x0000030: 0042 1301 8e13 0190 04bd 00a6 5903 12a6</div>
<div>     [exec]     0x0000040: 53b6 0157 4d2c 04b6 0164 2cb3 018c a700</div>
<div>     [exec]     0x0000050: 234e bb01 6e59 bb01 9259 b701 9313 0195</div>
<div>     [exec]     0x0000060: b601 9913 018e b601 9cb6 019f 2db7 0173</div>
<div>     [exec]     0x0000070: bf2c 0104 bd00 0459 032b 53b6 01a3 c001</div>
<div>     [exec]     0x0000080: a5b6 01a8 ac4e bb01 6e59 1301 aa2d b701</div>
<div>     [exec]     0x0000090: 73bf b201 8c4d 2cc7 0042 1301 8e13 0190</div>
<div>     [exec]     0x00000a0: 04bd 00a6 5903 12a6 53b6 0157 4d2c 04b6</div>
<div>     [exec]     0x00000b0: 0164 2cb3 018c a700 234e bb01 6e59 bb01</div>
<div>     [exec]     0x00000c0: 9259 b701 9313 0195 b601 9913 018e b601</div>
<div>     [exec]     0x00000d0: 9cb6 019f 2db7 0173 bf2c 0104 bd00 0459</div>
<div>     [exec]     0x00000e0: 032b 53b6 01a3 c001 a5b6 01a8 ac4e bb01</div>
<div>     [exec]     0x00000f0: 6e59 1301 aa2d b701 73bf               </div>
<div>     [exec]   Exception Handler Table:</div>
<div>     [exec]     bci [6, 23] => handler: 23</div>
<div>     [exec]     bci [113, 132] => handler: 133</div>
<div>     [exec]     bci [113, 132] => handler: 133</div>
<div>     [exec]     bci [50, 78] => handler: 81</div>
<div>     [exec]     bci [154, 182] => handler: 185</div>
<div>     [exec]     bci [217, 236] => handler: 237</div>
<div>     [exec]     bci [217, 236] => handler: 237</div>
<div>     [exec]   Stackmap Table:</div>
<div>     [exec]     same_locals_1_stack_item_frame(@23,Object[#65])</div>
<div>     [exec]     same_frame(@42)</div>
<div>     [exec]     full_frame(@81,{Object[#2],Object[#166],Object[#109]},{Object[#271]})</div>
<div>     [exec]     same_frame(@113)</div>
<div>     [exec]     same_locals_1_stack_item_frame(@133,Object[#4])</div>
<div>     [exec]     chop_frame(@146,1)</div>
<div>     [exec]     full_frame(@185,{Object[#2],Object[#166],Object[</div>
<div>     [exec] <span style="white-space:pre"></span>at sun.reflect.ReflectionFactory$GetReflectionFactoryAction.run(ReflectionFactory.java:105)</div>
<div>     [exec] <span style="white-space:pre"></span>at sun.reflect.ReflectionFactory$GetReflectionFactoryAction.run(ReflectionFactory.java:102)</div>
<div>     [exec] <span style="white-space:pre"></span>at java.security.AccessController.doPrivileged(Native Method)</div>
<div>     [exec] <span style="white-space:pre"></span>at java.lang.reflect.AccessibleObject.<clinit>(AccessibleObject.java:173)</div>
<div>     [exec] </div>
<div></div>
<div><br>
</div>
Cheers
<p></p>
<p style="margin-top:0;margin-bottom:0">Li</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Disl-user <disl-user-bounces@d3s.mff.cuni.cz> on behalf of Andrea Rosa <andrea.rosa@usi.ch><br>
<b>Sent:</b> Monday, February 11, 2019 9:14:51 PM<br>
<b>To:</b> disl-user@d3s.mff.cuni.cz<br>
<b>Subject:</b> Re: [DiSL-user] Instrument all classes</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hi Li,<br>
<br>
please try to exclude java.lang.Object from instrumentation, by adding “java.lang.Object.*" to the exclusion list.<br>
Does it solve the problem? If not, could you please post a stack trace?<br>
<br>
Thanks,<br>
Andrea<br>
<br>
------------<br>
Andrea Rosà<br>
Postdoctoral Researcher<br>
Faculty of Informatics - Office SI-205<br>
Università della Svizzera italiana (USI)<br>
Via G. Buffi 13<br>
CH-6904 Lugano<br>
Switzerland<br>
(e) andrea.rosa@usi.ch<<a href="mailto:andrea.rosa@usi.ch">mailto:andrea.rosa@usi.ch</a>><br>
(p) +41 58 666 4455 ext. 2183<br>
(w) <a href="http://www.inf.usi.ch/phd/rosaa/">http://www.inf.usi.ch/phd/rosaa/</a><br>
<br>
On 10 Feb 2019, at 22:31, Sui, Li <L.Sui@massey.ac.nz<mailto:L.Sui@massey.ac.nz>> wrote:<br>
<br>
Dear Community<br>
<br>
Does DiSl allow to instrument all classes? (application+ JRE core)?  I tried scope = "*"  and JVM crashed. I think DiSl has this dynamic bypass mechanismwhich instruments classes in different JVM.<br>
Is it for DiSl instrumentation only? Does it provide access to user-defined instrumentation?<br>
<br>
Cheers<br>
Li<br>
_______________________________________________<br>
Disl-user mailing list<br>
Disl-user@d3s.mff.cuni.cz<mailto:Disl-user@d3s.mff.cuni.cz><br>
<a href="https://d3s.mff.cuni.cz/mailman/listinfo/disl-user">https://d3s.mff.cuni.cz/mailman/listinfo/disl-user</a><br>
<br>
_______________________________________________<br>
Disl-user mailing list<br>
Disl-user@d3s.mff.cuni.cz<br>
<a href="https://d3s.mff.cuni.cz/mailman/listinfo/disl-user">https://d3s.mff.cuni.cz/mailman/listinfo/disl-user</a><br>
</div>
</span></font></div>
</body>
</html>