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

IllegalArgumentException: Null value not allowed as an environment variable: TRACKING_SVN_BUILD in Subversion Polling Log

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • tracking-svn-plugin
    • Red Hat Enterprise Linux Server release 5.8
      java version "1.7.0_60"

      Builds are not triggered via Poll SCM.

      Subversion Polling Log contains the following error:

      Started on Aug 7, 2014 5:21:46 PM
      ERROR: Failed to record SCM polling for hudson.matrix.MatrixProject@7ad2477b[test]
      java.lang.IllegalArgumentException: Null value not allowed as an environment variable: TRACKING_SVN_BUILD
      	at hudson.EnvVars.put(EnvVars.java:356)
      	at hudson.plugins.trackingsvn.TrackingSVNAction.buildEnvVars(TrackingSVNAction.java:26)
      	at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:919)
      	at hudson.scm.SubversionSCM.compareRemoteRevisionWith(SubversionSCM.java:1355)
      	at hudson.scm.SCM.poll(SCM.java:401)
      	at hudson.model.AbstractProject._poll(AbstractProject.java:1430)
      	at hudson.model.AbstractProject.poll(AbstractProject.java:1333)
      	at jenkins.triggers.SCMTriggerItem$SCMTriggerItems$Bridge.poll(SCMTriggerItem.java:119)
      	at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:509)
      	at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:538)
      	at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:745)
      

      The job is configured in the following way:

      Build Triggers
                    Poll SCM
                             Schedule     H 17 * * *
      

      Version of Jenkins this bug is occurring

      Jenkins ver. 1.574
      

      How we are running Jenkins

      /usr/java/latest/bin/java -XX:MaxPermSize=1024M -Dhudson.Functions.autoRefreshSeconds=60 -Dhudson.tasks.Fingerprinter.enableFingerprintsInDependencyGraph=true -Dhudson.upstreamCulprits=true -Xmx3000M -Dhudson.scm.SubversionSCM.pollFromMaster=true -Djava.util.logging.ConsoleHandler.level=FINE -jar lib/jenkins.war --httpPort=18080 --webroot=mst/war --ajp13Port=-1
      

      Environment we are using
      

      System Properties
      Name  ↓	Value   
      awt.toolkit	sun.awt.X11.XToolkit
      executable-war	/data/ci/lib/jenkins-1.574.war
      file.encoding	UTF-8
      file.encoding.pkg	sun.io
      file.separator	/
      hudson.diyChunking	true
      hudson.Functions.autoRefreshSeconds	60
      hudson.scm.SubversionSCM.pollFromMaster	true
      hudson.tasks.Fingerprinter.enableFingerprintsInDependencyGraph	true
      hudson.upstreamCulprits	true
      java.awt.graphicsenv	sun.awt.X11GraphicsEnvironment
      java.awt.headless	true
      java.awt.printerjob	sun.print.PSPrinterJob
      java.class.path	lib/jenkins.war
      java.class.version	51.0
      java.endorsed.dirs	/usr/java/jdk1.7.0_60/jre/lib/endorsed
      java.ext.dirs	/usr/java/jdk1.7.0_60/jre/lib/ext:/usr/java/packages/lib/ext
      java.home	/usr/java/jdk1.7.0_60/jre
      java.io.tmpdir	/tmp
      java.library.path	/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
      java.runtime.name	Java(TM) SE Runtime Environment
      java.runtime.version	1.7.0_60-b19
      java.specification.name	Java Platform API Specification
      java.specification.vendor	Oracle Corporation
      java.specification.version	1.7
      java.util.logging.ConsoleHandler.level	FINE
      java.vendor	Oracle Corporation
      java.vendor.url	http://java.oracle.com/
      java.vendor.url.bug	http://bugreport.sun.com/bugreport/
      java.version	1.7.0_60
      java.vm.info	mixed mode
      java.vm.name	Java HotSpot(TM) 64-Bit Server VM
      java.vm.specification.name	Java Virtual Machine Specification
      java.vm.specification.vendor	Oracle Corporation
      java.vm.specification.version	1.7
      java.vm.vendor	Oracle Corporation
      java.vm.version	24.60-b09
      jna.platform.library.path	/usr/lib64:/lib64:/usr/lib:/lib
      line.separator	
      mail.smtp.sendpartial	true
      mail.smtps.sendpartial	true
      org.apache.commons.logging.Log	org.apache.commons.logging.impl.Jdk14Logger
      os.arch	amd64
      os.name	Linux
      os.version	2.6.18-308.el5
      path.separator	:
      sun.arch.data.model	64
      sun.boot.class.path	/usr/java/jdk1.7.0_60/jre/lib/resources.jar:/usr/java/jdk1.7.0_60/jre/lib/rt.jar:/usr/java/jdk1.7.0_60/jre/lib/sunrsasign.jar:/usr/java/jdk1.7.0_60/jre/lib/jsse.jar:/usr/java/jdk1.7.0_60/jre/lib/jce.jar:/usr/java/jdk1.7.0_60/jre/lib/charsets.jar:/usr/java/jdk1.7.0_60/jre/lib/jfr.jar:/usr/java/jdk1.7.0_60/jre/classes
      sun.boot.library.path	/usr/java/jdk1.7.0_60/jre/lib/amd64
      sun.cpu.endian	little
      sun.cpu.isalist	
      sun.font.fontmanager	sun.awt.X11FontManager
      sun.io.unicode.encoding	UnicodeLittle
      sun.java.command	lib/jenkins.war --httpPort=18080 --webroot=mst/war --ajp13Port=-1
      sun.java.launcher	SUN_STANDARD
      sun.jnu.encoding	UTF-8
      sun.management.compiler	HotSpot 64-Bit Tiered Compilers
      sun.os.patch.level	unknown
      svnkit.http.methods	Digest,Basic,NTLM,Negotiate
      svnkit.ssh2.persistent	false
      user.country	US
      user.dir	/data/ci
      user.home	/root
      user.language	en
      user.name	root
      user.timezone	Europe/Paris
      Environment Variables
      Name  ↓	Value   
      _	/usr/bin/nohup
      ci_root_dir	/data/ci
      CVS_RSH	ssh
      G_BROKEN_FILENAMES	1
      HISTSIZE	1000
      HOME	/root
      HOSTNAME	
      HTTP_PORT	18080
      INPUTRC	/etc/inputrc
      JAVA_HOME	/usr/java/latest
      JENKINS_HOME	/data/ci/mst
      KDE_IS_PRELINKED	1
      KDE_NO_IPV6	1
      KDEDIR	/usr
      LANG	en_US.UTF-8
      LESSOPEN	|/usr/bin/lesspipe.sh %s
      LOGNAME	root
      LS_COLORS	di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:
      MAIL	/var/spool/mail/root
      MASTER_HOST	
      NLSPATH	/usr/dt/lib/nls/msg/%L/%N.cat
      OLDPWD	/data/ci
      PATH	/opt/CollabNet_Subversion/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
      PWD	/data/ci
      QTDIR	/usr/lib64/qt-3.3
      QTINC	/usr/lib64/qt-3.3/include
      QTLIB	/usr/lib64/qt-3.3/lib
      SHELL	/bin/bash
      SHLVL	2
      SSH_ASKPASS	/usr/libexec/openssh/gnome-ssh-askpass
      SSH_CLIENT	16.52.177.26 65483 22
      SSH_CONNECTION	16.52.177.26 65483 16.17.92.204 22
      SSH_TTY	/dev/pts/0
      TERM	xterm
      USER	root
      XFILESEARCHPATH	/usr/dt/app-defaults/%L/Dt
      Plugins
      Name  ↓	Version   	Enabled   	Pinned   
      active-directory	1.38	true	false
      analysis-collector	1.41	true	false
      analysis-core	1.57	true	false
      ant	1.2	true	false
      antisamy-markup-formatter	1.2	true	true
      async-http-client	1.7.8	true	false
      audit-trail	2.0	true	false
      changes-since-last-success	0.5	true	false
      checkstyle	3.39	true	false
      collabnet	1.1.9	true	false
      conditional-buildstep	1.3.3	true	false
      config-file-provider	2.7.4	true	false
      copy-data-to-workspace-plugin	1.0	true	false
      copy-to-slave	1.4.3	true	false
      copyartifact	1.31	true	false
      create-fingerprint	1.2	true	false
      credentials	1.15	true	true
      cvs	2.12	true	true
      dependencyanalyzer	0.6	true	false
      disk-usage	0.23	true	false
      downstream-buildview	1.9	true	false
      downstream-ext	1.8	true	false
      dry	2.40	true	false
      dumpinfo-buildwrapper-plugin	1.1	true	false
      elastic-axis	1.2	true	false
      envinject	1.89	true	false
      extended-read-permission	1.0	true	false
      external-monitor-job	1.2	true	false
      findbugs	4.56	true	false
      git	2.2.4	true	false
      git-client	1.10.1	true	false
      groovy	1.20	true	false
      groovy-postbuild	1.10	true	false
      javadoc	1.2	true	true
      jenkins-multijob-plugin	1.13	true	false
      jquery	1.7.2-1	true	false
      ldap	1.10.2	true	true
      locale	1.2	true	false
      m2-repo-reaper	1.0	true	false
      m2release	0.14.0	true	false
      mailer	1.9	true	true
      mapdb-api	1.0.1.0	true	false
      matrix-auth	1.2	true	true
      matrix-project	1.3	true	true
      matrix-reloaded	1.1.3	true	false
      matrixtieparent	1.2	true	false
      maven-deployment-linker	1.5.1	true	false
      maven-invoker-plugin	1.2	true	false
      maven-plugin	2.5	true	true
      pam-auth	1.1	true	false
      parameterized-trigger	2.25	true	false
      pending-changes	0.3.0	true	false
      platformlabeler	1.1	true	false
      pmd	3.38	true	false
      postbuild-task	1.8	true	false
      PrioritySorter	2.8	true	false
      promoted-builds	2.17	true	false
      release	2.4.1	true	false
      repository	1.2	true	false
      run-condition	1.0	true	false
      scm-api	0.2	true	false
      scoring-load-balancer	1.0.1	true	false
      slave-prerequisites	1.0	true	false
      ssh-agent	1.4.1	true	false
      ssh-credentials	1.7.1	true	true
      ssh-slaves	1.6	true	true
      subversion	2.4.1	true	true
      tasks	4.39	true	false
      token-macro	1.10	true	false
      toolenv	1.1	true	false
      tracking-svn	1.1	true	false
      translation	1.11	true	true
      versionnumber	1.4.1	true	false
      view-job-filters	1.26	true	false
      viewVC	1.7	true	false
      warnings	4.40	true	false
      windows-slaves	1.0	true	false
       

            Unassigned Unassigned
            maxim_strygin Maxim Strygin
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: