[ https://jira.codehaus.org/browse/MNG-5113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann closed MNG-5113. ---------------------------------- Resolution: Fixed Fix Version/s: 3.0.4 Assignee: Benjamin Bentmann Fixed in [r1151420|http://svn.apache.org/viewvc?view=revision&revision=1151420]. > NullPointerException on javadoc site generation > ----------------------------------------------- > > Key: MNG-5113 > URL: https://jira.codehaus.org/browse/MNG-5113 > Project: Maven 2 & 3 > Issue Type: Bug > Components: Sites & Reporting > Affects Versions: 3.0.3 > Environment: Archlinux 2.6.36 (x86) > Reporter: Christian > Assignee: Benjamin Bentmann > Fix For: 3.0.4 > > Attachments: debug.log, pom.xml > > > Dear codehaus developers, > Today I encountered a pretty serious error, while trying to generate javadocs > for my code. This was the first time I added the reporting part to my pom. > Site generation worked fine without this part. After I added this part, maven > gave me a NullPointerException. > It was very easy for me to reproduce the bug. I created an empty directory > and put the following pom there: > {code:xml|title=pom.xml} > <?xml version="1.0"?> > <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/xsd/maven-4.0.0.xsd" > xmlns="http://maven.apache.org/POM/4.0.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > <modelVersion>4.0.0</modelVersion> > <groupId>Test</groupId> > <artifactId>test</artifactId> > <version>1.0-SNAPSHOT</version> > <reporting> > <plugins> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artefactId>maven-javadoc-plugin</artefactId> > <version>2.8</version> > </plugin> > </plugins> > </reporting> > </project> > {code} > Then I ran: > {code}mvn site{code} > I've attached the debugging output and this example pom to this report. > Best regards, > Chris -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira