Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-4773

AssertionError when modules activated by a jdk 1.5 profile on version 1.330

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • maven-plugin
    • None
    • Platform: All, OS: All

      The error below happens when a parent project is built and within it it has a
      profile that is activated by a 1.5 jdk. This profile, when activated, adds a
      module to the build. There is nothing special about the sub module. The error
      does not happen when the activator is set to 1.6, or the project is built with
      1.6 (profile does not activate), or the activator is set to 1.6 and the project
      is built with 1.6.

      Hudson 1.330
      Maven Integration plugin 1.330

      Sample output:
      [ERROR] FATAL ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] reporters.get(com.example:example-a)==null.
      reporters=

      {com.example:example-parent=[hudson.maven.reporters.BuildInfoRecorder@14d8a08, hudson.maven.reporters.MavenSiteArchiver@1a1472d, hudson.maven.reporters.MavenJavadocArchiver@147ff11, hudson.maven.reporters.MavenArtifactArchiver@1bae5f5, hudson.maven.reporters.SurefireArchiver@14f7121, hudson.maven.reporters.MavenFingerprinter@8c5a4f]}

      proxies=

      {com.example:example-parent=hudson.maven.MavenModuleSetBuild$Builder$FilterImpl@7d093a}

      [INFO] ------------------------------------------------------------------------
      [INFO] Trace
      java.lang.AssertionError: reporters.get(com.example:example-a)==null.
      reporters=

      {com.example:example-parent=[hudson.maven.reporters.BuildInfoRecorder@14d8a08, hudson.maven.reporters.MavenSiteArchiver@1a1472d, hudson.maven.reporters.MavenJavadocArchiver@147ff11, hudson.maven.reporters.MavenArtifactArchiver@1bae5f5, hudson.maven.reporters.SurefireArchiver@14f7121, hudson.maven.reporters.MavenFingerprinter@8c5a4f]}

      proxies=

      {com.example:example-parent=hudson.maven.MavenModuleSetBuild$Builder$FilterImpl@7d093a}

      at
      hudson.maven.MavenModuleSetBuild$Builder.postModule(MavenModuleSetBuild.java:718)
      at hudson.maven.MavenBuilder$Adapter.fireLeaveModule(MavenBuilder.java:304)
      at hudson.maven.MavenBuilder$Adapter.postBuild(MavenBuilder.java:262)
      at
      org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:68)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
      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:592)
      at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      at hudson.maven.agent.Main.launch(Main.java:165)
      at hudson.maven.MavenBuilder.call(MavenBuilder.java:159)
      at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:688)
      at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:634)
      at hudson.remoting.UserRequest.perform(UserRequest.java:104)
      at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      at hudson.remoting.Request$2.run(Request.java:244)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
      at java.util.concurrent.FutureTask.run(FutureTask.java:123)
      at
      java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
      at java.lang.Thread.run(Thread.java:595)

        1. hudBugOutput.txt
          8 kB
          nairb774

            Unassigned Unassigned
            nairb774 nairb774
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: