Maven 2.x Plugin Testing

AbstractMojoTestCase#setVariableValueToObject throws NullPointerException

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.2
  • Fix Version/s: None
  • Component/s: plugin-testing-harness
  • Labels:
    None
  • Environment:
    any
  • Number of attachments :
    0

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.

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated: