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

sporadic : ClassCastException for Maven Pom parsing phase on node

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • core, (1)
      maven-plugin
    • None

      log

      FATAL: cannot assign instance of hudson.model.StreamBuildListener to field hudson.maven.MavenModuleSetBuild$PomParser.listener of type hudson.model.BuildListener in instance of hudson.maven.MavenModuleSetBuild$PomParser
      java.lang.ClassCastException: cannot assign instance of hudson.model.StreamBuildListener to field hudson.maven.MavenModuleSetBuild$PomParser.listener of type hudson.model.BuildListener in instance of hudson.maven.MavenModuleSetBuild$PomParser
      	at java.io.ObjectStreamClass$FieldReflector.setObjFieldValues(ObjectStreamClass.java:2056)
      	at java.io.ObjectStreamClass.setObjFieldValues(ObjectStreamClass.java:1229)
      	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1969)
      	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1887)
      	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1770)
      	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
      	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1963)
      	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1887)
      	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1770)
      	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
      	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:368)
      	at hudson.remoting.UserRequest.deserialize(UserRequest.java:178)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:98)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      	at hudson.remoting.Request$2.run(Request.java:270)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      	at java.lang.Thread.run(Thread.java:636)
      

          [JENKINS-9017] sporadic : ClassCastException for Maven Pom parsing phase on node

          Frédéric Camblor added a comment - - edited

          Problem is hitting ci.jenkins-ci.org too (since yesterday) :
          First build problem (for me) was : http://ci.jenkins-ci.org/job/plugin-compat-tester/93/console

          It is reproductible, for the time being ... just relaunch a build of the plugin-compat-tester and you will reproduce the problem.

          Frédéric Camblor added a comment - - edited Problem is hitting ci.jenkins-ci.org too (since yesterday) : First build problem (for me) was : http://ci.jenkins-ci.org/job/plugin-compat-tester/93/console It is reproductible, for the time being ... just relaunch a build of the plugin-compat-tester and you will reproduce the problem.

          http://ci.jenkins-ci.org/ reproducing this made it easier for me to understand what's going on.

          Also see https://groups.google.com/d/topic/jenkinsci-dev/_xcM75Sgc3Y/discussion

          Kohsuke Kawaguchi added a comment - http://ci.jenkins-ci.org/ reproducing this made it easier for me to understand what's going on. Also see https://groups.google.com/d/topic/jenkinsci-dev/_xcM75Sgc3Y/discussion

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          changelog.html
          core/src/main/java/hudson/slaves/SlaveComputer.java
          remoting/src/main/java/hudson/remoting/Channel.java
          remoting/src/main/java/hudson/remoting/ExportTable.java
          remoting/src/main/java/hudson/remoting/RemoteClassLoader.java
          http://jenkins-ci.org/commit/jenkins/74e35d8b6bd00944ad1e4a2e5caacdd6832219af
          Log:
          [FIXED JENKINS-9017]
          Fixed incorrect de-allocation of a classloader from the exported object
          table.

          The fix is a defense-in-depth; it prevents classloaders referenced in
          the object graph from doubly released, then we also make it impossible
          for bugs like this to deallocate the key classloader.

          Compare: https://github.com/jenkinsci/jenkins/compare/9e69d9a...74e35d8

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html core/src/main/java/hudson/slaves/SlaveComputer.java remoting/src/main/java/hudson/remoting/Channel.java remoting/src/main/java/hudson/remoting/ExportTable.java remoting/src/main/java/hudson/remoting/RemoteClassLoader.java http://jenkins-ci.org/commit/jenkins/74e35d8b6bd00944ad1e4a2e5caacdd6832219af Log: [FIXED JENKINS-9017] Fixed incorrect de-allocation of a classloader from the exported object table. The fix is a defense-in-depth; it prevents classloaders referenced in the object graph from doubly released, then we also make it impossible for bugs like this to deallocate the key classloader. Compare: https://github.com/jenkinsci/jenkins/compare/9e69d9a...74e35d8

          dogfood added a comment -

          Integrated in jenkins_main_trunk #783
          [FIXED JENKINS-9017]

          Kohsuke Kawaguchi : 74e35d8b6bd00944ad1e4a2e5caacdd6832219af
          Files :

          • core/src/main/java/hudson/slaves/SlaveComputer.java
          • remoting/src/main/java/hudson/remoting/ExportTable.java
          • remoting/src/main/java/hudson/remoting/Channel.java
          • changelog.html
          • remoting/src/main/java/hudson/remoting/RemoteClassLoader.java

          dogfood added a comment - Integrated in jenkins_main_trunk #783 [FIXED JENKINS-9017] Kohsuke Kawaguchi : 74e35d8b6bd00944ad1e4a2e5caacdd6832219af Files : core/src/main/java/hudson/slaves/SlaveComputer.java remoting/src/main/java/hudson/remoting/ExportTable.java remoting/src/main/java/hudson/remoting/Channel.java changelog.html remoting/src/main/java/hudson/remoting/RemoteClassLoader.java

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          core/src/main/java/hudson/slaves/SlaveComputer.java
          remoting/src/main/java/hudson/remoting/Channel.java
          remoting/src/main/java/hudson/remoting/ExportTable.java
          remoting/src/main/java/hudson/remoting/RemoteClassLoader.java
          http://jenkins-ci.org/commit/jenkins/afcb555a137bb6ae50ac79ca68ec7047c9f84c1b
          Log:
          [FIXED JENKINS-9017]
          Fixed incorrect de-allocation of a classloader from the exported object
          table.

          The fix is a defense-in-depth; it prevents classloaders referenced in
          the object graph from doubly released, then we also make it impossible
          for bugs like this to deallocate the key classloader.

          (cherry picked from commit 74e35d8b6bd00944ad1e4a2e5caacdd6832219af)

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: core/src/main/java/hudson/slaves/SlaveComputer.java remoting/src/main/java/hudson/remoting/Channel.java remoting/src/main/java/hudson/remoting/ExportTable.java remoting/src/main/java/hudson/remoting/RemoteClassLoader.java http://jenkins-ci.org/commit/jenkins/afcb555a137bb6ae50ac79ca68ec7047c9f84c1b Log: [FIXED JENKINS-9017] Fixed incorrect de-allocation of a classloader from the exported object table. The fix is a defense-in-depth; it prevents classloaders referenced in the object graph from doubly released, then we also make it impossible for bugs like this to deallocate the key classloader. (cherry picked from commit 74e35d8b6bd00944ad1e4a2e5caacdd6832219af)

          dogfood added a comment -

          Integrated in jenkins_main_trunk #887
          [FIXED JENKINS-9017]

          Stephen Connolly : 688e81cbc38690c67e73729b1d48e1d1bea8acab
          Files :

          • remoting/src/main/java/hudson/remoting/Channel.java
          • core/src/main/java/hudson/slaves/SlaveComputer.java
          • remoting/src/main/java/hudson/remoting/RemoteClassLoader.java
          • remoting/src/main/java/hudson/remoting/ExportTable.java
          • changelog.html

          dogfood added a comment - Integrated in jenkins_main_trunk #887 [FIXED JENKINS-9017] Stephen Connolly : 688e81cbc38690c67e73729b1d48e1d1bea8acab Files : remoting/src/main/java/hudson/remoting/Channel.java core/src/main/java/hudson/slaves/SlaveComputer.java remoting/src/main/java/hudson/remoting/RemoteClassLoader.java remoting/src/main/java/hudson/remoting/ExportTable.java changelog.html

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          changelog.html
          core/src/main/java/hudson/slaves/SlaveComputer.java
          remoting/src/main/java/hudson/remoting/Channel.java
          remoting/src/main/java/hudson/remoting/ExportTable.java
          remoting/src/main/java/hudson/remoting/RemoteClassLoader.java
          http://jenkins-ci.org/commit/jenkins/74e35d8b6bd00944ad1e4a2e5caacdd6832219af
          Log:
          [FIXED JENKINS-9017]
          Fixed incorrect de-allocation of a classloader from the exported object
          table.

          The fix is a defense-in-depth; it prevents classloaders referenced in
          the object graph from doubly released, then we also make it impossible
          for bugs like this to deallocate the key classloader.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html core/src/main/java/hudson/slaves/SlaveComputer.java remoting/src/main/java/hudson/remoting/Channel.java remoting/src/main/java/hudson/remoting/ExportTable.java remoting/src/main/java/hudson/remoting/RemoteClassLoader.java http://jenkins-ci.org/commit/jenkins/74e35d8b6bd00944ad1e4a2e5caacdd6832219af Log: [FIXED JENKINS-9017] Fixed incorrect de-allocation of a classloader from the exported object table. The fix is a defense-in-depth; it prevents classloaders referenced in the object graph from doubly released, then we also make it impossible for bugs like this to deallocate the key classloader.

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          changelog.html
          core/src/main/java/hudson/slaves/SlaveComputer.java
          remoting/src/main/java/hudson/remoting/Channel.java
          remoting/src/main/java/hudson/remoting/ExportTable.java
          remoting/src/main/java/hudson/remoting/RemoteClassLoader.java
          http://jenkins-ci.org/commit/jenkins/688e81cbc38690c67e73729b1d48e1d1bea8acab
          Log:
          [FIXED JENKINS-9017]
          Fixed incorrect de-allocation of a classloader from the exported object
          table.

          The fix is a defense-in-depth; it prevents classloaders referenced in
          the object graph from doubly released, then we also make it impossible
          for bugs like this to deallocate the key classloader.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html core/src/main/java/hudson/slaves/SlaveComputer.java remoting/src/main/java/hudson/remoting/Channel.java remoting/src/main/java/hudson/remoting/ExportTable.java remoting/src/main/java/hudson/remoting/RemoteClassLoader.java http://jenkins-ci.org/commit/jenkins/688e81cbc38690c67e73729b1d48e1d1bea8acab Log: [FIXED JENKINS-9017] Fixed incorrect de-allocation of a classloader from the exported object table. The fix is a defense-in-depth; it prevents classloaders referenced in the object graph from doubly released, then we also make it impossible for bugs like this to deallocate the key classloader.

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          changelog.html
          core/src/main/java/hudson/slaves/SlaveComputer.java
          remoting/src/main/java/hudson/remoting/Channel.java
          remoting/src/main/java/hudson/remoting/ExportTable.java
          remoting/src/main/java/hudson/remoting/RemoteClassLoader.java
          http://jenkins-ci.org/commit/jenkins/74e35d8b6bd00944ad1e4a2e5caacdd6832219af
          Log:
          [FIXED JENKINS-9017]
          Fixed incorrect de-allocation of a classloader from the exported object
          table.

          The fix is a defense-in-depth; it prevents classloaders referenced in
          the object graph from doubly released, then we also make it impossible
          for bugs like this to deallocate the key classloader.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html core/src/main/java/hudson/slaves/SlaveComputer.java remoting/src/main/java/hudson/remoting/Channel.java remoting/src/main/java/hudson/remoting/ExportTable.java remoting/src/main/java/hudson/remoting/RemoteClassLoader.java http://jenkins-ci.org/commit/jenkins/74e35d8b6bd00944ad1e4a2e5caacdd6832219af Log: [FIXED JENKINS-9017] Fixed incorrect de-allocation of a classloader from the exported object table. The fix is a defense-in-depth; it prevents classloaders referenced in the object graph from doubly released, then we also make it impossible for bugs like this to deallocate the key classloader.

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          changelog.html
          core/src/main/java/hudson/slaves/SlaveComputer.java
          remoting/src/main/java/hudson/remoting/Channel.java
          remoting/src/main/java/hudson/remoting/ExportTable.java
          remoting/src/main/java/hudson/remoting/RemoteClassLoader.java
          http://jenkins-ci.org/commit/jenkins/688e81cbc38690c67e73729b1d48e1d1bea8acab
          Log:
          [FIXED JENKINS-9017]
          Fixed incorrect de-allocation of a classloader from the exported object
          table.

          The fix is a defense-in-depth; it prevents classloaders referenced in
          the object graph from doubly released, then we also make it impossible
          for bugs like this to deallocate the key classloader.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html core/src/main/java/hudson/slaves/SlaveComputer.java remoting/src/main/java/hudson/remoting/Channel.java remoting/src/main/java/hudson/remoting/ExportTable.java remoting/src/main/java/hudson/remoting/RemoteClassLoader.java http://jenkins-ci.org/commit/jenkins/688e81cbc38690c67e73729b1d48e1d1bea8acab Log: [FIXED JENKINS-9017] Fixed incorrect de-allocation of a classloader from the exported object table. The fix is a defense-in-depth; it prevents classloaders referenced in the object graph from doubly released, then we also make it impossible for bugs like this to deallocate the key classloader.

            Unassigned Unassigned
            olamy Olivier Lamy
            Votes:
            11 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: