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
crashes on the first line of the method as "stepLayouts" is null.
Only appears to be an issue on 4.4.2. Could a fix be applied for this when possible.
Thanks
Stacktrace below.
Caused by: java.lang.NullPointerException
at ernestoyaquello.com.verticalstepperform.VerticalStepperFormLayout.enableStepLayout(VerticalStepperFormLayout.java:750)
at ernestoyaquello.com.verticalstepperform.VerticalStepperFormLayout.openStep(VerticalStepperFormLayout.java:676)
at ernestoyaquello.com.verticalstepperform.VerticalStepperFormLayout.goToStep(VerticalStepperFormLayout.java:334)
at ernestoyaquello.com.verticalstepperform.VerticalStepperFormLayout.restoreFormState(VerticalStepperFormLayout.java:890)
at ernestoyaquello.com.verticalstepperform.VerticalStepperFormLayout.onRestoreInstanceState(VerticalStepperFormLayout.java:1006)
at android.view.View.dispatchRestoreInstanceState(View.java:13722)
at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2844)
at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2850)
at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2850)
at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2850)
at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2850)
at android.view.View.restoreHierarchyState(View.java:13700)
at com.android.internal.policy.impl.PhoneWindow.restoreHierarchyState(PhoneWindow.java:1952)
at android.app.Activity.onRestoreInstanceState(Activity.java:983)
at android.app.Activity.performRestoreInstanceState(Activity.java:955)
at android.app.Instrumentation.callActivityOnRestoreInstanceState(Instrumentation.java:1144)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2373)
The text was updated successfully, but these errors were encountered:
First of all, sorry for the immense delay in my response; after a long period of abandonment it is only recently that I have found the time to work on this library again.
Regarding the issue, I am going to assume that this is no longer happening in the new version of the library, as most of its code has been refactored. Please check it out if you are still interested and don't hesitate to come to me again in case the problem persists after migrating to the new version.
I use the stepper to display images captured from either camera or gallery. Once an image is captured from camera or image selected from gallery.
When coming back to my apps activity with the stepper form, the following method
protected void enableStepLayout(int stepNumber, boolean smoothieEnabling)
crashes on the first line of the method as "stepLayouts" is null.
Only appears to be an issue on 4.4.2. Could a fix be applied for this when possible.
Thanks
Stacktrace below.
Caused by: java.lang.NullPointerException
at ernestoyaquello.com.verticalstepperform.VerticalStepperFormLayout.enableStepLayout(VerticalStepperFormLayout.java:750)
at ernestoyaquello.com.verticalstepperform.VerticalStepperFormLayout.openStep(VerticalStepperFormLayout.java:676)
at ernestoyaquello.com.verticalstepperform.VerticalStepperFormLayout.goToStep(VerticalStepperFormLayout.java:334)
at ernestoyaquello.com.verticalstepperform.VerticalStepperFormLayout.restoreFormState(VerticalStepperFormLayout.java:890)
at ernestoyaquello.com.verticalstepperform.VerticalStepperFormLayout.onRestoreInstanceState(VerticalStepperFormLayout.java:1006)
at android.view.View.dispatchRestoreInstanceState(View.java:13722)
at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2844)
at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2850)
at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2850)
at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2850)
at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2850)
at android.view.View.restoreHierarchyState(View.java:13700)
at com.android.internal.policy.impl.PhoneWindow.restoreHierarchyState(PhoneWindow.java:1952)
at android.app.Activity.onRestoreInstanceState(Activity.java:983)
at android.app.Activity.performRestoreInstanceState(Activity.java:955)
at android.app.Instrumentation.callActivityOnRestoreInstanceState(Instrumentation.java:1144)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2373)
The text was updated successfully, but these errors were encountered: