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

NullPointer in Android 4.4 KitKat with spinner in horizontal oriented LinearLayout #178

Closed
weicheng113 opened this Issue Sep 26, 2014 · 0 comments

Comments

Projects
None yet
1 participant
@weicheng113
Member

weicheng113 commented Sep 26, 2014

Thanks Simon for revealing the bug - https://groups.google.com/forum/#!topic/robobinding/ozzYlHCCnlc.
<LinearLayout
android:orientation="horizontal"
...>
<Spinner
...
bind:itemLayout="@layout/view_spinner_item"
bind:dropdownLayout="@layout/view_spinner_item"
bind:source="{source}"/>

java.lang.NullPointerException
at android.widget.TextView.makeNewLayout(TextView.java:6124)
at android.widget.TextView.onMeasure(TextView.java:6400)
at android.view.View.measure(View.java:16458)
at android.widget.Spinner.setUpChild(Spinner.java:632)
at android.widget.Spinner.makeView(Spinner.java:595)
at android.widget.Spinner.getBaseline(Spinner.java:431)

@weicheng113 weicheng113 added the Bug label Sep 26, 2014

@weicheng113 weicheng113 added this to the v0.8.8 milestone Sep 26, 2014

weicheng113 added a commit that referenced this issue Sep 26, 2014

weicheng113 added a commit that referenced this issue Sep 26, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment