org.quartz.SchedulerException

Job threw an unhandled exception. [See nested exception: java.lang.IllegalArgumentException: fromIndex(0) > toIndex(-100)]

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web668

  • via Atlassian JIRA by Martin Meinhold, 10 months ago
    Job threw an unhandled exception. [See nested exception: java.lang.IllegalArgumentException: fromIndex(0) > toIndex(-100)]
  • via Atlassian JIRA by Martin Meinhold, 1 year ago
    Job threw an unhandled exception. [See nested exception: java.lang.IllegalArgumentException: fromIndex(0) > toIndex(-100)]
  • Job threw an unhandled exception. [See nested exception: java.lang.IllegalArgumentException: Property 'sessionFactory' is required]
  • Stack trace

    • 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

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    2 times, 1 month ago
    4 times, 1 year ago
    Unknown user
    Once, 1 year ago
    3 times, 11 months ago