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

Raised java.lang.ArrayIndexOutOfBoundsException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • None
    • Apache Maven 3.3.3, Oracle JDK 1.8.0_40, Mac OSX

      Step to reproduce this bug:

      1. Clone the repository
      2. mvn hpi:run

      And we get this:

      [INFO] Started SelectChannelConnector @ 0.0.0.0:8080
      [INFO] Started Jetty Server
      [INFO] Console reloading is ENABLED. Hit ENTER on the console to restart the context.
      jun 16, 2015 8:47:00 PM jenkins.InitReactorRunner$1 onAttained
      INFORMACIÓN: Started initialization
      jun 16, 2015 8:47:12 PM jenkins.InitReactorRunner$1 onAttained
      INFORMACIÓN: Listed all plugins
      jun 16, 2015 8:47:13 PM jenkins.InitReactorRunner$1 onAttained
      INFORMACIÓN: Prepared all plugins
      jun 16, 2015 8:47:13 PM jenkins.InitReactorRunner$1 onAttained
      INFORMACIÓN: Started all plugins
      jun 16, 2015 8:47:13 PM jenkins.InitReactorRunner$1 onAttained
      INFORMACIÓN: Augmented all extensions
      jun 16, 2015 8:47:13 PM jenkins.InitReactorRunner$1 onAttained
      INFORMACIÓN: Loaded all jobs
      jun 16, 2015 8:47:19 PM org.jenkinsci.main.modules.sshd.SSHD start
      INFORMACIÓN: Started SSHD at port 53204
      jun 16, 2015 8:47:19 PM hudson.model.ComputerSet <clinit>
      ADVERTENCIA: Failed to instantiate NodeMonitors
      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:149)
      	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:108)
      	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 hudson.util.DescribableList$ConverterImpl.marshal(DescribableList.java:259)
      	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:178)
      	at hudson.model.ComputerSet$1.save(ComputerSet.java:81)
      	at hudson.util.PersistedList.onModified(PersistedList.java:173)
      	at hudson.util.PersistedList.replaceBy(PersistedList.java:85)
      	at hudson.model.ComputerSet.<clinit>(ComputerSet.java:447)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:105)
      	at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:169)
      	at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
      	at jenkins.model.Jenkins$7.runTask(Jenkins.java:899)
      	at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
      	at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
      	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:745)
      
      jun 16, 2015 8:47:19 PM jenkins.InitReactorRunner$1 onAttained
      INFORMACIÓN: Completed initialization
      jun 16, 2015 8:47:19 PM hudson.TcpSlaveAgentListener <init>
      INFORMACIÓN: JNLP slave agent listener started on TCP port 53205
      jun 16, 2015 8:47:19 PM hudson.WebAppMain$3 run
      INFORMACIÓN: Jenkins is fully up and running
      

            stephenconnolly Stephen Connolly
            recena Manuel Recena Soto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: