# List index out of bounds (0). during session browser, Current Statement

**URL:** <https://forums.toadworld.com/t/list-index-out-of-bounds-0-during-session-browser-current-statement/50254>\
**Category:** Toad for Oracle & DevOps Toolkit\
**Created:** [July 2, 2020, 8:39pm UTC](https://forums.toadworld.com/t/list-index-out-of-bounds-0-during-session-browser-current-statement/50254 "2020-07-02T20:39:33Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![david.lange](https://avatars.discourse-cdn.com/v4/letter/d/eb8c5e/32.png) [@david.lange](https://forums.toadworld.com/u/david.lange)\
**Post date:** [July 2, 2020, 8:39pm UTC](https://forums.toadworld.com/t/list-index-out-of-bounds-0-during-session-browser-current-statement/50254/1 "2020-07-02T20:39:34Z")

</div>

Toad 13.3.0.181  
Start session browser  
select session  
select current statement tab (top)  
select statement (bottom)  
or  
select Explain Plan (bottom)

Gives  
Toad for Oracle has encountered a problem. We are Sorry  
List index out of bounds (0).

 ![image](https://global.discourse-cdn.com/quest/original/2X/a/a3bec2bfba63ba89611bb7edd3f362659b7b73d9.png)

---

<div class="post-metadata">

**Author:** ![JohnDorlon](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/johndorlon/32/9997_2.png) [@JohnDorlon](https://forums.toadworld.com/u/JohnDorlon)\
**Post date:** [July 2, 2020, 8:42pm UTC](https://forums.toadworld.com/t/list-index-out-of-bounds-0-during-session-browser-current-statement/50254/2 "2020-07-02T20:42:52Z")

</div>

Can you give a screen shot of the top half of the session browser? I want to see what your session grouping and selection looks like.

I have seen this error in error logs but have been unable to reproduce it. I would very much like to fix this but I have to be able to reproduce it first. Can you make this happen consistently?

---

<div class="post-metadata">

**Author:** ![david.lange](https://avatars.discourse-cdn.com/v4/letter/d/eb8c5e/32.png) [@david.lange](https://forums.toadworld.com/u/david.lange)\
**Post date:** [July 2, 2020, 8:56pm UTC](https://forums.toadworld.com/t/list-index-out-of-bounds-0-during-session-browser-current-statement/50254/3 "2020-07-02T20:56:29Z")

</div>

Yes I can make this happen consistently

 ![image](https://global.discourse-cdn.com/quest/original/2X/2/2d75409bf2c7d2ba8b1a3a7191e6429122574a54.png)

---

<div class="post-metadata">

**Author:** ![JohnDorlon](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/johndorlon/32/9997_2.png) [@JohnDorlon](https://forums.toadworld.com/u/JohnDorlon)\
**Post date:** [July 2, 2020, 9:01pm UTC](https://forums.toadworld.com/t/list-index-out-of-bounds-0-during-session-browser-current-statement/50254/4 "2020-07-02T21:01:04Z")

</div>

I see you are connected to RAC. Is the session in question on the same instance as you? It _should_ work either way, just trying to figure out how to get the error.

---

<div class="post-metadata">

**Author:** ![david.lange](https://avatars.discourse-cdn.com/v4/letter/d/eb8c5e/32.png) [@david.lange](https://forums.toadworld.com/u/david.lange)\
**Post date:** [July 2, 2020, 9:07pm UTC](https://forums.toadworld.com/t/list-index-out-of-bounds-0-during-session-browser-current-statement/50254/5 "2020-07-02T21:07:31Z")

</div>

The session browsers has 2 workers. One on inst 1 (sid 881) and another on inst 2 (sid 691). The parallel coordinator is on 2 (sid 5779).

The query to monitor is on 2 (sid 4751).

Once I get this error, i will continue to received on any session I try to monitor with current session. I will need to restart toad, and it may or may not happen. But it happens daily.

 ![image](https://global.discourse-cdn.com/quest/original/2X/e/ed5e7b2e4f6fcd6c9f3fb1414a3335bb42dee0bd.png)

---

<div class="post-metadata">

**Author:** ![JohnDorlon](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/johndorlon/32/9997_2.png) [@JohnDorlon](https://forums.toadworld.com/u/JohnDorlon)\
**Post date:** [July 2, 2020, 9:11pm UTC](https://forums.toadworld.com/t/list-index-out-of-bounds-0-during-session-browser-current-statement/50254/6 "2020-07-02T21:11:44Z")

</div>

Do you think that is the key to reproducing it? Having the workers on different instances like that? I'm not sure offhand why this would matter...just looking for clues.

Does it ever happen on a non-rac database?

Also, once it starts happening, does it happen no matter which session you select?

---

<div class="post-metadata">

**Author:** ![david.lange](https://avatars.discourse-cdn.com/v4/letter/d/eb8c5e/32.png) [@david.lange](https://forums.toadworld.com/u/david.lange)\
**Post date:** [July 2, 2020, 9:13pm UTC](https://forums.toadworld.com/t/list-index-out-of-bounds-0-during-session-browser-current-statement/50254/7 "2020-07-02T21:13:35Z")

</div>

I don't know. This is the first time I noticed the workers on different instances. I can track that on subsequent errors. I only work on RAC, so I dunno about non-rac.

---

<div class="post-metadata">

**Author:** ![JohnDorlon](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/johndorlon/32/9997_2.png) [@JohnDorlon](https://forums.toadworld.com/u/JohnDorlon)\
**Post date:** [July 2, 2020, 9:15pm UTC](https://forums.toadworld.com/t/list-index-out-of-bounds-0-during-session-browser-current-statement/50254/8 "2020-07-02T21:15:04Z")

</div>

Does it take a while in the Session Browser for this to start happening or does it sometimes start right away?

---

<div class="post-metadata">

**Author:** ![david.lange](https://avatars.discourse-cdn.com/v4/letter/d/eb8c5e/32.png) [@david.lange](https://forums.toadworld.com/u/david.lange)\
**Post date:** [July 2, 2020, 9:15pm UTC](https://forums.toadworld.com/t/list-index-out-of-bounds-0-during-session-browser-current-statement/50254/9 "2020-07-02T21:15:51Z")

</div>

Mostly starts right away

---

<div class="post-metadata">

**Author:** ![JohnDorlon](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/johndorlon/32/9997_2.png) [@JohnDorlon](https://forums.toadworld.com/u/JohnDorlon)\
**Post date:** [July 2, 2020, 9:17pm UTC](https://forums.toadworld.com/t/list-index-out-of-bounds-0-during-session-browser-current-statement/50254/10 "2020-07-02T21:17:56Z")

</div>

Can I get you to zip up and email me your user files folder? I'm wondering if some setting is at play here. Instructions and email address here: [Minor GUI Issue with Beta](https://forums.toadworld.com/t/minor-gui-issue-with-beta/48968/12)

---

<div class="post-metadata">

**Author:** ![david.lange](https://avatars.discourse-cdn.com/v4/letter/d/eb8c5e/32.png) [@david.lange](https://forums.toadworld.com/u/david.lange)\
**Post date:** [July 2, 2020, 9:28pm UTC](https://forums.toadworld.com/t/list-index-out-of-bounds-0-during-session-browser-current-statement/50254/11 "2020-07-02T21:28:39Z")

</div>

I can't send that via email  
A message you sent was blocked because it contained one or more attachments that are not allowed.

---

<div class="post-metadata">

**Author:** ![JohnDorlon](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/johndorlon/32/9997_2.png) [@JohnDorlon](https://forums.toadworld.com/u/JohnDorlon)\
**Post date:** [July 2, 2020, 9:29pm UTC](https://forums.toadworld.com/t/list-index-out-of-bounds-0-during-session-browser-current-statement/50254/12 "2020-07-02T21:29:21Z")

</div>

Can you dropbox it?

---

<div class="post-metadata">

**Author:** ![david.lange](https://avatars.discourse-cdn.com/v4/letter/d/eb8c5e/32.png) [@david.lange](https://forums.toadworld.com/u/david.lange)\
**Post date:** [July 2, 2020, 9:30pm UTC](https://forums.toadworld.com/t/list-index-out-of-bounds-0-during-session-browser-current-statement/50254/13 "2020-07-02T21:30:11Z")

</div>

I suspect where?

---

<div class="post-metadata">

**Author:** ![JohnDorlon](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/johndorlon/32/9997_2.png) [@JohnDorlon](https://forums.toadworld.com/u/JohnDorlon)\
**Post date:** [July 2, 2020, 9:49pm UTC](https://forums.toadworld.com/t/list-index-out-of-bounds-0-during-session-browser-current-statement/50254/14 "2020-07-02T21:49:32Z")

</div>

I just send you a private message.

---

<div class="post-metadata">

**Author:** ![david.lange](https://avatars.discourse-cdn.com/v4/letter/d/eb8c5e/32.png) [@david.lange](https://forums.toadworld.com/u/david.lange)\
**Post date:** [July 6, 2020, 2:25pm UTC](https://forums.toadworld.com/t/list-index-out-of-bounds-0-during-session-browser-current-statement/50254/15 "2020-07-06T14:25:30Z")

</div>

that worked. I uploaded

---

<div class="post-metadata">

**Author:** ![JohnDorlon](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/johndorlon/32/9997_2.png) [@JohnDorlon](https://forums.toadworld.com/u/JohnDorlon)\
**Post date:** [July 6, 2020, 2:46pm UTC](https://forums.toadworld.com/t/list-index-out-of-bounds-0-during-session-browser-current-statement/50254/16 "2020-07-06T14:46:09Z")

</div>

Thanks David. I was able to reproduce the problem immediately with your user files.

I'll have this fixed soon, but if you check the "Fetch details" box at the top then it should stop happening.

---

<div class="post-metadata">

**Author:** ![david.lange](https://avatars.discourse-cdn.com/v4/letter/d/eb8c5e/32.png) [@david.lange](https://forums.toadworld.com/u/david.lange)\
**Post date:** [July 6, 2020, 2:49pm UTC](https://forums.toadworld.com/t/list-index-out-of-bounds-0-during-session-browser-current-statement/50254/17 "2020-07-06T14:49:37Z")

</div>

great support. I should have opened a ticket on this a while ago. super! thanks.
