Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] NullPointerException in pass: MethodInvokeVisitor #857

Closed
bagipro opened this issue Feb 17, 2020 · 2 comments
Closed

[core] NullPointerException in pass: MethodInvokeVisitor #857

bagipro opened this issue Feb 17, 2020 · 2 comments
Labels
bug Core Issues in jadx-core module

Comments

@bagipro
Copy link
Collaborator

bagipro commented Feb 17, 2020

Hi, error is shown in class com.truecaller.sdk.utils.TcAccountStateProvider

    /*  JADX ERROR: NullPointerException in pass: MethodInvokeVisitor
        java.lang.NullPointerException
        */
    public final boolean onCreate() {
        /*
            r3 = this;
            java.lang.StringBuilder r0 = new java.lang.StringBuilder
            java.lang.String r1 = "content://"
            r0.<init>(r1)
            android.content.Context r1 = r3.getContext()
            java.lang.Class r2 = r3.getClass()
            java.lang.String r1 = com.truecaller.common.p234c.p236b.C5979b.m18682a(r1, r2)
            r0.append(r1)
            java.lang.String r0 = r0.toString()
            android.net.Uri r0 = android.net.Uri.parse(r0)
            java.lang.String r1 = "tcAccountState"
            android.net.Uri r0 = android.net.Uri.withAppendedPath(r0, r1)
            java.lang.String r1 = "Uri.withAppendedPath(Uri…this.javaClass)}\"), PATH)"
            p311d.p316g.p318b.C7843k.m26261a(r0, r1)
            r3.f49534a = r0
            r0 = 1
            return r0
        */
        throw new UnsupportedOperationException("Method not decompiled: com.truecaller.sdk.utils.TcAccountStateProvider.onCreate():boolean");
    }

APK: https://drive.google.com/file/d/1Rm0nmyWyTbVbOet5Sqk3rUQ3wLNylkIc/view?usp=sharing

@bagipro bagipro added bug Core Issues in jadx-core module labels Feb 17, 2020
@skylot
Copy link
Owner

skylot commented Feb 17, 2020

@sergey-wowwow thanks! NPE fixed.

@skylot skylot closed this as completed Feb 17, 2020
@bagipro
Copy link
Collaborator Author

bagipro commented Feb 17, 2020

@skylot
Cool! Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Core Issues in jadx-core module
Projects
None yet
Development

No branches or pull requests

2 participants