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

java.lang.IllegalArgumentException with TMP Cleaner Plugin after Jenkins update to version 1.449

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • plugin-proposals
    • Jenkins 1.449, Tmp Cleaner Plugin 1.1

      After Jenkins update to version 1.449 Jenkins throws java.lang.IllegalArgumentException and does not start.
      The problem does not exist until version 1.448.
      The issue affects Tmp Cleaner Plugin 1.0 and 1.1 (i've tested those two versions).

      Here is the complete logfile entry:
      Exception in thread "main" java.lang.reflect.InvocationTargetException
      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:597)
      at Main._main(Main.java:273)
      at Main.main(Main.java:98)
      Caused by: java.lang.IllegalArgumentException: Multiple command line argument specified: -Dhudson.plugins.tmpcleaner.TmpCleanWork.extraDirectories=/home/hudson1t/tmp

      If i remove this startup option, Jenkins throws the same exception with the parameter hudson.plugins.tmpcleaner.TmpCleanWork.days.

            Unassigned Unassigned
            juprecht Jürgen Prechtl
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: