NULL pointer dereference when probing Java methods

Tetsuo Handa penguin-kernel@I-love.SAKURA.ne.jp
Wed Dec 28 11:14:00 GMT 2016


Lukas Berk wrote:
> java("Test1").class("Test1").method("method1(int)") 100
> java("Test1").class("Test1").method("method2(String)") class java.lang.String
> java("Test1").class("Test1").method("method3(Test1)") class Test1
> 
> We're going to have to tweak this a bit more for the proper string
> argument (instead of 'class java.lang.String').  But thanks for bringing
> the crash to our attention!

Thank you for handling this problem. Just a confirmation.

I'm using java().class().method() syntax for retrieving "Hello" in this
example. If future releases return something like "java.lang.String",
I have to give up using this syntax.

You are going to add follow-up patches for b82a3aa8376d92bb
to allow retrieving "Hello" in this example, aren't you?



More information about the Systemtap mailing list