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

Error on setContentView #2

Open
Tigresss opened this issue Jan 20, 2017 · 2 comments
Open

Error on setContentView #2

Tigresss opened this issue Jan 20, 2017 · 2 comments

Comments

@Tigresss
Copy link

Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String[] java.lang.String.split(java.lang.String)' on a null object reference

@ldt116
Copy link

ldt116 commented Jun 15, 2017

I think I have the same issue. Log as below

                         E  Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String[] java.lang.String.split(java.lang.String)' on a null
                             object reference
                         E      at com.nihaskalam.progressbuttonlibrary.CircularProgressButton.initAttributes(CircularProgressButton.java:246)
                         E      at com.nihaskalam.progressbuttonlibrary.CircularProgressButton.init(CircularProgressButton.java:134)
                         E      at com.nihaskalam.progressbuttonlibrary.CircularProgressButton.<init>(CircularProgressButton.java:123)

@SimonStefan
Copy link

I had the same problem. I fixed it by setting the following attribute in xml:
android:textSize="14sp"

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