maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arnaud Heritier (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (JXR-23) -NPE creating jxr report
Date Tue, 17 Oct 2006 14:26:54 GMT
    [ http://jira.codehaus.org/browse/JXR-23?page=comments#action_77873 ] 
            
Arnaud Heritier commented on JXR-23:
------------------------------------

I reproduced this problem with a Java file containing only comments and no code. 

> -NPE creating jxr report
> ------------------------
>
>                 Key: JXR-23
>                 URL: http://jira.codehaus.org/browse/JXR-23
>             Project: Maven JXR
>          Issue Type: Bug
>    Affects Versions: 1.0
>            Reporter: Brian Fox
>
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] null
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NullPointerException
>         at org.apache.maven.jxr.JavaCodeTransform.getHeader(JavaCodeTransform.ja
> va:651)
>         at org.apache.maven.jxr.JavaCodeTransform.transform(JavaCodeTransform.ja
> va:716)
>         at org.apache.maven.jxr.JavaCodeTransform.transform(JavaCodeTransform.ja
> va:787)
>         at org.apache.maven.jxr.JXR.transform(JXR.java:195)
>         at org.apache.maven.jxr.JXR.processPath(JXR.java:114)
>         at org.apache.maven.jxr.JXR.xref(JXR.java:335)
>         at org.apache.maven.plugin.jxr.AbstractJxrReport.createXref(AbstractJxrR
> eport.java:226)
>         at org.apache.maven.plugin.jxr.AbstractJxrReport.executeReport(AbstractJ
> xrReport.java:352)
>         at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMaven
> Report.java:101)
>         at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(R
> eportDocumentRenderer.java:67)
>         at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(
> DefaultSiteRenderer.java:239)
>         at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(Defaul
> tSiteRenderer.java:115)
>         at org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:124
> )
>         at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:92)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
> nManager.java:412)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:534)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
> fecycle(DefaultLifecycleExecutor.java:475)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message