You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "francisdb (JIRA)" <ji...@codehaus.org> on 2009/06/16 12:31:15 UTC

[jira] Created: (MPLUGINTESTING-10) AbstractMojoTestCase#setVariableValueToObject throws NullPointerException

AbstractMojoTestCase#setVariableValueToObject throws NullPointerException
-------------------------------------------------------------------------

                 Key: MPLUGINTESTING-10
                 URL: http://jira.codehaus.org/browse/MPLUGINTESTING-10
             Project: Maven 2.x Plugin Testing
          Issue Type: Improvement
          Components: plugin-testing-harness
    Affects Versions: 1.2
         Environment: any
            Reporter: francisdb
            Priority: Minor


It would be nice if getVariableValueFromObject() and setVariableValueToObject() would throw an IllegalAccessException instead of a NullPointerException if the field does not exist. The exception should explain the user that the field he is trying to set does not exist int the provided object/class.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira