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

ButtonRectangle getTextView() nullpointer exception #261

Open
Jdruwe opened this issue May 19, 2015 · 9 comments
Open

ButtonRectangle getTextView() nullpointer exception #261

Jdruwe opened this issue May 19, 2015 · 9 comments

Comments

@Jdruwe
Copy link

Jdruwe commented May 19, 2015

I just upgraded to the newest version and I get a nullpointer exception when I call getTextView() on my ButtonRectangle. What happened?

@jmvines
Copy link

jmvines commented May 21, 2015

me too

@Chostakovitch
Copy link

Same here. I can't resolve that.

@AlanVerbner
Copy link

I think it's beacause on this commit 1c574cf#diff-332a5defe7ad66da425918b00fce1925 a TextView was added to ButtonRectangle but getter is accessing parent's TextView which is null.

There are 2 pull requests about this bug but none of them were merged yet:

@naphthalene
Copy link

Original pull request has been up since November 2014 - is this getting fixed soon?

@pseudozach
Copy link

yeah I have a related issue as well. button.settext throws npe. merging the fix soon?

@naphthalene
Copy link

@pseudozach PR #275 works for me. Just check out that fork and build it, then add the generated aar to your libs folder and include it in build.gradle. Works as a temporary workaround

@pseudozach
Copy link

@naphthalene thanks, I switched to 1.4 build it doesnt have this issue. I have another problem tho, click on buttonrectangle is super slow. I'll go dig for this one now.

@cotfas
Copy link

cotfas commented Aug 31, 2015

I have the same problem

On 1.4 works perfectly but when I update to 1.5 I`m getting NullPointerEx on (ButtonRectangle)setText

I need the 1.5 version because of a Switch component bug which it was fixed on 1.5...

Any news ?

@cotfas
Copy link

cotfas commented Aug 31, 2015

Actually the Switch bug it doesn`t work on the 1.5 version as well.. :(

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

7 participants