java.lang.NullPointerException: Attempt to read from null array

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.NullPointerException: Attempt to read from null array
at org.joda.time.tz.CachedDateTimeZone.getInfo(CachedDateTimeZone.java:143)
at org.joda.time.tz.CachedDateTimeZone.getOffset(CachedDateTimeZone.java:103)
at org.joda.time.format.DateTimeFormatter.printTo(DateTimeFormatter.java:722)
at org.joda.time.format.DateTimeFormatter.printTo(DateTimeFormatter.java:535)
at org.joda.time.format.DateTimeFormatter.print(DateTimeFormatter.java:671)
at org.joda.time.base.AbstractDateTime.toString(AbstractDateTime.java:328)
at com.lasalle.mobile.model.TimeSlot.toString(TimeSlot.java:28)
at com.lasalle.mobile.view.adapters.spinner.TimeSlotAdapter.getView(TimeSlotAdapter.java:54)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.