java.lang.reflect.InvocationTargetException

Jenkins JIRA | Robert Barbey | 5 years ago
  1. 0

    We're are using a custom implementation of AuthenticationRealm for Winstone to be able to reuse the same login credentials for all our tools like SVN, trac, apache, and of course Jenkins. This implementation relies on a custom option being set as part of the JENKINS_ARGS to find the apache-style credentials file. Due to the strict parsing of options introduced in 1.449 our custom implementation is broken unless there is either another way to provide custom options in a similar fashion or the strict parsing of options can be switched off. I think this problem is related to JENKINS-12521 === [Winstone 2012/01/25 13:04:52] - Control thread shutdown successfully Listening for transport dt_socket at address: 8042 Running from: /usr/share/jenkins/jenkins.war 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: Unrecognized option: --subversionGroupsRealm.configFile=/codebase/codebase.access at winstone.cmdline.CmdLineParser.parse(CmdLineParser.java:53) at winstone.Launcher.getArgsFromCommandLine(Launcher.java:391) at winstone.Launcher.main(Launcher.java:359) ... 6 more

    Jenkins JIRA | 5 years ago | Robert Barbey
    java.lang.reflect.InvocationTargetException
  2. 0

    We're are using a custom implementation of AuthenticationRealm for Winstone to be able to reuse the same login credentials for all our tools like SVN, trac, apache, and of course Jenkins. This implementation relies on a custom option being set as part of the JENKINS_ARGS to find the apache-style credentials file. Due to the strict parsing of options introduced in 1.449 our custom implementation is broken unless there is either another way to provide custom options in a similar fashion or the strict parsing of options can be switched off. I think this problem is related to JENKINS-12521 === [Winstone 2012/01/25 13:04:52] - Control thread shutdown successfully Listening for transport dt_socket at address: 8042 Running from: /usr/share/jenkins/jenkins.war 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: Unrecognized option: --subversionGroupsRealm.configFile=/codebase/codebase.access at winstone.cmdline.CmdLineParser.parse(CmdLineParser.java:53) at winstone.Launcher.getArgsFromCommandLine(Launcher.java:391) at winstone.Launcher.main(Launcher.java:359) ... 6 more

    Jenkins JIRA | 5 years ago | Robert Barbey
    java.lang.reflect.InvocationTargetException
  3. 0

    Unexpected java.lang.IllegalArgumentException when calling a jar file

    Stack Overflow | 3 years ago | Jerry
    java.lang.reflect.InvocationTargetException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to enable JMX with Jenkins?

    Google Groups | 2 years ago | Brian J. Murrell
    java.lang.reflect.InvocationTargetException
  6. 0

    java process consumes up to 200% CPU while using the UI

    Google Groups | 2 years ago | Brian J. Murrell
    java.lang.reflect.InvocationTargetException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Unrecognized option: --subversionGroupsRealm.configFile=/codebase/codebase.access

      at winstone.cmdline.CmdLineParser.parse()
    2. winstone.cmdline
      CmdLineParser.parse
      1. winstone.cmdline.CmdLineParser.parse(CmdLineParser.java:53)
      1 frame
    3. winstone
      Launcher.main
      1. winstone.Launcher.getArgsFromCommandLine(Launcher.java:391)
      2. winstone.Launcher.main(Launcher.java:359)
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    5. Unknown
      Main.main
      1. Main._main(Main.java:273)
      2. Main.main(Main.java:98)
      2 frames