You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.
Caused by: java.lang.NullPointerException: Attempt to read from null array at com.shuhart.stepview.StepView.getAnimator(StepView.java:205) at com.shuhart.stepview.StepView.animate(StepView.java:170) at com.shuhart.stepview.StepView.go(StepView.java:152) at com.supercaly.petify.Activities.AggiungiActivity.setStep(AggiungiActivity.java:96) at com.supercaly.petify.Activities.AggiungiActivity.onCreate(AggiungiActivity.java:56) at android.app.Activity.performCreate(Activity.java:6237) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
The text was updated successfully, but these errors were encountered:
Same problem here.
It is caused when the view is added and measured without steps, than in first frames the steps are set. After this the go(x, true) method throws this error as startLinesX and endLinesX arrays are null.
When I add it in the viewCreated method it works correctly.
Every time i rotate the screen this error happen
Caused by: java.lang.NullPointerException: Attempt to read from null array at com.shuhart.stepview.StepView.getAnimator(StepView.java:205) at com.shuhart.stepview.StepView.animate(StepView.java:170) at com.shuhart.stepview.StepView.go(StepView.java:152) at com.supercaly.petify.Activities.AggiungiActivity.setStep(AggiungiActivity.java:96) at com.supercaly.petify.Activities.AggiungiActivity.onCreate(AggiungiActivity.java:56) at android.app.Activity.performCreate(Activity.java:6237) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
The text was updated successfully, but these errors were encountered: