[JIRA] (JENKINS-38057) Opening "Global Tool Configuration" or "Global Security" fails
Title: Message Title Peter Schütt edited a comment on JENKINS-38057 Re: Opening "Global Tool Configuration" or "Global Security" fails I got it! The old key file *identity.key*in the jenkins user directory for jenkins (e.g. C:\Users\build-user\.jenkins) was the cause of the problem:{code}01 -BEGIN RSA PRIVATE KEY-02 Proc-Type: 4,ENCRYPTED03 DEK-Info: DES-EDE3-CBC,E1B7AEE45593F42604 05 hAHDXR1tgkDlDIIuoCA4WwSSlMZf5zyUZNAvcCdaukryMZj++ZMMETQ7t4C+XaV0...29 x74++UwZIooUGS341HjJVRcGGwkIhdDml44n1+obTU/baSms0dObB8N56hHqxa4P30 -END RSA PRIVATE KEY-{code}When I renamed it and restarts apache with jenkins then a new file *identity.key.enc*is created in the same directory and the error disappears.I found this error only while studying the logs. The error message on the jenkins GUI is very unclear. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-38057) Opening "Global Tool Configuration" or "Global Security" fails
Title: Message Title Peter Schütt commented on JENKINS-38057 Re: Opening "Global Tool Configuration" or "Global Security" fails I got it! The old key file identity.key in the jenkins directory was the cause of the problem: 01 -BEGIN RSA PRIVATE KEY- 02 Proc-Type: 4,ENCRYPTED 03 DEK-Info: DES-EDE3-CBC,E1B7AEE45593F426 04 05 hAHDXR1tgkDlDIIuoCA4WwSSlMZf5zyUZNAvcCdaukryMZj++ZMMETQ7t4C+XaV0 ... 29 x74++UwZIooUGS341HjJVRcGGwkIhdDml44n1+obTU/baSms0dObB8N56hHqxa4P 30 -END RSA PRIVATE KEY- When I renamed it and restarts apache with jenkins then a new file identity.key.enc is created and the error disappears. I found this error only while studying the logs. The error message on the jenkins GUI is very unclear. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-38057) Opening "Global Tool Configuration" or "Global Security" fails
Title: Message Title Bachir Sylla commented on JENKINS-38057 Re: Opening "Global Tool Configuration" or "Global Security" fails I checked my configuration and saw Java 9; went back to Java 7 and everything's fine now! Thank you Luca Faggianelli. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-38057) Opening "Global Tool Configuration" or "Global Security" fails
Title: Message Title Luca Faggianelli commented on JENKINS-38057 Re: Opening "Global Tool Configuration" or "Global Security" fails I actually fixed it! For a reason I still ignore, I was using Java 9 (yes nine, probably some alpha release) which is going to be released in 1 year, so I switched to Java8 and all the issues are gone! Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-38057) Opening "Global Tool Configuration" or "Global Security" fails
Title: Message Title Bachir Sylla commented on JENKINS-38057 Re: Opening "Global Tool Configuration" or "Global Security" fails Same problem here. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-38057) Opening "Global Tool Configuration" or "Global Security" fails
Title: Message Title Luca Faggianelli commented on JENKINS-38057 Re: Opening "Global Tool Configuration" or "Global Security" fails I'm suffering the same issue on Ubuntu 12.04, it happens when I navigate to /credentials. Did you find any work around? Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-38057) Opening "Global Tool Configuration" or "Global Security" fails
Title: Message Title Peter Schütt edited a comment on JENKINS-38057 Re: Opening "Global Tool Configuration" or "Global Security" fails Some additional infos from the apache-Log-file:08-Sep-2016 10:46:02.002 WARNING [Handling GET /jenkins/configureTools from 10.3.21.40 : http-apr-8080-exec-10] hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.error Failed to instantiate Key[type=org.jenkinsci.main.modules.instance_identity.PageDecoratorImpl, annotation=[none]]; skipping this component com.google.inject.ProvisionException: Guice provision errors:1) Error injecting constructor, java.io.IOException: Invalid DER: length field too big (186) at org.jenkinsci.main.modules.instance_identity.PageDecoratorImpl.(PageDecoratorImpl.java:21)1 error at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:52) at com.google.inject.Scopes$1$1.get(Scopes.java:65) at hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.get(ExtensionFinder.java:424) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:1005) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1051) at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:1001) at hudson.ExtensionFinder$GuiceFinder._find(ExtensionFinder.java:386) at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:377) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:478) at hudson.ExtensionList.load(ExtensionList.java:349) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:287) at hudson.ExtensionList.iterator(ExtensionList.java:156) at hudson.ExtensionList.get(ExtensionList.java:147) at org.jenkinsci.main.modules.instance_identity.InstanceIdentity.get(InstanceIdentity.java:131) at org.jenkinsci.main.modules.instance_identity.InstanceIdentityRSAProvider.getKeyPair(InstanceIdentityRSAProvider.java:23) at jenkins.model.identity.InstanceIdentityProvider$KeyTypes.get(InstanceIdentityProvider.java:161) at jenkins.model.identity.InstanceIdentityProvider$KeyTypes.getKeyPair(InstanceIdentityProvider.java:210) at jenkins.model.identity.IdentityRootAction.getUrlName(IdentityRootAction.java:42) at jenkins.model.Jenkins.getDynamic(Jenkins.java:3472) at sun.reflect.GeneratedMethodAccessor380.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:324) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:167) at org.kohsuke.stapler.MetaClass$11.dispatch(MetaClass.java:378) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649) at org.kohsuke.stapler.Stapler.service(Stapler.java:238) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:135) at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:59) at hudson.util.PluginServletFilter$1.doFilter(Plu
[JIRA] (JENKINS-38057) Opening "Global Tool Configuration" or "Global Security" fails
Title: Message Title Peter Schütt commented on JENKINS-38057 Re: Opening "Global Tool Configuration" or "Global Security" fails Some additional infos from the apache-Log-file: 08-Sep-2016 10:46:02.002 WARNING [Handling GET /jenkins/configureTools from 10.3.21.40 : http-apr-8080-exec-10] hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.error Failed to instantiate Key[type=org.jenkinsci.main.modules.instance_identity.PageDecoratorImpl, annotation=[none]]; skipping this component com.google.inject.ProvisionException: Guice provision errors: 1) Error injecting constructor, java.io.IOException: Invalid DER: length field too big (186) at org.jenkinsci.main.modules.instance_identity.PageDecoratorImpl.(PageDecoratorImpl.java:21) 1 error at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:52) at com.google.inject.Scopes$1$1.get(Scopes.java:65) at hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.get(ExtensionFinder.java:424) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:1005) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1051) at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:1001) at hudson.ExtensionFinder$GuiceFinder._find(ExtensionFinder.java:386) at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:377) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:478) at hudson.ExtensionList.load(ExtensionList.java:349) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:287) at hudson.ExtensionList.iterator(ExtensionList.java:156) at hudson.ExtensionList.get(ExtensionList.java:147) at org.jenkinsci.main.modules.instance_identity.InstanceIdentity.get(InstanceIdentity.java:131) at org.jenkinsci.main.modules.instance_identity.InstanceIdentityRSAProvider.getKeyPair(InstanceIdentityRSAProvider.java:23) at jenkins.model.identity.InstanceIdentityProvider$KeyTypes.get(InstanceIdentityProvider.java:161) at jenkins.model.identity.InstanceIdentityProvider$KeyTypes.getKeyPair(InstanceIdentityProvider.java:210) at jenkins.model.identity.IdentityRootAction.getUrlName(IdentityRootAction.java:42) at jenkins.model.Jenkins.getDynamic(Jenkins.java:3472) at sun.reflect.GeneratedMethodAccessor380.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:324) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:167) at org.kohsuke.stapler.MetaClass$11.dispatch(MetaClass.java:378) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649) at org.kohsuke.stapler.Stapler.service(Stapler.java:238) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:135) at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:59) at hudson.util.PluginServletFilter$1.doFilter(PluginSe
[JIRA] (JENKINS-38057) Opening "Global Tool Configuration" or "Global Security" fails
Title: Message Title Peter Schütt created an issue Jenkins / JENKINS-38057 Opening "Global Tool Configuration" or "Global Security" fails Issue Type: Bug Assignee: Unassigned Components: core Created: 2016/Sep/08 9:12 AM Environment: Windows Server 2008 R2 Running in Tomcat 8.0.21 Priority: Critical Reporter: Peter Schütt When I want to open "Global Tool Configuration" or "Global Security" I get a StackTrace: Stack trace javax.servlet.ServletException: java.lang.AssertionError: InstanceIdentity is missing its singleton at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:796) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649) at org.kohsuke.stapler.Stapler.service(Stapler.java:238) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:135) at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:59) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:126) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.security