You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@codehaus.org> on 2007/11/04 13:46:10 UTC
[jira] Commented: (MSITE-255) Executing the site-site goal fails
prior to executing the site-deploy goal on a clean maven install (Could be
due to dependencies)
[ http://jira.codehaus.org/browse/MSITE-255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_112710 ]
Dennis Lundberg commented on MSITE-255:
---------------------------------------
The stacktrace indicates that there is something wrong when working on an .fml file. That is the FAQ format that the site-plugin supports. Could you provide us with a sample project that exhibits the problem described. Please include the pom.xml, site.xml and all the files under /src/site.
Also could you please try this using the 2.0-beta-6-SNAPSHOT version of the site-plugin. A lot of bug fixes has gone into that version, so this might have been solved already.
> Executing the site-site goal fails prior to executing the site-deploy goal on a clean maven install (Could be due to dependencies)
> ----------------------------------------------------------------------------------------------------------------------------------
>
> Key: MSITE-255
> URL: http://jira.codehaus.org/browse/MSITE-255
> Project: Maven 2.x Site Plugin
> Issue Type: Bug
> Affects Versions: 2.0-beta-5
> Environment: Windows XP, Java 1.5, Intel Pentium 4
> Reporter: Sahand
>
> When running {{mvn site:site}} from a clean maven install I get FATAL ERROR caused by a NullPointerException. (*Trace log below*)
> This was resolved by running {{mvn site:deploy}} which seemed to retrieve a series of dependent libraries. After which, running {{mvn site:site}} would execute successfully.
> I will test it again when I get the time to narrow down the dependency that is required for execution and is not being retrieved.
> {quote}
> [ERROR] FATAL ERROR
> [INFO] ---------------------------------------------------------------------
> ---
> [INFO] null
> [INFO] ---------------------------------------------------------------------
> ---
> [INFO] Trace
> java.lang.NullPointerException
> at org.apache.maven.doxia.module.fml.FmlParser.createSink(FmlParser.java
> :270)
> at org.apache.maven.doxia.module.fml.FmlParser.parse(FmlParser.java:61)
> at org.apache.maven.doxia.DefaultDoxia.parse(DefaultDoxia.java:52)
> at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderDocumen
> t(DefaultSiteRenderer.java:264)
> at org.apache.maven.doxia.siterenderer.DoxiaDocumentRenderer.renderDocum
> ent(DoxiaDocumentRenderer.java:43)
> 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:443)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:539)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
> fecycle(DefaultLifecycleExecutor.java:480)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
> ltLifecycleExecutor.java:459)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> dleFailures(DefaultLifecycleExecutor.java:311)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> ts(DefaultLifecycleExecutor.java:278)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> fecycleExecutor.java:143)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> 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)
> [INFO] ---------------------------------------------------------------------
> ---
> [INFO] Total time: 26 seconds
> [INFO] Finished at: Wed Aug 29 12:49:50 EST 2007
> [INFO] Final Memory: 25M/44M
> [INFO] ---------------------------------------------------------------------
> {quote}
--
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