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

int width=myView.getWidth() on a null object reference #4

Open
asqa opened this issue Feb 2, 2018 · 5 comments
Open

int width=myView.getWidth() on a null object reference #4

asqa opened this issue Feb 2, 2018 · 5 comments

Comments

@asqa
Copy link

asqa commented Feb 2, 2018

iam trying to make app like what you done but i got some error
"int width=myView.getWidth()" on a null object reference. How i can fix this?

@ItzNotABug
Copy link

Your myView might be null

@asqa
Copy link
Author

asqa commented Feb 8, 2018

i think so..
so what i should to do?

@ItzNotABug
Copy link

check if the View you are passing does exist & is Right for e.g. Typo while typing IDs

@asqa
Copy link
Author

asqa commented Feb 8, 2018

ok thanks..let me try first

@Kelvao
Copy link

Kelvao commented Jul 10, 2018

same problem here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants