On 10 August 2014 22:16, P. Ottlinger <[email protected]> wrote: > Hi Sebb, > > thanks for checking with a real-life project. > > Am 10.08.2014 um 21:56 schrieb sebb: >> I still get the NPE: >> >> Caused by: java.lang.NullPointerException >> at >> org.apache.rat.mp.RatReportMojo.getSkinArtifactFile(RatReportMojo.java:114) >> at org.apache.rat.mp.RatReportMojo.execute(RatReportMojo.java:204) >> at >> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) > > <snip> > resolver.resolve( artifact, > getProject().getRemoteArtifactRepositories(), localRepository ); > </snip> > > I "blindly" assume that getProject().getRemoteArtifactRepositories() > returns no empty list, but null.
No, as already mentioned it is getProject() that is returning null > I've checked in a patch on trunk (rev1617162). > > Could you verify if that is a fix? > (In case it's I'd create a Jira ticket and add proper documentation) > > Thanks, > Phil > > >
