Skip to content
This repository has been archived by the owner on Mar 25, 2018. It is now read-only.

Rendering issues? #21

Open
farbodsz opened this issue Jan 17, 2016 · 3 comments
Open

Rendering issues? #21

farbodsz opened this issue Jan 17, 2016 · 3 comments

Comments

@farbodsz
Copy link
Owner

I am getting the following error, when using the LabelledSpinner in my layout (v1.1.4):

The following classes could not be instantiated:
- com.farbod.labelledspinner.LabelledSpinner (Open Class, Show Exception, Clear Cache)
Tip: Use View.isInEditMode() in your custom views to skip code or show sample data when shown in the IDE

java.lang.NullPointerException
    at com.farbod.labelledspinner.LabelledSpinner.alignLabelWithSpinnerItem(LabelledSpinner.java:600)
    at com.farbod.labelledspinner.LabelledSpinner.<init>(LabelledSpinner.java:146)
    at com.farbod.labelledspinner.LabelledSpinner.<init>(LabelledSpinner.java:112)
    at com.farbod.labelledspinner.LabelledSpinner.<init>(LabelledSpinner.java:108)
    at sun.reflect.GeneratedConstructorAccessor600.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    ...

Is any one else getting the same issue?

@farbodsz
Copy link
Owner Author

After some experimenting, I've found that I do not get this issue in version 1.1.3, so it seems to be a version 1.1.4 issue.

@farbodsz
Copy link
Owner Author

If anyone finds a solution, feel free to post here...

@farbodsz
Copy link
Owner Author

Version 1.1.5 does not change anything regarding this issue.

@farbodsz farbodsz self-assigned this Feb 4, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant