java.lang.IllegalArgumentException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 269#243240531
    via GitHub by L4BORG
    ,
  • GitHub comment 7#175382589
    via GitHub by qoiopipq
    ,
  • JBAC is currently using 250 elastic agents. After downgrading the limit to 150, I see the following stack trace in the logs: {noformat} 2015-03-10 01:40:51,054 ERROR [scheduler_Worker-10] [ErrorLogger] Job (elastic agent monitor job group.elastic agent monitor job threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.IllegalArgumentException: fromIndex(0) > toIndex(-100)] at org.quartz.core.JobRunShell.run(JobRunShell.java:213) at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) Caused by: java.lang.IllegalArgumentException: fromIndex(0) > toIndex(-100) at java.util.ArrayList.subListRangeCheck(ArrayList.java:1006) at java.util.ArrayList.subList(ArrayList.java:996) at com.atlassian.bamboo.agent.elastic.schedule.ElasticRunningInstancesOptimizerImpl.getImagesToStart(ElasticRunningInstancesOptimizerImpl.java:283) at sun.reflect.GeneratedMethodAccessor2759.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:98) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy157.getImagesToStart(Unknown Source) at com.atlassian.bamboo.agent.elastic.schedule.ElasticInstancesMonitorJob.execute(ElasticInstancesMonitorJob.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) ... 5 more {noformat}
    via by Martin Meinhold,
  • Constructing a 3D KD Tree
    via Stack Overflow by daman
    ,
  • JBAC is currently using 250 elastic agents. After downgrading the limit to 150, I see the following stack trace in the logs: {noformat} 2015-03-10 01:40:51,054 ERROR [scheduler_Worker-10] [ErrorLogger] Job (elastic agent monitor job group.elastic agent monitor job threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.IllegalArgumentException: fromIndex(0) > toIndex(-100)] at org.quartz.core.JobRunShell.run(JobRunShell.java:213) at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) Caused by: java.lang.IllegalArgumentException: fromIndex(0) > toIndex(-100) at java.util.ArrayList.subListRangeCheck(ArrayList.java:1006) at java.util.ArrayList.subList(ArrayList.java:996) at com.atlassian.bamboo.agent.elastic.schedule.ElasticRunningInstancesOptimizerImpl.getImagesToStart(ElasticRunningInstancesOptimizerImpl.java:283) at sun.reflect.GeneratedMethodAccessor2759.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:98) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy157.getImagesToStart(Unknown Source) at com.atlassian.bamboo.agent.elastic.schedule.ElasticInstancesMonitorJob.execute(ElasticInstancesMonitorJob.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) ... 5 more {noformat}
    via by Martin Meinhold,
  • Ingestion error after upgrade to v0.10.0
    via by Shinesun,
    • java.lang.IllegalArgumentException: fromIndex(512) > toIndex(511) at java.util.ArrayList.subListRangeCheck(ArrayList.java:1006) at java.util.ArrayList.subList(ArrayList.java:996) at com.boydti.fawe.example.NMSRelighter.fixSkyLighting(NMSRelighter.java:162) at com.boydti.fawe.example.NMSRelighter.fixLightingSafe(NMSRelighter.java:80) at com.boydti.fawe.example.NMSMappedFaweQueue$1$1.run(NMSMappedFaweQueue.java:34) at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:59) at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) 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)

    Users with the same issue

    DavidDavid
    2 times, last one,
    tyson925tyson925
    4 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    harshgharshg
    3 times, last one,