java.lang.ArrayIndexOutOfBoundsException: -1

Jenkins JIRA | Yujie Ren | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    When I type mvn hip:run in the plot plugin directory ,the jenkins which started by the maven can't create the new item ,and there is an error like this appears in the terminal: 信息: Jenkins is fully up and running 十一月 09, 2015 9:51:46 下午 hudson.model.ComputerSet <clinit> 警告: 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: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 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:183) at hudson.model.ComputerSet$1.save(ComputerSet.java:76) at hudson.util.PersistedList.onModified(PersistedList.java:173) at hudson.util.PersistedList.replaceBy(PersistedList.java:85) at hudson.model.ComputerSet.<clinit>(ComputerSet.java:431) at jenkins.model.Jenkins.getComputer(Jenkins.java:1113) at hudson.node_monitors.NodeMonitorUpdater$1.run(NodeMonitorUpdater.java:39) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) 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)

    Jenkins JIRA | 1 year ago | Yujie Ren
    java.lang.ArrayIndexOutOfBoundsException: -1
  2. 0

    When I type mvn hip:run in the plot plugin directory ,the jenkins which started by the maven can't create the new item ,and there is an error like this appears in the terminal: 信息: Jenkins is fully up and running 十一月 09, 2015 9:51:46 下午 hudson.model.ComputerSet <clinit> 警告: 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: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 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:183) at hudson.model.ComputerSet$1.save(ComputerSet.java:76) at hudson.util.PersistedList.onModified(PersistedList.java:173) at hudson.util.PersistedList.replaceBy(PersistedList.java:85) at hudson.model.ComputerSet.<clinit>(ComputerSet.java:431) at jenkins.model.Jenkins.getComputer(Jenkins.java:1113) at hudson.node_monitors.NodeMonitorUpdater$1.run(NodeMonitorUpdater.java:39) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) 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)

    Jenkins JIRA | 1 year ago | Yujie Ren
    java.lang.ArrayIndexOutOfBoundsException: -1
  3. 0

    Any maintainers for S3 plugin?

    Google Groups | 2 years ago | Charles Chan
    java.lang.ArrayIndexOutOfBoundsException: -1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Test phase of maven build of plugin, on jdk 1.8 fails. Works on 1.7 ------------------------------------------------------- T E S T S ------------------------------------------------------- Running InjectedTest Exploding jenkins.war at /Users/dspartz/.m2/repository/org/jenkins-ci/main/jenkins-war/1.520/jenkins-war-1.520-war-for-test.jar Feb 10, 2015 2:59:22 PM org.mortbay.log.Slf4jLog info INFO: Logging to org.slf4j.impl.JDK14LoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog Feb 10, 2015 2:59:22 PM org.mortbay.log.Slf4jLog info INFO: jetty-6.1.26 Feb 10, 2015 2:59:22 PM org.mortbay.log.Slf4jLog info INFO: NO JSP Support for , did not find org.apache.jasper.servlet.JspServlet Feb 10, 2015 2:59:22 PM org.mortbay.log.Slf4jLog info INFO: Started SocketConnector@0.0.0.0:49610 Feb 10, 2015 2:59:22 PM jenkins.InitReactorRunner$1 onAttained INFO: Started initialization Feb 10, 2015 2:59:25 PM jenkins.InitReactorRunner$1 onAttained INFO: Listed all plugins Feb 10, 2015 2:59:25 PM jenkins.InitReactorRunner$1 onAttained INFO: Prepared all plugins Feb 10, 2015 2:59:25 PM jenkins.InitReactorRunner$1 onAttained INFO: Started all plugins Feb 10, 2015 2:59:25 PM jenkins.InitReactorRunner$1 onAttained INFO: Augmented all extensions Feb 10, 2015 2:59:28 PM hudson.model.ComputerSet <clinit> WARNING: 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: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 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:183) at hudson.model.ComputerSet$1.save(ComputerSet.java:76) at hudson.util.PersistedList.onModified(PersistedList.java:173) at hudson.util.PersistedList.replaceBy(PersistedList.java:85) at hudson.model.ComputerSet.<clinit>(ComputerSet.java:431) at jenkins.metrics.impl.JenkinsHealthCheckProviderImpl.getHealthChecks(JenkinsHealthCheckProviderImpl.java:87) at jenkins.metrics.api.Metrics.afterExtensionsAugmented(Metrics.java:311) 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:483) at hudson.init.InitializerFinder.invoke(InitializerFinder.java:120) at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:184) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$7.runTask(Jenkins.java:893) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) 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) Feb 10, 2015 2:59:28 PM jenkins.InitReactorRunner$1 onAttained INFO: Loaded all jobs Feb 10, 2015 2:59:28 PM jenkins.InitReactorRunner$1 onAttained INFO: Completed initialization Feb 10, 2015 2:59:28 PM hudson.TcpSlaveAgentListener <init> INFO: JNLP slave agent listener started on TCP port 49611 Feb 10, 2015 2:59:28 PM hudson.UDPBroadcastThread run WARNING: UDP handling problem java.net.SocketException: Can't assign requested address at java.net.PlainDatagramSocketImpl.join(Native Method) at java.net.AbstractPlainDatagramSocketImpl.join(AbstractPlainDatagramSocketImpl.java:179) at java.net.MulticastSocket.joinGroup(MulticastSocket.java:323) at hudson.UDPBroadcastThread.run(UDPBroadcastThread.java:76) Feb 10, 2015 2:59:28 PM org.mortbay.log.Slf4jLog info INFO: jetty-6.1.26 Feb 10, 2015 2:59:28 PM org.mortbay.log.Slf4jLog info INFO: NO JSP Support for , did not find org.apache.jasper.servlet.JspServlet Feb 10, 2015 2:59:28 PM org.mortbay.log.Slf4jLog info INFO: Started SocketConnector@0.0.0.0:49612 Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 7.867 sec <<< FAILURE! Feb 10, 2015 2:59:28 PM hudson.PluginWrapper stop INFO: Stopping metrics Results : Tests in error: org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite(org.jvnet.hudson.test.junit.FailedTest): -1 testCliSanity(org.jvnet.hudson.test.PluginAutomaticTestBuilder$CliSanityTest): second instance Tests run: 2, Failures: 0, Errors: 2, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 14.808s [INFO] Finished at: Tue Feb 10 14:59:29 PST 2015 [INFO] Final Memory: 37M/514M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.9:test (default-test) on project metrics: There are test failures. [ERROR] [ERROR] Please refer to /Users/dspartz/Documents/workspaces/git/metrics-plugin/target/surefire-reports for the individual test results. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

    Jenkins JIRA | 2 years ago | Daryl Spartz
    java.lang.ArrayIndexOutOfBoundsException: -1
  6. 0

    Test phase of maven build of plugin, on jdk 1.8 fails. Works on 1.7 ------------------------------------------------------- T E S T S ------------------------------------------------------- Running InjectedTest Exploding jenkins.war at /Users/dspartz/.m2/repository/org/jenkins-ci/main/jenkins-war/1.520/jenkins-war-1.520-war-for-test.jar Feb 10, 2015 2:59:22 PM org.mortbay.log.Slf4jLog info INFO: Logging to org.slf4j.impl.JDK14LoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog Feb 10, 2015 2:59:22 PM org.mortbay.log.Slf4jLog info INFO: jetty-6.1.26 Feb 10, 2015 2:59:22 PM org.mortbay.log.Slf4jLog info INFO: NO JSP Support for , did not find org.apache.jasper.servlet.JspServlet Feb 10, 2015 2:59:22 PM org.mortbay.log.Slf4jLog info INFO: Started SocketConnector@0.0.0.0:49610 Feb 10, 2015 2:59:22 PM jenkins.InitReactorRunner$1 onAttained INFO: Started initialization Feb 10, 2015 2:59:25 PM jenkins.InitReactorRunner$1 onAttained INFO: Listed all plugins Feb 10, 2015 2:59:25 PM jenkins.InitReactorRunner$1 onAttained INFO: Prepared all plugins Feb 10, 2015 2:59:25 PM jenkins.InitReactorRunner$1 onAttained INFO: Started all plugins Feb 10, 2015 2:59:25 PM jenkins.InitReactorRunner$1 onAttained INFO: Augmented all extensions Feb 10, 2015 2:59:28 PM hudson.model.ComputerSet <clinit> WARNING: 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: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 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:183) at hudson.model.ComputerSet$1.save(ComputerSet.java:76) at hudson.util.PersistedList.onModified(PersistedList.java:173) at hudson.util.PersistedList.replaceBy(PersistedList.java:85) at hudson.model.ComputerSet.<clinit>(ComputerSet.java:431) at jenkins.metrics.impl.JenkinsHealthCheckProviderImpl.getHealthChecks(JenkinsHealthCheckProviderImpl.java:87) at jenkins.metrics.api.Metrics.afterExtensionsAugmented(Metrics.java:311) 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:483) at hudson.init.InitializerFinder.invoke(InitializerFinder.java:120) at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:184) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$7.runTask(Jenkins.java:893) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) 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) Feb 10, 2015 2:59:28 PM jenkins.InitReactorRunner$1 onAttained INFO: Loaded all jobs Feb 10, 2015 2:59:28 PM jenkins.InitReactorRunner$1 onAttained INFO: Completed initialization Feb 10, 2015 2:59:28 PM hudson.TcpSlaveAgentListener <init> INFO: JNLP slave agent listener started on TCP port 49611 Feb 10, 2015 2:59:28 PM hudson.UDPBroadcastThread run WARNING: UDP handling problem java.net.SocketException: Can't assign requested address at java.net.PlainDatagramSocketImpl.join(Native Method) at java.net.AbstractPlainDatagramSocketImpl.join(AbstractPlainDatagramSocketImpl.java:179) at java.net.MulticastSocket.joinGroup(MulticastSocket.java:323) at hudson.UDPBroadcastThread.run(UDPBroadcastThread.java:76) Feb 10, 2015 2:59:28 PM org.mortbay.log.Slf4jLog info INFO: jetty-6.1.26 Feb 10, 2015 2:59:28 PM org.mortbay.log.Slf4jLog info INFO: NO JSP Support for , did not find org.apache.jasper.servlet.JspServlet Feb 10, 2015 2:59:28 PM org.mortbay.log.Slf4jLog info INFO: Started SocketConnector@0.0.0.0:49612 Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 7.867 sec <<< FAILURE! Feb 10, 2015 2:59:28 PM hudson.PluginWrapper stop INFO: Stopping metrics Results : Tests in error: org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite(org.jvnet.hudson.test.junit.FailedTest): -1 testCliSanity(org.jvnet.hudson.test.PluginAutomaticTestBuilder$CliSanityTest): second instance Tests run: 2, Failures: 0, Errors: 2, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 14.808s [INFO] Finished at: Tue Feb 10 14:59:29 PST 2015 [INFO] Final Memory: 37M/514M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.9:test (default-test) on project metrics: There are test failures. [ERROR] [ERROR] Please refer to /Users/dspartz/Documents/workspaces/git/metrics-plugin/target/surefire-reports for the individual test results. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

    Jenkins JIRA | 2 years ago | Daryl Spartz
    java.lang.ArrayIndexOutOfBoundsException: -1

    6 unregistered visitors
    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.ArrayIndexOutOfBoundsException

      -1

      at com.thoughtworks.xstream.core.util.OrderRetainingMap.entrySet()
    2. XStream Core
      OrderRetainingMap.entrySet
      1. com.thoughtworks.xstream.core.util.OrderRetainingMap.entrySet(OrderRetainingMap.java:77)
      1 frame
    3. Java RT
      HashMap.putAll
      1. java.util.HashMap.putMapEntries(HashMap.java:511)
      2. java.util.HashMap.putAll(HashMap.java:784)
      2 frames
    4. XStream Core
      PureJavaReflectionProvider.visitSerializableFields
      1. com.thoughtworks.xstream.core.util.OrderRetainingMap.<init>(OrderRetainingMap.java:36)
      2. com.thoughtworks.xstream.converters.reflection.FieldDictionary.buildMap(FieldDictionary.java:135)
      3. com.thoughtworks.xstream.converters.reflection.FieldDictionary.fieldsFor(FieldDictionary.java:76)
      4. com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:127)
      4 frames
    5. Hudson
      RobustReflectionConverter.marshal
      1. hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:143)
      2. hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:102)
      2 frames
    6. XStream Core
      AbstractCollectionConverter.writeItem
      1. com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
      2. com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
      3. com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
      4. com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88)
      5. com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
      5 frames
    7. Hudson
      DescribableList$ConverterImpl.marshal
      1. hudson.util.DescribableList$ConverterImpl.marshal(DescribableList.java:259)
      1 frame
    8. XStream Core
      XStream.toXML
      1. com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
      2. com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
      3. com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
      4. com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:82)
      5. com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37)
      6. com.thoughtworks.xstream.XStream.marshal(XStream.java:898)
      7. com.thoughtworks.xstream.XStream.marshal(XStream.java:887)
      8. com.thoughtworks.xstream.XStream.toXML(XStream.java:860)
      8 frames
    9. Hudson
      ComputerSet.<clinit>
      1. hudson.XmlFile.write(XmlFile.java:183)
      2. hudson.model.ComputerSet$1.save(ComputerSet.java:76)
      3. hudson.util.PersistedList.onModified(PersistedList.java:173)
      4. hudson.util.PersistedList.replaceBy(PersistedList.java:85)
      5. hudson.model.ComputerSet.<clinit>(ComputerSet.java:431)
      5 frames
    10. jenkins.model
      Jenkins.getComputer
      1. jenkins.model.Jenkins.getComputer(Jenkins.java:1113)
      1 frame
    11. Hudson
      NodeMonitorUpdater$1.run
      1. hudson.node_monitors.NodeMonitorUpdater$1.run(NodeMonitorUpdater.java:39)
      1 frame
    12. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
      5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      7. java.lang.Thread.run(Thread.java:745)
      7 frames