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

StackOverflowError in org.jenkinsci.plugins.youtrack.YouTrackSCMListener.onChangeLogParsed()

    Details

    • Similar Issues:

      Description

      Jenkins 1.568
      Youtrack plugin 0.5.3

      I'm seeing the following in build console output.

      [EnvInject] - Loading node environment variables.
      Building on master in workspace /opt/jenkins/workspace/infrastructure
       > git rev-parse --is-inside-work-tree
      Fetching changes from the remote Git repository
       > git config remote.origin.url git@github.com:foo/infrastructure.git
      Fetching upstream changes from git@github.com:foo/infrastructure.git
       > git --version
       > git fetch --tags --progress git@github.com:foo/infrastructure.git +refs/heads/*:refs/remotes/origin/*
       > git rev-parse origin/master^{commit}
      Checking out Revision 517c3364c34516e77a2cee7096b610ad42d7e3f5 (origin/master)
       > git config core.sparsecheckout
       > git checkout -f 517c3364c34516e77a2cee7096b610ad42d7e3f5
       > git rev-list 090eea6834088108021c40a2824ac4bf6dfd0fe4
      Cleaning workspace
       > git rev-parse --verify HEAD
      Resetting working tree
       > git reset --hard
       > git clean -fdx
      FATAL: null
      java.lang.StackOverflowError
      	at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
      	at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:242)
      	at java.io.File.exists(File.java:819)
      	at sun.misc.URLClassPath$FileLoader.getResource(URLClassPath.java:1081)
      	at sun.misc.URLClassPath$FileLoader.findResource(URLClassPath.java:1048)
      	at sun.misc.URLClassPath$1.next(URLClassPath.java:226)
      	at sun.misc.URLClassPath$1.hasMoreElements(URLClassPath.java:236)
      	at java.net.URLClassLoader$3$1.run(URLClassLoader.java:589)
      	at java.net.URLClassLoader$3$1.run(URLClassLoader.java:587)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at java.net.URLClassLoader$3.next(URLClassLoader.java:586)
      	at java.net.URLClassLoader$3.hasMoreElements(URLClassLoader.java:611)
      	at sun.misc.CompoundEnumeration.next(CompoundEnumeration.java:45)
      	at sun.misc.CompoundEnumeration.hasMoreElements(CompoundEnumeration.java:54)
      	at sun.misc.CompoundEnumeration.next(CompoundEnumeration.java:45)
      	at sun.misc.CompoundEnumeration.hasMoreElements(CompoundEnumeration.java:54)
      	at java.util.ServiceLoader$LazyIterator.hasNextService(ServiceLoader.java:354)
      	at java.util.ServiceLoader$LazyIterator.hasNext(ServiceLoader.java:393)
      	at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:474)
      	at javax.xml.parsers.FactoryFinder$1.run(FactoryFinder.java:293)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at javax.xml.parsers.FactoryFinder.findServiceProvider(FactoryFinder.java:289)
      	at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:267)
      	at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:127)
      	at org.jenkinsci.plugins.youtrack.youtrackapi.YouTrackServer.getProjects(YouTrackServer.java:283)
      	at org.jenkinsci.plugins.youtrack.YouTrackSCMListener.performActions(YouTrackSCMListener.java:42)
      	at org.jenkinsci.plugins.youtrack.YouTrackSCMListener.onChangeLogParsed(YouTrackSCMListener.java:34)
      	at hudson.model.listeners.SCMListener.onChangeLogParsed(SCMListener.java:113)
      	at hudson.model.listeners.SCMListener.onChangeLogParsed(SCMListener.java:119)
      	at org.jenkinsci.plugins.youtrack.YouTrackSCMListener.onChangeLogParsed(YouTrackSCMListener.java:36)
      	at hudson.model.listeners.SCMListener.onChangeLogParsed(SCMListener.java:113)
      	at hudson.model.listeners.SCMListener.onChangeLogParsed(SCMListener.java:119)
      	at org.jenkinsci.plugins.youtrack.YouTrackSCMListener.onChangeLogParsed(YouTrackSCMListener.java:36)
      	at hudson.model.listeners.SCMListener.onChangeLogParsed(SCMListener.java:113)
      	at hudson.model.listeners.SCMListener.onChangeLogParsed(SCMListener.java:119)
      	at org.jenkinsci.plugins.youtrack.YouTrackSCMListener.onChangeLogParsed(YouTrackSCMListener.java:36)
      	at hudson.model.listeners.SCMListener.onChangeLogParsed(SCMListener.java:113)
      	at hudson.model.listeners.SCMListener.onChangeLogParsed(SCMListener.java:119)
      	at org.jenkinsci.plugins.youtrack.YouTrackSCMListener.onChangeLogParsed(YouTrackSCMListener.java:36)
      	at hudson.model.listeners.SCMListener.onChangeLogParsed(SCMListener.java:113)
      	at hudson.model.listeners.SCMListener.onChangeLogParsed(SCMListener.java:119)
      	at org.jenkinsci.plugins.youtrack.YouTrackSCMListener.onChangeLogParsed(YouTrackSCMListener.java:36)
      	at hudson.model.listeners.SCMListener.onChangeLogParsed(SCMListener.java:113)
      	at hudson.model.listeners.SCMListener.onChangeLogParsed(SCMListener.java:119)
      	at org.jenkinsci.plugins.youtrack.YouTrackSCMListener.onChangeLogParsed(YouTrackSCMListener.java:36)
      	at hudson.model.listeners.SCMListener.onChangeLogParsed(SCMListener.java:113)
      	at hudson.model.listeners.SCMListener.onChangeLogParsed(SCMListener.java:119)
      	at org.jenkinsci.plugins.youtrack.YouTrackSCMListener.onChangeLogParsed(YouTrackSCMListener.java:36)
      	at hudson.model.listeners.SCMListener.onChangeLogParsed(SCMListener.java:113)
      	at hudson.model.listeners.SCMListener.onChangeLogParsed(SCMListener.java:119)
      	at org.jenkinsci.plugins.youtrack.YouTrackSCMListener.onChangeLogParsed(YouTrackSCMListener.java:36)
      	at hudson.model.listeners.SCMListener.onChangeLogParsed(SCMListener.java:113)
      	at hudson.model.listeners.SCMListener.onChangeLogParsed(SCMListener.java:119)
      	at org.jenkinsci.plugins.youtrack.YouTrackSCMListener.onChangeLogParsed(YouTrackSCMListener.java:36)
      	at hudson.model.listeners.SCMListener.onChangeLogParsed(SCMListener.java:113)
      	at hudson.model.listeners.SCMListener.onChangeLogParsed(SCMListener.java:119)
      	at org.jenkinsci.plugins.youtrack.YouTrackSCMListener.onChangeLogParsed(YouTrackSCMListener.java:36)
      	at hudson.model.listeners.SCMListener.onChangeLogParsed(SCMListener.java:113)
      	at hudson.model.listeners.SCMListener.onChangeLogParsed(SCMListener.java:119)
      	at org.jenkinsci.plugins.youtrack.YouTrackSCMListener.onChangeLogParsed(YouTrackSCMListener.java:36)
      	at hudson.model.listeners.SCMListener.onChangeLogParsed(SCMListener.java:113)
      	at hudson.model.listeners.SCMListener.onChangeLogParsed(SCMListener.java:119)
      	at org.jenkinsci.plugins.youtrack.YouTrackSCMListener.onChangeLogParsed(YouTrackSCMListener.java:36)
      	at hudson.model.listeners.SCMListener.onChangeLogParsed(SCMListener.java:113)
      	at hudson.model.listeners.SCMListener.onChangeLogParsed(SCMListener.java:119)
      	at org.jenkinsci.plugins.youtrack.YouTrackSCMListener.onChangeLogParsed(YouTrackSCMListener.java:36)
      	at hudson.model.listeners.SCMListener.onChangeLogParsed(SCMListener.java:113)
      	at hudson.model.listeners.SCMListener.onChangeLogParsed(SCMListener.java:119)
      	at org.jenkinsci.plugins.youtrack.YouTrackSCMListener.onChangeLogParsed(YouTrackSCMListener.java:36)
      	at hudson.model.listeners.SCMListener.onChangeLogParsed(SCMListener.java:113)
      	at hudson.model.listeners.SCMListener.onChangeLogParsed(SCMListener.java:119)
      	at org.jenkinsci.plugins.youtrack.YouTrackSCMListener.onChangeLogParsed(YouTrackSCMListener.java:36)
      	at hudson.model.listeners.SCMListener.onChangeLogParsed(SCMListener.java:113)
      

        Attachments

          Issue Links

            Activity

            Hide
            erikzielke Erik Zielke added a comment -

            Resolved in version 5.5.5

            Show
            erikzielke Erik Zielke added a comment - Resolved in version 5.5.5
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            changelog.html
            core/src/main/java/hudson/model/listeners/SCMListener.java
            core/src/test/java/hudson/model/listeners/SCMListenerTest.java
            http://jenkins-ci.org/commit/jenkins/cb6e568815976a2309bff9ebf3e4f7e0a070e769
            Log:
            [FIXED JENKINS-23522] Defend against stack overflows when a listener (unnecessarily) called super from a deprecated method.
            Fixes #1295 a little differently.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: changelog.html core/src/main/java/hudson/model/listeners/SCMListener.java core/src/test/java/hudson/model/listeners/SCMListenerTest.java http://jenkins-ci.org/commit/jenkins/cb6e568815976a2309bff9ebf3e4f7e0a070e769 Log: [FIXED JENKINS-23522] Defend against stack overflows when a listener (unnecessarily) called super from a deprecated method. Fixes #1295 a little differently.
            Hide
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #3658
            [FIXED JENKINS-23522] Defend against stack overflows when a listener (unnecessarily) called super from a deprecated method. (Revision cb6e568815976a2309bff9ebf3e4f7e0a070e769)

            Result = SUCCESS
            Jesse Glick : cb6e568815976a2309bff9ebf3e4f7e0a070e769
            Files :

            • changelog.html
            • core/src/main/java/hudson/model/listeners/SCMListener.java
            • core/src/test/java/hudson/model/listeners/SCMListenerTest.java
            Show
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #3658 [FIXED JENKINS-23522] Defend against stack overflows when a listener (unnecessarily) called super from a deprecated method. (Revision cb6e568815976a2309bff9ebf3e4f7e0a070e769) Result = SUCCESS Jesse Glick : cb6e568815976a2309bff9ebf3e4f7e0a070e769 Files : changelog.html core/src/main/java/hudson/model/listeners/SCMListener.java core/src/test/java/hudson/model/listeners/SCMListenerTest.java

              People

              • Assignee:
                Unassigned
                Reporter:
                zihaoyuhbo Zihao Yu
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: