google-code-export / maven-confluence-plugin

Automatically exported from code.google.com/p/maven-confluence-plugin
1 stars 0 forks source link

NullPointerException executing confluence-summary goal #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. mvn confluence:confluence-summary

What version of the product are you using? On what operating system?
3.0.2

Please provide any additional information below.

[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.bsc.maven:maven-confluence-reporting-plugin:3.0.2:confluence-summary 
(default-cli) on project DBChangeManagementImpl: Executi
on default-cli of goal 
org.bsc.maven:maven-confluence-reporting-plugin:3.0.2:confluence-summary 
failed. NullPointerException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.bsc.maven:maven-confluence-reporting-plugin:3.0.2:confluence-summary 
(default
-cli) on project DBChangeManagementImpl: Execution default-cli of goal 
org.bsc.maven:maven-confluence-reporting-plugin:3.0.2:confluence-summary failed.
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
        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.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution 
default-cli of goal 
org.bsc.maven:maven-confluence-reporting-plugin:3.0.2:confluence-summ
ary failed.
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
        ... 19 more
Caused by: java.lang.NullPointerException
        at org.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenReport.java:105)
        at org.bsc.maven.reporting.ConfluenceReportMojo.execute(ConfluenceReportMojo.java:151)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
        ... 20 more

Original issue reported on code.google.com by quinton....@gmail.com on 15 Aug 2011 at 9:17

GoogleCodeExporter commented 9 years ago
Hi

I'm starting to wok upon issue

Thx for interest

Original comment by bartolom...@gmail.com on 16 Aug 2011 at 9:04

GoogleCodeExporter commented 9 years ago
hi 

from stacktrace i haven't enough infos to make a diagnosis

Have you set the parameters spaceKey,userName and password?

could you relaunch the maven  with -X option set and give me the result?  

Original comment by bartolom...@gmail.com on 16 Aug 2011 at 9:42

GoogleCodeExporter commented 9 years ago
      <plugin>
        <groupId>org.bsc.maven</groupId>
        <artifactId>maven-confluence-reporting-plugin</artifactId>
        <version>3.0.1</version>
        <configuration>
          <endPoint>${confluence.home}/rpc/xmlrpc</endPoint>
          <spaceKey>SIG</spaceKey>
          <parentPageTitle>DBChangeManagement</parentPageTitle>
          <username>******</username>
          <password>******</password>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-site-plugin</artifactId>
        <configuration>
          <reportPlugins>
            <plugin>
              <groupId>org.bsc.maven</groupId>
              <artifactId>maven-confluence-reporting-plugin</artifactId>
              <version>3.0.1</version>
              <reportSets>
                <reportSet>
                  <id>confluence</id>
                  <reports>
                    <report>confluence-summary</report>
                  </reports>
                </reportSet>
              </reportSets>
            </plugin>
          </reportPlugins>
        </configuration>
      </plugin>

Original comment by quinton....@gmail.com on 16 Aug 2011 at 2:29

GoogleCodeExporter commented 9 years ago

Original comment by quinton....@gmail.com on 16 Aug 2011 at 2:32

Attachments:

GoogleCodeExporter commented 9 years ago
thx for log

i've deployed the release 3.0.3-SNAPSHOT  to repo 
https://oss.sonatype.org/content/repositories/snapshots

could you try this ? I've increased the diagnostic message to better understand 
problem

thx in advance

Original comment by bartolom...@gmail.com on 17 Aug 2011 at 9:22

GoogleCodeExporter commented 9 years ago
Hi 

As showed in [pom_template] wiki page try to use the following plugin 
configuration

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-site-plugin</artifactId>
        <configuration>
          <reportPlugins>
            <plugin>
              <groupId>org.bsc.maven</groupId>
              <artifactId>maven-confluence-reporting-plugin</artifactId>
              <version>3.0.1</version>
              <reportSets>
                <reportSet>
                  <id>confluence</id>
         <configuration>
          <endPoint>${confluence.home}/rpc/xmlrpc</endPoint>
          <spaceKey>SIG</spaceKey>
          <parentPageTitle>DBChangeManagement</parentPageTitle>
          <username>******</username>
          <password>******</password>
        </configuration>
                  <reports>
                    <report>confluence-summary</report>
                  </reports>
                </reportSet>
              </reportSets>
            </plugin>
          </reportPlugins>
        </configuration>
      </plugin>

Original comment by bartolom...@gmail.com on 17 Aug 2011 at 5:29

GoogleCodeExporter commented 9 years ago
Hi 

As showed in [pom_template] wiki page try to use the following plugin 
configuration

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-site-plugin</artifactId>
        <configuration>
          <reportPlugins>
            <plugin>
              <groupId>org.bsc.maven</groupId>
              <artifactId>maven-confluence-reporting-plugin</artifactId>
              <version>3.0.1</version>
              <reportSets>
                <reportSet>
                  <id>confluence</id>
         <configuration>
          <endPoint>${confluence.home}/rpc/xmlrpc</endPoint>
          <spaceKey>SIG</spaceKey>
          <parentPageTitle>DBChangeManagement</parentPageTitle>
          <username>******</username>
          <password>******</password>
        </configuration>
                  <reports>
                    <report>confluence-summary</report>
                  </reports>
                </reportSet>
              </reportSets>
            </plugin>
          </reportPlugins>
        </configuration>
      </plugin>

Original comment by bartolom...@gmail.com on 17 Aug 2011 at 6:44

GoogleCodeExporter commented 9 years ago

Original comment by bartolom...@gmail.com on 28 May 2013 at 9:06