Skip to content

[JENKINS-11458] NPE running Maven 3 job #16182

Closed

Description

@jenkins-infra-bot

Getting this at the start of the build. Its reporting FAILURE building the parent module (aggregated poms) this is after upgrading from Jenkins 1.432 to 1.436. Reverting back to 1.432 problem goes away.

Config is a M3 project I've tried 1 or more threads with same result.

15:04:36 mavenExecutionResult exceptions not empty
15:04:36 message : Internal error: java.lang.NullPointerException
15:04:36 cause : null
15:04:36 Stack trace :
15:04:36 org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerException
15:04:36 at org.apache.maven.lifecycle.internal.BuilderCommon.handleBuildError(BuilderCommon.java:128)
15:04:36 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:95)
15:04:36 at org.apache.maven.lifecycle.internal.LifecycleThreadedBuilder$1.call(LifecycleThreadedBuilder.java:167)
15:04:36 at org.apache.maven.lifecycle.internal.LifecycleThreadedBuilder$1.call(LifecycleThreadedBuilder.java:164)
15:04:36 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
15:04:36 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
15:04:36 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
15:04:36 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
15:04:36 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
15:04:36 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
15:04:36 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
15:04:36 at java.lang.Thread.run(Thread.java:662)
15:04:36 Caused by: java.lang.NullPointerException
15:04:36 at hudson.maven.AbstractMavenBuilder$FilterImpl.executeAsync(AbstractMavenBuilder.java:174)
15:04:36 at hudson.maven.reporters.MavenArtifactArchiver.postBuild(MavenArtifactArchiver.java:128)
15:04:36 at hudson.maven.Maven3Builder$MavenExecutionListener.recordProjectSucceeded(Maven3Builder.java:378)
15:04:36 at hudson.maven.Maven3Builder$MavenExecutionListener.projectSucceeded(Maven3Builder.java:352)
15:04:36 at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:74)
15:04:36 at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42)
15:04:36 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:91)
15:04:36 ... 10 more


Originally reported by banoss, imported from: NPE running Maven 3 job
  • assignee: kutzi
  • status: Resolved
  • priority: Critical
  • component(s): core
  • resolution: Fixed
  • resolved: 2011-10-30T11:34:35+00:00
  • votes: 1
  • watchers: 4
  • imported: 2025-11-24
Raw content of original issue

Getting this at the start of the build. Its reporting FAILURE building the parent module (aggregated poms) this is after upgrading from Jenkins 1.432 to 1.436. Reverting back to 1.432 problem goes away.

Config is a M3 project I've tried 1 or more threads with same result.

15:04:36 mavenExecutionResult exceptions not empty 15:04:36 message : Internal error: java.lang.NullPointerException 15:04:36 cause : null 15:04:36 Stack trace : 15:04:36 org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerException 15:04:36 at org.apache.maven.lifecycle.internal.BuilderCommon.handleBuildError(BuilderCommon.java:128) 15:04:36 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:95) 15:04:36 at org.apache.maven.lifecycle.internal.LifecycleThreadedBuilder$1.call(LifecycleThreadedBuilder.java:167) 15:04:36 at org.apache.maven.lifecycle.internal.LifecycleThreadedBuilder$1.call(LifecycleThreadedBuilder.java:164) 15:04:36 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) 15:04:36 at java.util.concurrent.FutureTask.run(FutureTask.java:138) 15:04:36 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) 15:04:36 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) 15:04:36 at java.util.concurrent.FutureTask.run(FutureTask.java:138) 15:04:36 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 15:04:36 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 15:04:36 at java.lang.Thread.run(Thread.java:662) 15:04:36 Caused by: java.lang.NullPointerException 15:04:36 at hudson.maven.AbstractMavenBuilder$FilterImpl.executeAsync(AbstractMavenBuilder.java:174) 15:04:36 at hudson.maven.reporters.MavenArtifactArchiver.postBuild(MavenArtifactArchiver.java:128) 15:04:36 at hudson.maven.Maven3Builder$MavenExecutionListener.recordProjectSucceeded(Maven3Builder.java:378) 15:04:36 at hudson.maven.Maven3Builder$MavenExecutionListener.projectSucceeded(Maven3Builder.java:352) 15:04:36 at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:74) 15:04:36 at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42) 15:04:36 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:91) 15:04:36 ... 10 more

  • environment: Slave on Windows 7 64-bit, Master on Solaris 10. Jenkins version 1.436.

Activity

  1. jenkins-infra-bot commented on Oct 24, 2011

    @jenkins-infra-bot
    Author
    kutzi:
    • Original comment link
    • Raw content of original comment:

      Ouch

    Ouch

  2. jenkins-infra-bot commented on Oct 24, 2011

    @jenkins-infra-bot
    Author
    kutzi:
    • Original comment link
    • Raw content of original comment:

      The build does happen on master or on a slave?

    The build does happen on master or on a slave?

  3. jenkins-infra-bot commented on Oct 24, 2011

    @jenkins-infra-bot
    Author
    banoss:
    • Original comment link
    • Raw content of original comment:

      Sorry, build is on slave. Deleted slave files and restarted when I upgraded Jenkins to ensure latest versions were copied. checked slave logs which look fine - no errors.

      <===[JENKINS REMOTING CAPACITY]===>Slave.jar version: 2.11 This is a Windows slave Copied maven-agent.jar Copied maven3-agent.jar Copied maven3-interceptor.jar Copied maven-interceptor.jar Copied maven2.1-interceptor.jar Copied plexus-classworld.jar Copied classworlds.jar Slave successfully connected and online

      Also just tried running job on the (unix) master - same result.

      Tried much simpler job similar config (ie parent pom and 3 modules) but that works fine...

    Sorry, build is on slave. Deleted slave files and restarted when I upgraded Jenkins to ensure latest versions were copied. checked slave logs which look fine - no errors.

    <===[JENKINS REMOTING CAPACITY]===>Slave.jar version: 2.11
    This is a Windows slave
    Copied maven-agent.jar
    Copied maven3-agent.jar
    Copied maven3-interceptor.jar
    Copied maven-interceptor.jar
    Copied maven2.1-interceptor.jar
    Copied plexus-classworld.jar
    Copied classworlds.jar
    Slave successfully connected and online

    Also just tried running job on the (unix) master - same result.

    Tried much simpler job similar config (ie parent pom and 3 modules) but that works fine...

  4. jenkins-infra-bot commented on Oct 25, 2011

    @jenkins-infra-bot
    Author
    kutzi:
    • Original comment link
    • Raw content of original comment:

      So the obvious question is: can you track down the differences of the projects which trigger the failure?

    So the obvious question is: can you track down the differences of the projects which trigger the failure?

  5. jenkins-infra-bot commented on Oct 25, 2011

    @jenkins-infra-bot
    Author
    banoss:
    • Original comment link
    • Raw content of original comment:

      The one that fails is a much larger project (80 components - pom structure is 6 levels deep) the smaller test project is only 4 components - parent and 1 level of children.

      The more interesting question is why can i up/downgrade between 1.436/1.432 and it builds fine on 1.432 but always fails on 1.436!

      I will try versions of Jenkins in between and see where it starts to fail.

    The one that fails is a much larger project (80 components - pom structure is 6 levels deep) the smaller test project is only 4 components - parent and 1 level of children.

    The more interesting question is why can i up/downgrade between 1.436/1.432 and it builds fine on 1.432 but always fails on 1.436!

    I will try versions of Jenkins in between and see where it starts to fail.

  6. jenkins-infra-bot commented on Oct 25, 2011

    @jenkins-infra-bot
    Author
    kutzi:
    • Original comment link
    • Raw content of original comment:

      Try 1.434 and 1.435 first! I guess that it's was introduced in 1.435. Also, it should be enough to change the maven-plugin

    Try 1.434 and 1.435 first! I guess that it's was introduced in 1.435. Also, it should be enough to change the maven-plugin

  7. jenkins-infra-bot commented on Oct 26, 2011

    @jenkins-infra-bot
    Author
    banoss:
    • Original comment link
    • Raw content of original comment:

      Ahh Kutzi, correct as always. 1.434 works fine; 1.435 is when this issue starts to occur.

    Ahh Kutzi, correct as always. 1.434 works fine; 1.435 is when this issue starts to occur.

  8. jenkins-infra-bot commented on Oct 26, 2011

    @jenkins-infra-bot
    Author
    scm_issue_link:
    • Original comment link
    • Raw content of original comment:

      Code changed in jenkins User: Christoph Kutzinski Path: maven-plugin/src/main/java/hudson/maven/AbstractMavenBuilder.java maven-plugin/src/main/java/hudson/maven/Maven3Builder.java http://jenkins-ci.org/commit/jenkins/609b321e6ee0963908dddda048d572f2550e75aa Log: JENKINS-11458 when building with Maven 3, Channel.current() inside FilterImpl sometimes returns null. Therefore pass channel into constructor, thus effectively restoring pre-1.435 behaviour.

    Code changed in jenkins
    User: Christoph Kutzinski
    Path:
    maven-plugin/src/main/java/hudson/maven/AbstractMavenBuilder.java
    maven-plugin/src/main/java/hudson/maven/Maven3Builder.java
    http://jenkins-ci.org/commit/jenkins/609b321e6ee0963908dddda048d572f2550e75aa
    Log:
    JENKINS-11458 when building with Maven 3, Channel.current() inside FilterImpl sometimes returns null. Therefore pass channel into constructor, thus effectively restoring pre-1.435 behaviour.

  9. jenkins-infra-bot commented on Oct 26, 2011

    @jenkins-infra-bot
    Author
    kutzi:

    Could you try http://ci.jenkins-ci.org/view/Jenkins%20core/job/jenkins_main_trunk/1244/artifact/maven-plugin/target/maven-plugin.hpi - once it has been build - if it fixes your issue?

  10. jenkins-infra-bot commented on Oct 26, 2011

    @jenkins-infra-bot
    Author
    dogfood:
    • Original comment link
    • Raw content of original comment:

      Integrated in jenkins_main_trunk #1244 JENKINS-11458 when building with Maven 3, Channel.current() inside FilterImpl sometimes returns null. Therefore pass channel into constructor, thus effectively restoring pre-1.435 behaviour.

      Christoph Kutzinski : 609b321e6ee0963908dddda048d572f2550e75aa Files :

      • maven-plugin/src/main/java/hudson/maven/AbstractMavenBuilder.java
      • maven-plugin/src/main/java/hudson/maven/Maven3Builder.java

    Integrated in jenkins_main_trunk #1244
    JENKINS-11458 when building with Maven 3, Channel.current() inside FilterImpl sometimes returns null. Therefore pass channel into constructor, thus effectively restoring pre-1.435 behaviour.

    Christoph Kutzinski : 609b321e6ee0963908dddda048d572f2550e75aa
    Files :

    • maven-plugin/src/main/java/hudson/maven/AbstractMavenBuilder.java
    • maven-plugin/src/main/java/hudson/maven/Maven3Builder.java
  11. jenkins-infra-bot commented on Oct 27, 2011

    @jenkins-infra-bot
    Author
    ohtake_tomohiro:
    • Original comment link
    • Raw content of original comment:

      I'm having a trouble with 609b321e6ee0963908dddda048d572f2550e75aa.

      Started by user ohtake
      Checkout:workspace / /var/lib/jenkins/jobs/jenkins-testing/workspace - hudson.remoting.LocalChannel@1bda6c0d
      Using strategy: Default
      Last Built Revision: Revision 5dd6d73e70f96f712e9dd863c3109e7ec681642d (sandbox2/testing)
      Checkout:workspace / /var/lib/jenkins/jobs/jenkins-testing/workspace - hudson.remoting.LocalChannel@1bda6c0d
      Fetching changes from 1 remote Git repository
      Fetching upstream changes from git://ohtake-gitorious-sandbox2.dyn.soft.flab.fujitsu.co.jp/jenkins/jenkins.git
      Commencing build of Revision 5dd6d73e70f96f712e9dd863c3109e7ec681642d (sandbox2/testing)
      Checking out Revision 5dd6d73e70f96f712e9dd863c3109e7ec681642d (sandbox2/testing)
      Parsing POMs
      [workspace] $ /opt/jdk1.6.0_27/bin/java -Xmx1536m -Xms512m -XX:MaxPermSize=1024m -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.2.jar:/opt/apache-maven-3.0.3/boot/plexus-classworlds-2.4.jar org.jvnet.hudson.maven3.agent.Maven3Main /opt/apache-maven-3.0.3 /run/jenkins/war/WEB-INF/lib/remoting-2.11.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.2.jar 55068
      <===[JENKINS REMOTING CAPACITY]===>channel started
      ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com
      java.lang.NullPointerException: channel must not be null!
      	at hudson.maven.AbstractMavenBuilder$FilterImpl.<init>(AbstractMavenBuilder.java:177)
      	at hudson.maven.Maven3Builder.<init>(Maven3Builder.java:92)
      	at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:756)
      	at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:460)
      	at hudson.model.Run.run(Run.java:1404)
      	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:470)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:230)
      project=hudson.maven.MavenModuleSet@2e7227a8[jenkins-testing]
      project.getModules()=[hudson.maven.MavenModule@759f31de[jenkins-testing/org.jenkins-ci.main:cli][jenkins-testing/org.jenkins-ci.main:cli][relativePath:cli], hudson.maven.MavenModule@5193b022[jenkins-testing/org.jenkins-ci.main:jenkins-core][jenkins-testing/org.jenkins-ci.main:jenkins-core][relativePath:core], hudson.maven.MavenModule@2f57816a[jenkins-testing/org.jenkins-ci.main:jenkins-test-harness][jenkins-testing/org.jenkins-ci.main:jenkins-test-harness][relativePath:test], hudson.maven.MavenModule@3ed9c921[jenkins-testing/org.jenkins-ci.main:jenkins-war][jenkins-testing/org.jenkins-ci.main:jenkins-war][relativePath:war], hudson.maven.MavenModule@5b202f4d[jenkins-testing/org.jenkins-ci.main:maven-plugin][jenkins-testing/org.jenkins-ci.main:maven-plugin][relativePath:maven-plugin], hudson.maven.MavenModule@5051207c[jenkins-testing/org.jenkins-ci.main:pom][jenkins-testing/org.jenkins-ci.main:pom][relativePath:], hudson.maven.MavenModule@42ff665a[jenkins-testing/org.jenkins-ci.main:ui-samples-plugin][jenkins-testing/org.jenkins-ci.main:ui-samples-plugin][relativePath:ui-samples-plugin]]
      project.getRootModule()=hudson.maven.MavenModule@5051207c[jenkins-testing/org.jenkins-ci.main:pom][jenkins-testing/org.jenkins-ci.main:pom][relativePath:]
      FATAL: channel must not be null!
      java.lang.NullPointerException: channel must not be null!
      	at hudson.maven.AbstractMavenBuilder$FilterImpl.<init>(AbstractMavenBuilder.java:177)
      	at hudson.maven.Maven3Builder.<init>(Maven3Builder.java:92)
      	at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:756)
      	at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:460)
      	at hudson.model.Run.run(Run.java:1404)
      	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:470)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:230)
      

      Ubuntu Server 11.10 64bit Oracle JDK 1.6.0_27 Maven 3.0.3

      Reverting 609b321e6ee0963908dddda048d572f2550e75aa make Jenkins build successfully.

    I'm having a trouble with 609b321e6ee0963908dddda048d572f2550e75aa.

    Started by user ohtake
    Checkout:workspace / /var/lib/jenkins/jobs/jenkins-testing/workspace - hudson.remoting.LocalChannel@​1bda6c0d
    Using strategy: Default
    Last Built Revision: Revision 5dd6d73e70f96f712e9dd863c3109e7ec681642d (sandbox2/testing)
    Checkout:workspace / /var/lib/jenkins/jobs/jenkins-testing/workspace - hudson.remoting.LocalChannel@​1bda6c0d
    Fetching changes from 1 remote Git repository
    Fetching upstream changes from git://ohtake-gitorious-sandbox2.dyn.soft.flab.fujitsu.co.jp/jenkins/jenkins.git
    Commencing build of Revision 5dd6d73e70f96f712e9dd863c3109e7ec681642d (sandbox2/testing)
    Checking out Revision 5dd6d73e70f96f712e9dd863c3109e7ec681642d (sandbox2/testing)
    Parsing POMs
    [workspace] $ /opt/jdk1.6.0_27/bin/java -Xmx1536m -Xms512m -XX:MaxPermSize=1024m -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.2.jar:/opt/apache-maven-3.0.3/boot/plexus-classworlds-2.4.jar org.jvnet.hudson.maven3.agent.Maven3Main /opt/apache-maven-3.0.3 /run/jenkins/war/WEB-INF/lib/remoting-2.11.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.2.jar 55068
    <===[JENKINS REMOTING CAPACITY]===>channel started
    ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@​googlegroups.com
    java.lang.NullPointerException: channel must not be null!
    	at hudson.maven.AbstractMavenBuilder$FilterImpl.(AbstractMavenBuilder.java:177)
    	at hudson.maven.Maven3Builder.(Maven3Builder.java:92)
    	at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:756)
    	at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:460)
    	at hudson.model.Run.run(Run.java:1404)
    	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:470)
    	at hudson.model.ResourceController.execute(ResourceController.java:88)
    	at hudson.model.Executor.run(Executor.java:230)
    project=hudson.maven.MavenModuleSet@​2e7227a8[jenkins-testing]
    project.getModules()=[hudson.maven.MavenModule@​759f31de[jenkins-testing/org.jenkins-ci.main:cli][jenkins-testing/org.jenkins-ci.main:cli][relativePath:cli], hudson.maven.MavenModule@​5193b022[jenkins-testing/org.jenkins-ci.main:jenkins-core][jenkins-testing/org.jenkins-ci.main:jenkins-core][relativePath:core], hudson.maven.MavenModule@​2f57816a[jenkins-testing/org.jenkins-ci.main:jenkins-test-harness][jenkins-testing/org.jenkins-ci.main:jenkins-test-harness][relativePath:test], hudson.maven.MavenModule@​3ed9c921[jenkins-testing/org.jenkins-ci.main:jenkins-war][jenkins-testing/org.jenkins-ci.main:jenkins-war][relativePath:war], hudson.maven.MavenModule@​5b202f4d[jenkins-testing/org.jenkins-ci.main:maven-plugin][jenkins-testing/org.jenkins-ci.main:maven-plugin][relativePath:maven-plugin], hudson.maven.MavenModule@​5051207c[jenkins-testing/org.jenkins-ci.main:pom][jenkins-testing/org.jenkins-ci.main:pom][relativePath:], hudson.maven.MavenModule@​42ff665a[jenkins-testing/org.jenkins-ci.main:ui-samples-plugin][jenkins-testing/org.jenkins-ci.main:ui-samples-plugin][relativePath:ui-samples-plugin]]
    project.getRootModule()=hudson.maven.MavenModule@​5051207c[jenkins-testing/org.jenkins-ci.main:pom][jenkins-testing/org.jenkins-ci.main:pom][relativePath:]
    FATAL: channel must not be null!
    java.lang.NullPointerException: channel must not be null!
    	at hudson.maven.AbstractMavenBuilder$FilterImpl.(AbstractMavenBuilder.java:177)
    	at hudson.maven.Maven3Builder.(Maven3Builder.java:92)
    	at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:756)
    	at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:460)
    	at hudson.model.Run.run(Run.java:1404)
    	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:470)
    	at hudson.model.ResourceController.execute(ResourceController.java:88)
    	at hudson.model.Executor.run(Executor.java:230)
    

    Ubuntu Server 11.10 64bit
    Oracle JDK 1.6.0_27
    Maven 3.0.3

    Reverting 609b321 make Jenkins build successfully.

  12. jenkins-infra-bot commented on Oct 27, 2011

    @jenkins-infra-bot
    Author
    kutzi:
    • Original comment link
    • Raw content of original comment:

      Sorry. Does this happen in Jenkins unit/integration test or when you're trying to build 'real' jobs?

    Sorry.
    Does this happen in Jenkins unit/integration test or when you're trying to build 'real' jobs?

  13. jenkins-infra-bot commented on Oct 27, 2011

    @jenkins-infra-bot
    Author
    ohtake_tomohiro:
    • Original comment link
    • Raw content of original comment:

      There is no problem in building the master branch of Jenkins.

      It is a real job to build Jenkins with maven3. An NPE "channel must not be null!" also happens when building other maven3 projects.

    There is no problem in building the master branch of Jenkins.

    It is a real job to build Jenkins with maven3.
    An NPE "channel must not be null!" also happens
    when building other maven3 projects.

  14. jenkins-infra-bot commented on Oct 27, 2011

    @jenkins-infra-bot
    Author
    scm_issue_link:
    • Original comment link
    • Raw content of original comment:

      Code changed in jenkins User: Kohsuke Kawaguchi Path: maven-plugin/src/main/java/hudson/maven/AbstractMavenBuilder.java maven-plugin/src/main/java/hudson/maven/Maven3Builder.java maven-plugin/src/main/java/hudson/maven/MavenBuild.java maven-plugin/src/main/java/hudson/maven/MavenBuildProxy.java http://jenkins-ci.org/commit/jenkins/dc716da16bb400f741c1e650d0f3465bb70b4d18 Log: JENKINS-11458 Channel.current() is only available from the thread that's executing the remote call, and that's why we saw this original error, when Maven uses a thread pool to call into this method from another worker thread.

    Code changed in jenkins
    User: Kohsuke Kawaguchi
    Path:
    maven-plugin/src/main/java/hudson/maven/AbstractMavenBuilder.java
    maven-plugin/src/main/java/hudson/maven/Maven3Builder.java
    maven-plugin/src/main/java/hudson/maven/MavenBuild.java
    maven-plugin/src/main/java/hudson/maven/MavenBuildProxy.java
    http://jenkins-ci.org/commit/jenkins/dc716da16bb400f741c1e650d0f3465bb70b4d18
    Log:
    JENKINS-11458 Channel.current() is only available from the thread that's executing the remote call, and that's why we saw this original error, when Maven uses a thread pool to call into this method from another worker thread.

  15. jenkins-infra-bot commented on Oct 27, 2011

    @jenkins-infra-bot
    Author
    dogfood:
    • Original comment link
    • Raw content of original comment:

      Integrated in jenkins_main_trunk #1248 JENKINS-11458 Channel.current() is only available from the thread that's executing the remote call, and that's why we saw this original error, when Maven uses a thread pool to call into this method from another worker thread.

      Kohsuke Kawaguchi : dc716da16bb400f741c1e650d0f3465bb70b4d18 Files :

      • maven-plugin/src/main/java/hudson/maven/MavenBuildProxy.java
      • maven-plugin/src/main/java/hudson/maven/AbstractMavenBuilder.java
      • maven-plugin/src/main/java/hudson/maven/Maven3Builder.java
      • maven-plugin/src/main/java/hudson/maven/MavenBuild.java

    Integrated in jenkins_main_trunk #1248
    JENKINS-11458 Channel.current() is only available from the thread that's executing the remote call, and that's why we saw this original error, when Maven uses a thread pool to call into this method from another worker thread.

    Kohsuke Kawaguchi : dc716da16bb400f741c1e650d0f3465bb70b4d18
    Files :

    • maven-plugin/src/main/java/hudson/maven/MavenBuildProxy.java
    • maven-plugin/src/main/java/hudson/maven/AbstractMavenBuilder.java
    • maven-plugin/src/main/java/hudson/maven/Maven3Builder.java
    • maven-plugin/src/main/java/hudson/maven/MavenBuild.java
  16. jenkins-infra-bot commented on Oct 30, 2011

    @jenkins-infra-bot
    Author
    scm_issue_link:

    Code changed in jenkins
    User: Christoph Kutzinski
    Path:
    changelog.html
    http://jenkins-ci.org/commit/jenkins/f3d31af0516c4163c898dc0a9442e3f15f770d5b
    Log:
    changelog for JENKINS-11458

    Compare: 9887593...f3d31af

  17. jenkins-infra-bot commented on Oct 30, 2011

    @jenkins-infra-bot
    Author
    kutzi:
    • Original comment link
    • Raw content of original comment:

      Thanks to Kohsuke this should be fixed in 1.438

    Thanks to Kohsuke this should be fixed in 1.438

  18. jenkins-infra-bot commented on Oct 31, 2011

    @jenkins-infra-bot
    Author
    banoss:
    • Original comment link
    • Raw content of original comment:

      Just checked 1.438-SNAPSHOT (private-10/30/2011 12:59 GMT-jenkins) and it is indeed fixed. Many thanks.

    Just checked 1.438-SNAPSHOT (private-10/30/2011 12:59 GMT-jenkins) and it is indeed fixed. Many thanks.

  19. jenkins-infra-bot commented on Oct 4, 2013

    @jenkins-infra-bot
    Author
    scm_issue_link:
    • Original comment link
    • Raw content of original comment:

      Code changed in jenkins User: Christoph Kutzinski Path: src/main/java/hudson/maven/AbstractMavenBuilder.java src/main/java/hudson/maven/Maven3Builder.java http://jenkins-ci.org/commit/maven-plugin/1c1415bc55874b5d753b904bfe5b9ac564ffbad7 Log: JENKINS-11458 when building with Maven 3, Channel.current() inside FilterImpl sometimes returns null. Therefore pass channel into constructor, thus effectively restoring pre-1.435 behaviour. Originally-Committed-As: 609b321e6ee0963908dddda048d572f2550e75aa

    Code changed in jenkins
    User: Christoph Kutzinski
    Path:
    src/main/java/hudson/maven/AbstractMavenBuilder.java
    src/main/java/hudson/maven/Maven3Builder.java
    http://jenkins-ci.org/commit/maven-plugin/1c1415bc55874b5d753b904bfe5b9ac564ffbad7
    Log:
    JENKINS-11458 when building with Maven 3, Channel.current() inside FilterImpl sometimes returns null. Therefore pass channel into constructor, thus effectively restoring pre-1.435 behaviour.
    Originally-Committed-As: 609b321

  20. jenkins-infra-bot commented on Oct 4, 2013

    @jenkins-infra-bot
    Author
    scm_issue_link:
    • Original comment link
    • Raw content of original comment:

      Code changed in jenkins User: Kohsuke Kawaguchi Path: src/main/java/hudson/maven/AbstractMavenBuilder.java src/main/java/hudson/maven/Maven3Builder.java src/main/java/hudson/maven/MavenBuild.java src/main/java/hudson/maven/MavenBuildProxy.java http://jenkins-ci.org/commit/maven-plugin/d541a16ed95f3f8f6dec0bdc41ebdbfad8067c54 Log: JENKINS-11458 Channel.current() is only available from the thread that's executing the remote call, and that's why we saw this original error, when Maven uses a thread pool to call into this method from another worker thread.

      Originally-Committed-As: dc716da16bb400f741c1e650d0f3465bb70b4d18

    Code changed in jenkins
    User: Kohsuke Kawaguchi
    Path:
    src/main/java/hudson/maven/AbstractMavenBuilder.java
    src/main/java/hudson/maven/Maven3Builder.java
    src/main/java/hudson/maven/MavenBuild.java
    src/main/java/hudson/maven/MavenBuildProxy.java
    http://jenkins-ci.org/commit/maven-plugin/d541a16ed95f3f8f6dec0bdc41ebdbfad8067c54
    Log:
    JENKINS-11458 Channel.current() is only available from the thread that's executing the remote call, and that's why we saw this original error, when Maven uses a thread pool to call into this method from another worker thread.

    Originally-Committed-As: dc716da

  21. removed
    bugFor changelog: Minor bug. Will be listed after features
    on Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions