# Example workflow is not executing properly

**URL:** <https://forum.knime.com/t/example-workflow-is-not-executing-properly/12943>\
**Category:** KNIME Analytics Platform\
**Created:** [December 17, 2018, 9:02pm UTC](https://forum.knime.com/t/example-workflow-is-not-executing-properly/12943 "2018-12-17T21:02:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![armingrudd](https://forum-cdn.knime.com/user_avatar/forum.knime.com/armingrudd/32/84633_2.png) [@armingrudd](https://forum.knime.com/u/armingrudd)\
**Post date:** [December 17, 2018, 9:02pm UTC](https://forum.knime.com/t/example-workflow-is-not-executing-properly/12943/1 "2018-12-17T21:02:13Z")

</div>

Hi,

I wanted to use the Elbow Method used in one of the KNIME examples (server) but I found out that it doesn’t work properly (I have used this before without any problem).

**08\_Other\_Analytics\_Types/01\_Text\_Processing/17\_TopicExtraction\_with\_the\_ElbowMethod**

When I execute the workflow, in the Elbow Method stage I get this message several times in each iteration:

WARN Java Snippet 0:237:69:769:0:599 Evaluation of java snippet failed for row “Row1\_cluster\_0”.The exception is caused by line 35 of the snippet. Exception message (IndexOutOfBoundsException): Index: 1, Size: 0

Where the Index grows with each iteration.

I think something has gone wrong after the recent KNIME updates, be cause in one of my workflows where I have used the method (copied from the example), it was working fine before and now when I reset the nodes and execute them again, I get the same warn messages with no output.

Best,  
Armin

---

<div class="post-metadata">

**Author:** ![SimonS](https://forum-cdn.knime.com/user_avatar/forum.knime.com/simons/32/3861_2.png) [@SimonS](https://forum.knime.com/u/SimonS)\
**Post date:** [December 18, 2018, 8:59pm UTC](https://forum.knime.com/t/example-workflow-is-not-executing-properly/12943/2 "2018-12-18T20:59:34Z")

</div>

Hi @armingrudd,

Thanks for reporting this issue. This seems definitely to be a bug we introduced in out latest release. We will investigate the issue and fix it as soon as possible!

Thanks again,  
Simon

---

<div class="post-metadata">

**Author:** ![marc-bux](https://forum-cdn.knime.com/user_avatar/forum.knime.com/marc-bux/32/1953_2.png) [@marc-bux](https://forum.knime.com/u/marc-bux)\
**Post date:** [December 21, 2018, 10:49am UTC](https://forum.knime.com/t/example-workflow-is-not-executing-properly/12943/3 "2018-12-21T10:49:54Z")

</div>

Hi @armingrudd,

We have implemented a fix for this issue that will be part of the 3.7.1 release. Thanks for bringing it up 🙂

Best,

Marc

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [December 28, 2018, 10:49am UTC](https://forum.knime.com/t/example-workflow-is-not-executing-properly/12943/4 "2018-12-28T10:49:56Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
