You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With IDEA on windows, when I try to run "VisualizeCfa" from proguard.examples, I got this null pointer exception.
Tried master and tag 9.0.9, same result.
Tried to trace into the code execution, noticed:
3.1 This null pointer is reported by ExecutingInvocationUnit.returnsOwnInstance, where the input "method" is a null pointer but referenced.
3.2 The input "method" is a field of an AnyMethodrefConstant object -> AnyMethodrefConstant.referencedMethod.
Below I tied to debug the issue, just for your information:
4. Tried to check how the AnyMethodrefConstant is being constructed, noticed:
4.1 It seems to be created by ProgramClassReader.createConstant
4.2 ProgramClassReader.createConstant in turn called default constructor of MethodrefConstant, where "referencedMethod" never got the chance to be initialized.
With those findings, it seems to me the VisualizeCfa example is doomed to fail. Or where did I got it wrong?
The text was updated successfully, but these errors were encountered:
Problem description:
3.1 This null pointer is reported by ExecutingInvocationUnit.returnsOwnInstance, where the input "method" is a null pointer but referenced.
3.2 The input "method" is a field of an AnyMethodrefConstant object -> AnyMethodrefConstant.referencedMethod.
Below I tied to debug the issue, just for your information:
4. Tried to check how the AnyMethodrefConstant is being constructed, noticed:
4.1 It seems to be created by ProgramClassReader.createConstant
4.2 ProgramClassReader.createConstant in turn called default constructor of MethodrefConstant, where "referencedMethod" never got the chance to be initialized.
With those findings, it seems to me the VisualizeCfa example is doomed to fail. Or where did I got it wrong?
The text was updated successfully, but these errors were encountered: