# List index out of bounds error

**URL:** <https://forums.toadworld.com/t/list-index-out-of-bounds-error/35054>\
**Category:** Toad for Oracle - Beta\
**Created:** [February 10, 2016, 12:53am UTC](https://forums.toadworld.com/t/list-index-out-of-bounds-error/35054 "2016-02-10T00:53:02Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![kornelis.abe](https://avatars.discourse-cdn.com/v4/letter/k/59ef9b/32.png) [@kornelis.abe](https://forums.toadworld.com/u/kornelis.abe)\
**Post date:** [February 10, 2016, 12:53am UTC](https://forums.toadworld.com/t/list-index-out-of-bounds-error/35054/1 "2016-02-10T00:53:02Z")

</div>

All,

I’m currently on Toad 12.9.0.24.

When compiling a package body using F5, I got a List index out of bounds error:

![5432.Toad_20160210_index_out_of_bounds.png](https://global.discourse-cdn.com/quest/original/2X/2/2183635d3b80b0f80510a67a556e527bfebd6605.png)

I trioed to attach the errorlog and input source code, but got an unspecified error while trying to save.  
I’ll try to attach the documents after submitting

# Kind regards, Abe Kornelis

---

<div class="post-metadata">

**Author:** ![kornelis.abe](https://avatars.discourse-cdn.com/v4/letter/k/59ef9b/32.png) [@kornelis.abe](https://forums.toadworld.com/u/kornelis.abe)\
**Post date:** [February 10, 2016, 12:57am UTC](https://forums.toadworld.com/t/list-index-out-of-bounds-error/35054/2 "2016-02-10T00:57:01Z")

</div>

Attaching the source code of the package being compiled:

[View:/cfs-file/\_\_key/communityserver-discussions-components-files/86/enriching\_5F00\_pkb.txt:320:240]

[View:/cfs-file/\_\_key/communityserver-discussions-components-files/86/enriching\_5F00\_pks.txt:320:240]

---

<div class="post-metadata">

**Author:** ![kornelis.abe](https://avatars.discourse-cdn.com/v4/letter/k/59ef9b/32.png) [@kornelis.abe](https://forums.toadworld.com/u/kornelis.abe)\
**Post date:** [February 10, 2016, 1:00am UTC](https://forums.toadworld.com/t/list-index-out-of-bounds-error/35054/3 "2016-02-10T01:00:26Z")

</div>

Attaching the error log:

[View:/cfs-file/\_\_key/communityserver-discussions-components-files/86/6278.Toad\_5F00\_el\_5F00\_20160210.txt:320:240]

So it seems the error was that the extension of .pks and/or .pkb was not allowed.

A slightly more clear error message would have been helpful :~|

Kind regards, wish you success tracking down the bug!

# Abe

---

<div class="post-metadata">

**Author:** ![GTDG](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/gtdg/32/140_2.png) [@GTDG](https://forums.toadworld.com/u/GTDG)\
**Post date:** [February 10, 2016, 1:36am UTC](https://forums.toadworld.com/t/list-index-out-of-bounds-error/35054/4 "2016-02-10T01:36:14Z")

</div>

Can you please send the call stack when receiving any AV? Otherwise troubleshooting is nearly impossible.

Thanks,

Greg

On Feb 10, 2016, at 3:53 AM, kornelis.abe [bounce-kornelisabe@toadworld.com](mailto:bounce-kornelisabe@toadworld.com) wrote:

> **[List index out of bounds error](http://www.toadworld.com/products/toad-for-oracle/toad_for_oracle_beta_program/f/86/t/27408)**

> Thread created by kornelis.abe  
> All,

> I'm currently on Toad 12.9.0.24.

> When compiling a package body using F5, I got a List index out of bounds error:

> 

> I trioed to attach the errorlog and input source code, but got an unspecified error while trying to save.
> 
> I'll try to attach the documents after submitting

> Kind regards,
> 
> Abe Kornelis
> 
> ==========

> To reply, please reply-all to this email.
> 
> [Stop receiving emails](http://www.toadworld.com/products/toad-for-oracle/toad_for_oracle_beta_program/f/86/t/27408?subscribe=false) on this subject.
> 
> Or [  
> Unsubscribe from Toad for Oracle - Beta](http://www.toadworld.com/products/toad-for-oracle/toad_for_oracle_beta_program/f/86?subscribe=false) notifications altogether.
> 
> Toad for Oracle - Beta Discussion Forum

> [Flag](http://www.toadworld.com/products/toad-for-oracle/toad_for_oracle_beta_program/f/86/t/27408?AbuseContentId=6f70443a-f1ca-4705-80b2-633670643592&AbuseContentTypeId=46448885-d0e6-4133-bbfb-f0cd7b0fd6f7&AbuseFlag=true)  
> this post as spam/abuse.

---

<div class="post-metadata">

**Author:** ![kornelis.abe](https://avatars.discourse-cdn.com/v4/letter/k/59ef9b/32.png) [@kornelis.abe](https://forums.toadworld.com/u/kornelis.abe)\
**Post date:** [February 10, 2016, 4:23am UTC](https://forums.toadworld.com/t/list-index-out-of-bounds-error/35054/5 "2016-02-10T04:23:51Z")

</div>

Gregory,

I thought the call stack was in the errorlog file. It it’s not, I agree it’s a mission impossible.  
Can I just copy it form the error pop-up, or do I need to take specific actions?  
Like setting trace mode on, or something like that?

# Abe

---

<div class="post-metadata">

**Author:** ![GTDG](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/gtdg/32/140_2.png) [@GTDG](https://forums.toadworld.com/u/GTDG)\
**Post date:** [February 10, 2016, 4:29am UTC](https://forums.toadworld.com/t/list-index-out-of-bounds-error/35054/6 "2016-02-10T04:29:55Z")

</div>

Looks like ToadWorld had an issue sending those via e-mail or the snap filter got them. I see it on ToadWorld.

Thanks,

Greg

On Feb 10, 2016, at 7:26 AM, kornelis.abe [bounce-kornelisabe@toadworld.com](mailto:bounce-kornelisabe@toadworld.com) wrote:

> **[RE: List index out of bounds error](http://www.toadworld.com/products/toad-for-oracle/toad_for_oracle_beta_program/f/86/p/27408/58837#58837)**

> Reply by kornelis.abe  
> Gregory,

> I thought the call stack was in the errorlog file. It it's not, I agree it's a mission impossible.
> 
> Can I just copy it form the error pop-up, or do I need to take specific actions?
> 
> Like setting trace mode on, or something like that?

> Abe
> 
> ===

> To reply, please reply-all to this email.
> 
> [Stop receiving emails](http://www.toadworld.com/products/toad-for-oracle/toad_for_oracle_beta_program/f/86/t/27408?subscribe=false) on this subject.
> 
> Or [  
> Unsubscribe from Toad for Oracle - Beta](http://www.toadworld.com/products/toad-for-oracle/toad_for_oracle_beta_program/f/86?subscribe=false) notifications altogether.
> 
> Toad for Oracle - Beta Discussion Forum

> [Flag](http://www.toadworld.com/products/toad-for-oracle/toad_for_oracle_beta_program/f/86/p/27408/58837?AbuseContentId=7a15b1d3-3390-4942-8ab9-f6dfa71908b5&AbuseContentTypeId=f586769b-0822-468a-b7f3-a94d480ed9b0&AbuseFlag=true)  
> this post as spam/abuse.

---

<div class="post-metadata">

**Author:** ![GTDG](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/gtdg/32/140_2.png) [@GTDG](https://forums.toadworld.com/u/GTDG)\
**Post date:** [February 10, 2016, 4:44am UTC](https://forums.toadworld.com/t/list-index-out-of-bounds-error/35054/7 "2016-02-10T04:44:31Z")

</div>

Since this seems to be an issue with our script engine, can you add SCRIPTDEBUG=1 to your Toad.ini file, execute the script, close Toad and send the following files:

ToadScriptDebug.txt

qsetrace.log

Be sure and remove the SCRIPTDEBUG=1 line from your ini file as it will hurt performance but it gives us some very useful information for troubleshooting script execution.

Thanks,

Greg

---

<div class="post-metadata">

**Author:** ![kornelis.abe](https://avatars.discourse-cdn.com/v4/letter/k/59ef9b/32.png) [@kornelis.abe](https://forums.toadworld.com/u/kornelis.abe)\
**Post date:** [February 10, 2016, 4:53am UTC](https://forums.toadworld.com/t/list-index-out-of-bounds-error/35054/8 "2016-02-10T04:53:59Z")

</div>

Gregory,

I understand your concern. Unfortunately, the issue does not reproduce at will.  
since screptdebug mode slows the Toad down quite a bit, I am loath to turn it on, awaiting a possible repeat sometime in the future.

I’m sorry, I cannot afford the time right now.  
I understand, as a consequence, you will be unable to analyze/repair the issue. Too bad ☹

# Kind regards, Abe

---

<div class="post-metadata">

**Author:** ![GTDG](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/gtdg/32/140_2.png) [@GTDG](https://forums.toadworld.com/u/GTDG)\
**Post date:** [February 10, 2016, 5:00am UTC](https://forums.toadworld.com/t/list-index-out-of-bounds-error/35054/9 "2016-02-10T05:00:15Z")

</div>

No worries. We'll keep looking on our side.

> On Feb 10, 2016, at 7:56 AM, kornelis.abe [bounce-kornelisabe@toadworld.com](mailto:bounce-kornelisabe@toadworld.com) wrote:

> **[RE: List index out of bounds error](http://www.toadworld.com/products/toad-for-oracle/toad_for_oracle_beta_program/f/86/p/27408/58841#58841)**

> Reply by kornelis.abe  
> Gregory,

> I understand your concern. Unfortunately, the issue does not reproduce at will.
> 
> since screptdebug mode slows the Toad down quite a bit, I am loath to turn it on, awaiting a possible repeat sometime in the future.

> I'm sorry, I cannot afford the time right now.
> 
> I understand, as a consequence, you will be unable to analyze/repair the issue. Too bad ☹

> Kind regards,
> 
> Abe
> 
> ===

> To reply, please reply-all to this email.
> 
> [Stop receiving emails](http://www.toadworld.com/products/toad-for-oracle/toad_for_oracle_beta_program/f/86/t/27408?subscribe=false) on this subject.
> 
> Or [Unsubscribe from Toad for Oracle - Beta](http://www.toadworld.com/products/toad-for-oracle/toad_for_oracle_beta_program/f/86?subscribe=false) notifications altogether.
> 
> Toad for Oracle - Beta Discussion Forum

> [Flag](http://www.toadworld.com/products/toad-for-oracle/toad_for_oracle_beta_program/f/86/p/27408/58841?AbuseContentId=63942043-d7ca-4212-b688-1d9cd96bcf0e&AbuseContentTypeId=f586769b-0822-468a-b7f3-a94d480ed9b0&AbuseFlag=true) this post as spam/abuse.
