The StepBuilder does not set any defaults, e.g. for its backButton property, but always uses the Step setters in the build method even when a property is null.
As a result, default properties of the created Step object might be overridden with null values and in turn trigger a NullPointerException.
The
StepBuilderdoes not set any defaults, e.g. for itsbackButtonproperty, but always uses theStepsetters in thebuildmethod even when a property isnull.As a result, default properties of the created
Stepobject might be overridden withnullvalues and in turn trigger aNullPointerException.