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

via GitHub by Almtesh
, 1 year ago
Attempt to get length of null array
java.lang.NullPointerException: Attempt to get length of null array	at com.horaapps.leafpic.Base.Album.updatePhotos(Album.java:79)	at com.horaapps.leafpic.Base.Album.(Album.java:64)	at com.horaapps.leafpic.PhotoPagerActivity.onCreate(PhotoPagerActivity.java:101)	at android.app.Activity.performCreate(Activity.java:5990)	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2332)	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2442)	at android.app.ActivityThread.access$800(ActivityThread.java:156)	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1351)	at android.os.Handler.dispatchMessage(Handler.java:102)	at android.os.Looper.loop(Looper.java:211)	at android.app.ActivityThread.main(ActivityThread.java:5371)	at java.lang.reflect.Method.invoke(Native Method)	at java.lang.reflect.Method.invoke(Method.java:372)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:945)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:740)