Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] NPE in surefire with 0.22

Hi all,


I experience a NPE in (non Tycho) surefire code after the upgrade to 0.22. I just want to know if the Tycho developers are interested in that or if I should instead report that on the parent Maven Surefire project.



Caused by: java.lang.NullPointerException

       at org.apache.maven.plugin.surefire.util.ScannerUtil.processIncludesExcludes(

       at org.apache.maven.plugin.surefire.util.DirectoryScanner.scan(

       at org.eclipse.tycho.surefire.TestMojo.scanForTests(

       at org.eclipse.tycho.surefire.TestMojo.createSurefireProperties(

       at org.eclipse.tycho.surefire.TestMojo.createEclipseInstallation(

       at org.eclipse.tycho.surefire.TestMojo.execute(

       at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(



It is caused by an undefined property in the excludes configuration (this is the effective POM excerpt)















                <exclude>${test.excludes}</exclude> <!-- this causes the NPE -->








Ciao, Michael

Back to the top