WeekDatePicker icon indicating copy to clipboard operation
WeekDatePicker copied to clipboard

i got some error

Open elhak opened this issue 9 years ago • 6 comments

java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference

how to solve that?

elhak avatar Apr 14 '16 12:04 elhak

could you post whole stack trace or instructions how to reproduce this issue?

blazsolar avatar Apr 14 '16 13:04 blazsolar

i just add this in my layout and i got error like that.. <solar.blaz.date.week.WeekDatePicker android:id="@+id/date_picker" android:layout_width="match_parent" android:layout_height="wrap_content" android:paddingTop="5dp" android:paddingBottom="5dp" android:textSize="18sp" app:wdp_labelTextSize="12sp" app:wdp_labelPadding="5dp" app:wdp_firstDayOfWeek="monday"/>

elhak avatar Apr 15 '16 01:04 elhak

Are you sure it is WeekDatePickers fault. TextView is never used in this library so it is strange that that would be the cause of the error.

blazsolar avatar Apr 15 '16 06:04 blazsolar

ohh yes sorry is my bad,, but i got error this

Failed to find style 'weekDatePickerStyle' in current theme (2 similar errors not shown)

elhak avatar Apr 15 '16 08:04 elhak

and i got new error in layouting like this org.threeten.bp.zone.ZoneRulesException: No time-zone data files registered

elhak avatar Apr 15 '16 12:04 elhak

how to solve that?

elhak avatar Apr 15 '16 12:04 elhak