Skip to main content

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

report it as a tycho bug with sample project attached and we will figure out if it's actually a surefire problem.


From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Keppler Michael (ETAS/ESW4)
Sent: Dienstag, 16. Dezember 2014 09:08
To: Tycho user list
Subject: [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