You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Execution Environment: Win10, maven 3.5.3 (also tested with maven 3.0.5)
Reporter: András Szabolcs Nagy
Description
I got a NullPointerException from PmpMojo.java at line 166. I assume the local variable moduleList is null. It can happen when no targetClass is provided and the condition at line 151 returns true. In this case the moduleList is not initialized hence the NPE.
It seems the else keyword (at line 160 without scope) could be removed. (I did this and it seems to work now).
Steps to reproduce
I have just followed the instructions on the main site, maybe I misconfigured the pom.xml somehow as I did provide the <targetClasses> configuration.
The text was updated successfully, but these errors were encountered:
This issue is fixed in the release 1.1.5 available in Maven Central.
Unfortunately there is still a bug: if you don't specify any targetClass, no mutation are found. I created an issue for it (#10).
Characteristics
Description
I got a NullPointerException from PmpMojo.java at line 166. I assume the local variable
moduleList
is null. It can happen when no targetClass is provided and the condition at line 151 returns true. In this case the moduleList is not initialized hence the NPE.It seems the
else
keyword (at line 160 without scope) could be removed. (I did this and it seems to work now).Steps to reproduce
I have just followed the instructions on the main site, maybe I misconfigured the pom.xml somehow as I did provide the
<targetClasses>
configuration.The text was updated successfully, but these errors were encountered: