[ 
https://issues.jenkins-ci.org/browse/JENKINS-12521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160622#comment-160622
 ] 

torbent commented on JENKINS-12521:
-----------------------------------

Found in changelog for release 1.449:
bq. java -jar jenkins.war finally detects invalid command line options and 
report that as an error. 

Could this be our problem? Are the command line options in reality bad, and we 
just haven't known? I'll check my setup.
                
> java.lang.IllegalArgumentException with TMP Cleaner Plugin after Jenkins 
> update to version 1.449
> ------------------------------------------------------------------------------------------------
>
>                 Key: JENKINS-12521
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12521
>             Project: Jenkins
>          Issue Type: Bug
>          Components: plugin
>    Affects Versions: current
>         Environment: Jenkins 1.449, Tmp Cleaner Plugin 1.1
>            Reporter: Jürgen Prechtl
>            Priority: Minor
>              Labels: jenkins, plugin
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to