Felix,

Try adding some heap using MAVEN_OPTS.
e.g.
export MAVEN_OPTS="-Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m"

Than try to build.

-Jeff


On Sat, Jan 5, 2013 at 2:55 AM, Felix.徐 <ygnhzeus@gmail.com> wrote:
Hi,

I encountered with a problem while executing "mvn clean install -DskipTests":

[INFO] [site:site {execution: flume-site}]
[INFO] Parent project loaded from repository: org.apache:apache:pom:9
[INFO] Relativizing decoration links with respect to project URL: http://www.apache.org/flume-parent
[INFO] Rendering site with org.apache.maven.skins:maven-fluido-skin:jar:1.0 skin.
[INFO] Generating "Issue Tracking" report    --- Maven Project Info Reports Plugin 2.4
[INFO] Generating "Project License" report    --- Maven Project Info Reports Plugin 2.4
[INFO] Generating "Mailing Lists" report    --- Maven Project Info Reports Plugin 2.4
[INFO] Generating "Project Team" report    --- Maven Project Info Reports Plugin 2.4
[INFO] Generating "Documentation via sphinx" report.
[INFO] Unpacking sphinx to /home/egl/flume/target/sphinx
[INFO] Running sphinx on /home/egl/flume/flume-ng-doc/sphinx, output will be placed in /home/egl/flume/target/site
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] null
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NullPointerException
at org.tomdz.maven.sphinx.SphinxMojo.runSphinx(SphinxMojo.java:234)
at org.tomdz.maven.sphinx.SphinxMojo.executeReport(SphinxMojo.java:156)
at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:135)
at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:228)
at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:319)
at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:135)
at org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:175)
at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:138)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)