java.lang.IllegalArgumentException: fromIndex(512) > toIndex(511)

GitHub | L4BORG | 9 months 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

    GitHub comment 269#243240531

    GitHub | 9 months ago | L4BORG
    java.lang.IllegalArgumentException: fromIndex(512) > toIndex(511)
  2. 0

    java.lang.IllegalArgumentException: fromIndex(512) > toIndex(511)

    GitHub | 9 months ago | L4BORG
    java.lang.IllegalArgumentException: fromIndex(512) > toIndex(511)
  3. 0

    GitHub comment 7#175382589

    GitHub | 1 year ago | qoiopipq
    java.lang.IllegalArgumentException: fromIndex(15) > toIndex(14)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Assemble command trackback & confidence values >=1

    GitHub | 1 year ago | qoiopipq
    java.lang.IllegalArgumentException: fromIndex(15) > toIndex(14)
  6. 0

    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}

    Atlassian JIRA | 2 years ago | Martin Meinhold
    org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.IllegalArgumentException: fromIndex(0) > toIndex(-100)]

  1. tyson925 4 times, last 1 year ago
1 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.IllegalArgumentException

    fromIndex(512) > toIndex(511)

    at java.util.ArrayList.subListRangeCheck()
  2. Java RT
    ArrayList.subList
    1. java.util.ArrayList.subListRangeCheck(ArrayList.java:1006)
    2. java.util.ArrayList.subList(ArrayList.java:996)
    2 frames
  3. com.boydti.fawe
    NMSMappedFaweQueue$1$1.run
    1. com.boydti.fawe.example.NMSRelighter.fixSkyLighting(NMSRelighter.java:162)
    2. com.boydti.fawe.example.NMSRelighter.fixLightingSafe(NMSRelighter.java:80)
    3. com.boydti.fawe.example.NMSMappedFaweQueue$1$1.run(NMSMappedFaweQueue.java:34)
    3 frames
  4. org.bukkit.craftbukkit
    CraftAsyncTask.run
    1. org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:59)
    2. org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
    2 frames
  5. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames