I don't think Jenkins supports the jdk 8 pre release yet. On Jan 29, 2014 8:07 PM, "Shakthi Kannan" <shakthim...@gmail.com> wrote:
> Hi, > > I am trying to set up Jenkins (1.549-1.1) on Fedora 20 (x86_64) using > the installation instructions at: > > > https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+RedHat+distributions > > Whenever I try to save settings through the web browser, I get a stack > trace dump. This has happened when I tried to configure and save using > "Configure System", and when I tried to "Add Credentials". > > I have java-1.8.0-openjdk installed. What could I be missing? > > === OUTPUT === > > Configure System - Stack trace > > javax.servlet.ServletException: java.lang.ArrayIndexOutOfBoundsException: > -1 > at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:735) > at org.kohsuke.stapler.Stapler.invoke(Stapler.java:799) > at org.kohsuke.stapler.Stapler.invoke(Stapler.java:587) > at org.kohsuke.stapler.Stapler.service(Stapler.java:218) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) > at winstone.ServletConfiguration.execute(ServletConfiguration.java:248) > at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) > at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376) > at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96) > at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88) > at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) > at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) > at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48) > at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) > at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) > at > hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) > at > hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) > at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) > at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) > at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) > at > org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46) > at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) > at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) > at > hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) > at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) > at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) > at winstone.RequestDispatcher.forward(RequestDispatcher.java:331) > at > winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:227) > at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > at java.lang.Thread.run(Thread.java:744) > Caused by: java.lang.ArrayIndexOutOfBoundsException: -1 > at > com.thoughtworks.xstream.core.util.OrderRetainingMap.entrySet(OrderRetainingMap.java:77) > at java.util.HashMap.putMapEntries(HashMap.java:511) > at java.util.HashMap.putAll(HashMap.java:784) > at > com.thoughtworks.xstream.core.util.OrderRetainingMap.<init>(OrderRetainingMap.java:36) > at > com.thoughtworks.xstream.converters.reflection.FieldDictionary.buildMap(FieldDictionary.java:135) > at > com.thoughtworks.xstream.converters.reflection.FieldDictionary.fieldsFor(FieldDictionary.java:76) > at > com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:127) > at > hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:143) > at > hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:102) > at > com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) > at > com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) > at > com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43) > at > com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:82) > at > com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37) > at com.thoughtworks.xstream.XStream.marshal(XStream.java:898) > at com.thoughtworks.xstream.XStream.marshal(XStream.java:887) > at com.thoughtworks.xstream.XStream.toXML(XStream.java:860) > at hudson.XmlFile.write(XmlFile.java:183) > at jenkins.model.Jenkins.save(Jenkins.java:2640) > at hudson.BulkChange.commit(BulkChange.java:112) > at jenkins.model.Jenkins.doConfigSubmit(Jenkins.java:2750) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:483) > at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:297) > at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:160) > at > org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:95) > at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111) > at > org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) > at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:685) > ... 34 more > > Add credentials - Stack trace > > javax.servlet.ServletException: java.lang.RuntimeException: Failed to > serialize > com.cloudbees.plugins.credentials.SystemCredentialsProvider#domainCredentialsMap > for class com.cloudbees.plugins.credentials.SystemCredentialsProvider > at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:735) > at org.kohsuke.stapler.Stapler.invoke(Stapler.java:799) > at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:239) > at > org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) > at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:685) > at org.kohsuke.stapler.Stapler.invoke(Stapler.java:799) > at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:381) > at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:685) > at org.kohsuke.stapler.Stapler.invoke(Stapler.java:799) > at org.kohsuke.stapler.Stapler.invoke(Stapler.java:587) > at org.kohsuke.stapler.Stapler.service(Stapler.java:218) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) > at winstone.ServletConfiguration.execute(ServletConfiguration.java:248) > at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) > at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376) > at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96) > at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88) > at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) > at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) > at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48) > at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) > at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) > at > hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) > at > hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) > at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) > at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) > at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) > at > org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46) > at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) > at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) > at > hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) > at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) > at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) > at winstone.RequestDispatcher.forward(RequestDispatcher.java:331) > at > winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:227) > at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > at java.lang.Thread.run(Thread.java:744) > Caused by: java.lang.RuntimeException: Failed to serialize > > com.cloudbees.plugins.credentials.SystemCredentialsProvider#domainCredentialsMap > for class com.cloudbees.plugins.credentials.SystemCredentialsProvider > at > hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:208) > at > hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:176) > at > com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:135) > at > hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:161) > at > hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:102) > at > com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) > at > com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) > at > com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43) > at > com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:82) > at > com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37) > at com.thoughtworks.xstream.XStream.marshal(XStream.java:898) > at com.thoughtworks.xstream.XStream.marshal(XStream.java:887) > at com.thoughtworks.xstream.XStream.toXML(XStream.java:860) > at hudson.XmlFile.write(XmlFile.java:183) > at > com.cloudbees.plugins.credentials.SystemCredentialsProvider.save(SystemCredentialsProvider.java:424) > at > com.cloudbees.plugins.credentials.SystemCredentialsProvider.checkedSave(SystemCredentialsProvider.java:220) > at > com.cloudbees.plugins.credentials.SystemCredentialsProvider.addCredentials(SystemCredentialsProvider.java:294) > at > com.cloudbees.plugins.credentials.SystemCredentialsProvider.access$400(SystemCredentialsProvider.java:81) > at > com.cloudbees.plugins.credentials.SystemCredentialsProvider$StoreImpl.addCredentials(SystemCredentialsProvider.java:608) > at > com.cloudbees.plugins.credentials.CredentialsStoreAction$DomainWrapper.doCreateCredentials(CredentialsStoreAction.java:265) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:483) > at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:297) > at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:160) > at > org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:95) > at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111) > at > org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) > at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:685) > ... 41 more > Caused by: java.lang.ArrayIndexOutOfBoundsException: -1 > at > com.thoughtworks.xstream.core.util.OrderRetainingMap.entrySet(OrderRetainingMap.java:77) > at java.util.HashMap.putMapEntries(HashMap.java:511) > at java.util.HashMap.putAll(HashMap.java:784) > at > com.thoughtworks.xstream.core.util.OrderRetainingMap.<init>(OrderRetainingMap.java:36) > at > com.thoughtworks.xstream.converters.reflection.FieldDictionary.buildMap(FieldDictionary.java:135) > at > com.thoughtworks.xstream.converters.reflection.FieldDictionary.fieldsFor(FieldDictionary.java:76) > at > com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:127) > at > hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:143) > at > hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:102) > at > com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) > at > com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) > at > com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43) > at > com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88) > at > com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64) > at > com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:55) > at > com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) > at > com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) > at > com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43) > at > com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88) > at > com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64) > at > com.thoughtworks.xstream.converters.collections.MapConverter.marshal(MapConverter.java:59) > at > hudson.util.CopyOnWriteMap$Hash$ConverterImpl.marshal(CopyOnWriteMap.java:196) > at hudson.util.XStream2$AssociatedConverterImpl.marshal(XStream2.java:334) > at > com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) > at > com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) > at > com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84) > at > hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:217) > at > hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:204) > ... 70 more > > === END === > > SK > > -- > Shakthi Kannan > http://www.shakthimaan.com > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.