Skip to content

null pointer exception #1

@haliekim18

Description

@haliekim18

the runtime error null pointer exception is probably because you declared/called a variable wrong. If you have a static variable you can't call it using this.var. Either use the class (Class.var) or just get rid of the this.

static variables can't be called using this.var since it doesn't exist inside the specific object, it's shared by the class.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions