Skip to content

client crash due to NPE #22

Open
Open
@DanielYWoo

Description

@DanielYWoo

in the method buildJavaScriptData(), you should check null first.
e,g. if (event == null) event = "onerror";

Otherwise, when the network is broken and recovers, your app will crash due to the NPE.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions