Article ID: 119048, created on Dec 6, 2013, last review on May 7, 2014

  • Applies to:
  • APS 2.x

Symptoms

My sandbox was upgraded to POA 5.5.2+ and now when I try to navigate to a step in a wizard i get java.lang.NullPointerException.

Cause

Wizard declaration in APP-META.xml is not supported, all the logic should be implemented via widgets (aps/WizardData and aps/WizardControl).

Resolution

Remove wizard and step from APP-META.xml.

Before:

<view id="servers" label="Servers">
<wizard id="new">
    <step id="step1-new" label="Step 1 label">
        <view id="server.new-1" label="Edit (step 1)">
            <controls>
                <next/>
            </controls>
        </view>
    </step>
    <step id="step2-new" label="Step2">
        <view id="server.new-2" label="Edit (step 2)">
            <controls>
                <prev/>
                <next/>
            </controls>
        </view>
    </step>
</view>

After:

<view id="servers" label="Servers">
    <view id="server.new-1" label="Edit (step 1)">
            <controls>
                    <next/>
            </controls>
    </view>
    <view id="server.new-2" label="Edit (step 2)">
            <controls>
                    <prev/>
                    <next/>
            </controls>
    </view>
</view>

70bf700e0cdb9d7211df2595ef7276ab 717db81efe94e616312b74fb03a5d474

Email subscription for changes to this article
Save as PDF