Donate Share

Struts Wizard

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

java.lang.NullpointerException

You are viewing a single message from this topic. View all messages.

  1. 2003-11-24 22:24:22 UTC
    First, sample application lacks other controls than text fields.
    ------------------------------------

    So, when I use <html:checkbox property="test" /> control I get java.lang.NullPointerException in my Action class.
    Why?

    java.lang.NullPointerException
    at net.aejase.plugin.wizard.WizardUtils.getActionFormFields(WizardUtils.java:120)
    ...

    My struts-config.xml file is properly configured.
    I've tried to do nothing in my Action class, but the java.lang.NullPointerException still occures.

    My ActinForm contains properly defined methods:
    public void setTest(boolean proba) { this.test=proba; }
    public boolean isTest() { return test; }

    Field test is initially set as false.
    My ActinForm also contains adequate reset() method.

< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.