Hi,

I don't have found this problem in the surefire plugin issues database.

Here is the problem i saw.

A. steps :
in a maven plugin test case, change the System properties to a new empty
Properties object
in the tested mojo, create another new Properties object with one value
store that last Properties in a non existent File using a FileWriter

B. what i expected :
the file with the value set

C. what i had :
a null pointer exception

what i saw in a debugger :
the npe comes from the fikewrier which is null

But the mojo is when called without having changed the system properties,
the file is correctly created

Where do i have to put an issue :
- maven-surefire plugin,
- surefire,
- junit,
- or java ?

Regards

Raphaël

Reply via email to