java.lang.IndexOutOfBoundsException: 98, -81

Stack Overflow | Ankush Chugh | 2 months ago
  1. 0

    I have a job that is set to 'execute for every row' from a previous transformation. This job then calls a sub-job that executes 8 jobs in parallel. Sometimes I get an IndexOutOfBoundsException during my run. It is random as to what loop number I am on that causes this error. I will upload a zip with my jobs so you can run them. They are set up to have 500 rows to loop through. When I get the error, sometimes the job stops, and sometimes it continues running. 3 errors I have seen: java.lang.IndexOutOfBoundsException: Index: 98, Size: 98 at java.util.ArrayList.RangeCheck(ArrayList.java:547) at java.util.ArrayList.get(ArrayList.java:322) at org.pentaho.di.core.logging.LoggingRegistry.registerLoggingSource(LoggingRegistry.java:153) at org.pentaho.di.core.logging.LogChannel.<init>(LogChannel.java:41) at org.pentaho.di.job.entry.JobEntryBase.<init>(JobEntryBase.java:134) at org.pentaho.di.job.entries.delay.JobEntryDelay.<init>(JobEntryDelay.java:67) at org.pentaho.di.job.entries.delay.JobEntryDelay.<init>(JobEntryDelay.java:73) at sun.reflect.GeneratedConstructorAccessor7.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:370) at org.pentaho.di.job.entry.JobEntryCopy.<init>(JobEntryCopy.java:116) at org.pentaho.di.job.JobMeta.loadXML(JobMeta.java:1161) at org.pentaho.di.job.JobMeta.loadXML(JobMeta.java:969) at org.pentaho.di.job.JobMeta.<init>(JobMeta.java:871) at org.pentaho.di.job.JobMeta.<init>(JobMeta.java:831) at org.pentaho.di.repository.filerep.KettleFileRepository.loadJob(KettleFileRepository.java:757) at org.pentaho.di.job.entries.job.JobEntryJob.getJobMeta(JobEntryJob.java:1119) at org.pentaho.di.job.entries.job.JobEntryJob.execute(JobEntryJob.java:558) at org.pentaho.di.job.Job.execute(Job.java:589) at org.pentaho.di.job.Job.execute(Job.java:728) at org.pentaho.di.job.Job.access$000(Job.java:103) at org.pentaho.di.job.Job$1.run(Job.java:703) at java.lang.Thread.run(Thread.java:662) ------------------------------------------------------------------ ------------------------------------------------------------------ org.pentaho.di.core.exception.KettleException: Unexpected error occurred while launching entry [DUMMY 12.0] Unexpected error occurred while launching entry [zzz_run_batch (3).0] Unexpected error occurred while launching entry [DUMMY 3.0] Index: 4, Size: 4 at org.pentaho.di.job.Job$1.run(Job.java:709) at java.lang.Thread.run(Thread.java:662) Caused by: org.pentaho.di.core.exception.KettleException: Unexpected error occurred while launching entry [zzz_run_batch (3).0] Unexpected error occurred while launching entry [DUMMY 3.0] Index: 4, Size: 4 at org.pentaho.di.job.Job.execute(Job.java:733) at org.pentaho.di.job.Job.access$000(Job.java:103) at org.pentaho.di.job.Job$1.run(Job.java:703) ... 1 more Caused by: org.pentaho.di.core.exception.KettleException: Unexpected error occurred while launching entry [DUMMY 3.0] Index: 4, Size: 4 at org.pentaho.di.job.Job.execute(Job.java:733) at org.pentaho.di.job.Job.execute(Job.java:728) ... 3 more Caused by: java.lang.IndexOutOfBoundsException: Index: 4, Size: 4 at java.util.ArrayList.RangeCheck(ArrayList.java:547) at java.util.ArrayList.get(ArrayList.java:322) at org.pentaho.di.core.logging.LoggingRegistry.registerLoggingSource(LoggingRegistry.java:153) at org.pentaho.di.core.logging.LogChannel.<init>(LogChannel.java:52) at org.pentaho.di.job.entry.JobEntryBase.setParentJob(JobEntryBase.java:869) at org.pentaho.di.job.Job.execute(Job.java:574) at org.pentaho.di.job.Job.execute(Job.java:728) ... 4 more ------------------------------------------------------------------ ------------------------------------------------------------------ java.lang.IndexOutOfBoundsException: Index: 94, Size: 94 at java.util.ArrayList.RangeCheck(ArrayList.java:547) at java.util.ArrayList.get(ArrayList.java:322) at org.pentaho.di.core.logging.LoggingRegistry.registerLoggingSource(LoggingRegistry.java:153) at org.pentaho.di.core.logging.LogChannel.<init>(LogChannel.java:41) at org.pentaho.di.job.entry.JobEntryBase.<init>(JobEntryBase.java:134) at org.pentaho.di.job.entries.createfile.JobEntryCreateFile.<init>(JobEntryCreateFile.java:74) at org.pentaho.di.job.entries.createfile.JobEntryCreateFile.<init>(JobEntryCreateFile.java:83) at sun.reflect.GeneratedConstructorAccessor7.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:370) at org.pentaho.di.job.entry.JobEntryCopy.<init>(JobEntryCopy.java:116) at org.pentaho.di.job.JobMeta.loadXML(JobMeta.java:1161) at org.pentaho.di.job.JobMeta.loadXML(JobMeta.java:969) at org.pentaho.di.job.JobMeta.<init>(JobMeta.java:871) at org.pentaho.di.job.JobMeta.<init>(JobMeta.java:831) at org.pentaho.di.repository.filerep.KettleFileRepository.loadJob(KettleFileRepository.java:757) at org.pentaho.di.job.entries.job.JobEntryJob.getJobMeta(JobEntryJob.java:1119) at org.pentaho.di.job.entries.job.JobEntryJob.execute(JobEntryJob.java:558) at org.pentaho.di.job.Job.execute(Job.java:589) at org.pentaho.di.job.Job.execute(Job.java:728) at org.pentaho.di.job.Job.access$000(Job.java:103) at org.pentaho.di.job.Job$1.run(Job.java:703) at java.lang.Thread.run(Thread.java:662)

    Pentaho BI Platform Tracking | 4 years ago | Dan Rickner
    java.lang.IndexOutOfBoundsException: Index: 98, Size: 98
  2. 0

    www.jfree.org • View topic - TimeSeries charts

    jfree.org | 1 year ago
    java.lang.IndexOutOfBoundsException: Index: 98, Size: 98
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    I have a job that is set to 'execute for every row' from a previous transformation. This job then calls a sub-job that executes 8 jobs in parallel. Sometimes I get an IndexOutOfBoundsException during my run. It is random as to what loop number I am on that causes this error. I will upload a zip with my jobs so you can run them. They are set up to have 500 rows to loop through. When I get the error, sometimes the job stops, and sometimes it continues running. 3 errors I have seen: java.lang.IndexOutOfBoundsException: Index: 98, Size: 98 at java.util.ArrayList.RangeCheck(ArrayList.java:547) at java.util.ArrayList.get(ArrayList.java:322) at org.pentaho.di.core.logging.LoggingRegistry.registerLoggingSource(LoggingRegistry.java:153) at org.pentaho.di.core.logging.LogChannel.<init>(LogChannel.java:41) at org.pentaho.di.job.entry.JobEntryBase.<init>(JobEntryBase.java:134) at org.pentaho.di.job.entries.delay.JobEntryDelay.<init>(JobEntryDelay.java:67) at org.pentaho.di.job.entries.delay.JobEntryDelay.<init>(JobEntryDelay.java:73) at sun.reflect.GeneratedConstructorAccessor7.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:370) at org.pentaho.di.job.entry.JobEntryCopy.<init>(JobEntryCopy.java:116) at org.pentaho.di.job.JobMeta.loadXML(JobMeta.java:1161) at org.pentaho.di.job.JobMeta.loadXML(JobMeta.java:969) at org.pentaho.di.job.JobMeta.<init>(JobMeta.java:871) at org.pentaho.di.job.JobMeta.<init>(JobMeta.java:831) at org.pentaho.di.repository.filerep.KettleFileRepository.loadJob(KettleFileRepository.java:757) at org.pentaho.di.job.entries.job.JobEntryJob.getJobMeta(JobEntryJob.java:1119) at org.pentaho.di.job.entries.job.JobEntryJob.execute(JobEntryJob.java:558) at org.pentaho.di.job.Job.execute(Job.java:589) at org.pentaho.di.job.Job.execute(Job.java:728) at org.pentaho.di.job.Job.access$000(Job.java:103) at org.pentaho.di.job.Job$1.run(Job.java:703) at java.lang.Thread.run(Thread.java:662) ------------------------------------------------------------------ ------------------------------------------------------------------ org.pentaho.di.core.exception.KettleException: Unexpected error occurred while launching entry [DUMMY 12.0] Unexpected error occurred while launching entry [zzz_run_batch (3).0] Unexpected error occurred while launching entry [DUMMY 3.0] Index: 4, Size: 4 at org.pentaho.di.job.Job$1.run(Job.java:709) at java.lang.Thread.run(Thread.java:662) Caused by: org.pentaho.di.core.exception.KettleException: Unexpected error occurred while launching entry [zzz_run_batch (3).0] Unexpected error occurred while launching entry [DUMMY 3.0] Index: 4, Size: 4 at org.pentaho.di.job.Job.execute(Job.java:733) at org.pentaho.di.job.Job.access$000(Job.java:103) at org.pentaho.di.job.Job$1.run(Job.java:703) ... 1 more Caused by: org.pentaho.di.core.exception.KettleException: Unexpected error occurred while launching entry [DUMMY 3.0] Index: 4, Size: 4 at org.pentaho.di.job.Job.execute(Job.java:733) at org.pentaho.di.job.Job.execute(Job.java:728) ... 3 more Caused by: java.lang.IndexOutOfBoundsException: Index: 4, Size: 4 at java.util.ArrayList.RangeCheck(ArrayList.java:547) at java.util.ArrayList.get(ArrayList.java:322) at org.pentaho.di.core.logging.LoggingRegistry.registerLoggingSource(LoggingRegistry.java:153) at org.pentaho.di.core.logging.LogChannel.<init>(LogChannel.java:52) at org.pentaho.di.job.entry.JobEntryBase.setParentJob(JobEntryBase.java:869) at org.pentaho.di.job.Job.execute(Job.java:574) at org.pentaho.di.job.Job.execute(Job.java:728) ... 4 more ------------------------------------------------------------------ ------------------------------------------------------------------ java.lang.IndexOutOfBoundsException: Index: 94, Size: 94 at java.util.ArrayList.RangeCheck(ArrayList.java:547) at java.util.ArrayList.get(ArrayList.java:322) at org.pentaho.di.core.logging.LoggingRegistry.registerLoggingSource(LoggingRegistry.java:153) at org.pentaho.di.core.logging.LogChannel.<init>(LogChannel.java:41) at org.pentaho.di.job.entry.JobEntryBase.<init>(JobEntryBase.java:134) at org.pentaho.di.job.entries.createfile.JobEntryCreateFile.<init>(JobEntryCreateFile.java:74) at org.pentaho.di.job.entries.createfile.JobEntryCreateFile.<init>(JobEntryCreateFile.java:83) at sun.reflect.GeneratedConstructorAccessor7.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.pentaho.di.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:370) at org.pentaho.di.job.entry.JobEntryCopy.<init>(JobEntryCopy.java:116) at org.pentaho.di.job.JobMeta.loadXML(JobMeta.java:1161) at org.pentaho.di.job.JobMeta.loadXML(JobMeta.java:969) at org.pentaho.di.job.JobMeta.<init>(JobMeta.java:871) at org.pentaho.di.job.JobMeta.<init>(JobMeta.java:831) at org.pentaho.di.repository.filerep.KettleFileRepository.loadJob(KettleFileRepository.java:757) at org.pentaho.di.job.entries.job.JobEntryJob.getJobMeta(JobEntryJob.java:1119) at org.pentaho.di.job.entries.job.JobEntryJob.execute(JobEntryJob.java:558) at org.pentaho.di.job.Job.execute(Job.java:589) at org.pentaho.di.job.Job.execute(Job.java:728) at org.pentaho.di.job.Job.access$000(Job.java:103) at org.pentaho.di.job.Job$1.run(Job.java:703) at java.lang.Thread.run(Thread.java:662)

    Pentaho BI Platform Tracking | 4 years ago | Dan Rickner
    java.lang.IndexOutOfBoundsException: Index: 98, Size: 98
  5. 0

    MultiselectSample crash

    GitHub | 8 months ago | rafakob
    java.lang.IndexOutOfBoundsException: Invalid index 98, size is 98

    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.IndexOutOfBoundsException

      98, -81

      at android.text.PackedIntVector.deleteAt()
    2. Android Platform
      TextView.onTextContextMenuItem
      1. android.text.PackedIntVector.deleteAt(PackedIntVector.java:218)
      2. android.text.DynamicLayout.reflow(DynamicLayout.java:308)
      3. android.text.DynamicLayout.access$000(DynamicLayout.java:41)
      4. android.text.DynamicLayout$ChangeWatcher.reflow(DynamicLayout.java:650)
      5. android.text.DynamicLayout$ChangeWatcher.onSpanChanged(DynamicLayout.java:679)
      6. android.text.SpannableStringBuilder.sendSpanChanged(SpannableStringBuilder.java:1019)
      7. android.text.SpannableStringBuilder.sendToSpanWatchers(SpannableStringBuilder.java:601)
      8. android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:532)
      9. android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:465)
      10. android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:38)
      11. android.widget.TextView.paste(TextView.java:9130)
      12. android.widget.TextView.onTextContextMenuItem(TextView.java:8940)
      12 frames
    3. com.paprbit.dcoder
      DcoderEditor.onTextContextMenuItem
      1. com.paprbit.dcoder.ui.widget.DcoderEditor.onTextContextMenuItem(DcoderEditor.java:881)
      1 frame
    4. Android Platform
      ActivityThread.main
      1. android.widget.Editor$ActionPopupWindow.onClick(Editor.java:3047)
      2. android.view.View.performClick(View.java:4825)
      3. android.view.View$PerformClick.run(View.java:20144)
      4. android.os.Handler.handleCallback(Handler.java:815)
      5. android.os.Handler.dispatchMessage(Handler.java:104)
      6. android.os.Looper.loop(Looper.java:194)
      7. android.app.ActivityThread.main(ActivityThread.java:5537)
      7 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Method.java)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:956)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:751)
      2 frames