# H2O Node java.lang.ArrayIndexOutOfBoundsException

**URL:** <https://forum.knime.com/t/h2o-node-java-lang-arrayindexoutofboundsexception/40640>\
**Category:** KNIME Analytics Platform\
**Tags:** bug\
**Created:** [March 13, 2022, 7:06am UTC](https://forum.knime.com/t/h2o-node-java-lang-arrayindexoutofboundsexception/40640 "2022-03-13T07:06:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![JayR](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/j/e495f1/32.png) [@JayR](https://forum.knime.com/u/JayR)\
**Post date:** [March 13, 2022, 7:06am UTC](https://forum.knime.com/t/h2o-node-java-lang-arrayindexoutofboundsexception/40640/1 "2022-03-13T07:06:55Z")

</div>

Hello everyone,

Below is a snapshot of my WF for building a model using GBM algorithm.

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/8/9/890ba3d509b456eb62711da3eeefc93f7612e7f6.png)

As you can see, I’m facing a problem with H2O node when i try to include a column that has been **log transformed** which is:  
_ERROR Table to H2O 0:333:78:331 Execute failed: Job crashed without obvious reason! Cause: DistributedException from localhost/127.0.0.1:55129: ‘null’, caused by java.lang.ArrayIndexOutOfBoundsException See log for details._

However, there’re other included columns with log transformation but they don’t cause the above error, it’s just that specific column which cause this error.

Your help is appreciated.  
Thanks!

---

<div class="post-metadata">

**Author:** ![mlauber71](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mlauber71/32/73590_2.png) [@mlauber71](https://forum.knime.com/u/mlauber71)\
**Post date:** [March 13, 2022, 8:57am UTC](https://forum.knime.com/t/h2o-node-java-lang-arrayindexoutofboundsexception/40640/2 "2022-03-13T08:57:44Z")

</div>

@JayR could you tell us more about the variable you are trying to use? Do they have an unusual format or [NaN (not a number)](https://kni.me/w/u0GOmzpAwql7ufSc) included?

How did you do the LOG transformation? What node was used?

What version of KNIME and the H2O nodes are you running?

How largest the dataset, can you try with a smaller one and check the memory settings of your KNIME installation.

If possible could you provide is with an example of the failing value?

---

<div class="post-metadata">

**Author:** ![JayR](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/j/e495f1/32.png) [@JayR](https://forum.knime.com/u/JayR)\
**Post date:** [March 13, 2022, 9:08am UTC](https://forum.knime.com/t/h2o-node-java-lang-arrayindexoutofboundsexception/40640/3 "2022-03-13T09:08:51Z")

</div>

Thanks @mlauber71 for your prompt response!

_could you tell us more about the variable you are trying to use? Do they have an unusual format or [NaN (not a number)](https://kni.me/w/u0GOmzpAwql7ufSc) included?_  
**The variable format is a double number (Salary)**

_How did you do the LOG transformation? What node was used?_  
**Column Expression Node.**

_What version of KNIME and the H2O nodes are you running?_  
**4.3.2**

_How largest the dataset, can you try with a smaller one and check the memory settings of your KNIME installation._  
**~20K**

_If possible could you provide is with an example of the failing value?_  
**There’s no specific value specified in the error log.**

---

<div class="post-metadata">

**Author:** ![mlauber71](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mlauber71/32/73590_2.png) [@mlauber71](https://forum.knime.com/u/mlauber71)\
**Post date:** [March 13, 2022, 9:27am UTC](https://forum.knime.com/t/h2o-node-java-lang-arrayindexoutofboundsexception/40640/4 "2022-03-13T09:27:34Z")

</div>

@JayR you can try with the latest versions of KNIME and H2O but I doubt that that will make any difference.

Then you might want to narrow down the failing column (try to exclude some that might cause the problem and see how that goes) and again check for NaN and Memory like suggested.

Maybe provide us with a sample workflow and data that would fail.

---

<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:** [June 11, 2022, 9:27am UTC](https://forum.knime.com/t/h2o-node-java-lang-arrayindexoutofboundsexception/40640/5 "2022-06-11T09:27:50Z")

</div>

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