Uploaded image for project: 'Maven Plugin Testing'
  1. Maven Plugin Testing
  2. MPLUGINTESTING-10

AbstractMojoTestCase#setVariableValueToObject throws NullPointerException

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Auto Closed
    • 1.2
    • None
    • plugin-testing-harness
    • None
    • any

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            francisdb Francis De Brabandere
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: