# \#java

**URL:** https://forum.knime.com/tag/java/74.md

[Latest](https://forum.knime.com/latest.md) · [Categories](https://forum.knime.com/categories.md) · [Tags](https://forum.knime.com/tags.md)

---

## [Cloudflare Human Verification problem with Selenium Java automation framework](https://forum.knime.com/t/cloudflare-human-verification-problem-with-selenium-java-automation-framework/90801)

<div class="topic-metadata">

**Author:** [@youssefelsabagh](https://forum.knime.com/u/youssefelsabagh)\
**Replies:** 0\
**Last updated:** [November 26, 2025, 5:02am UTC](https://forum.knime.com/t/cloudflare-human-verification-problem-with-selenium-java-automation-framework/90801 "2025-11-26T05:02:07Z")

</div>

Using Selenium Java with Eclipse IDE (the environment also has TestNG & Maven), Tried different browsers and playing with ChromeOptions, Still can’t Bypass

---

## [How to use Generic JavaScript View to update and export flow variables with a button click?](https://forum.knime.com/t/how-to-use-generic-javascript-view-to-update-and-export-flow-variables-with-a-button-click/89942)

<div class="topic-metadata">

**Author:** [@lca50666](https://forum.knime.com/u/lca50666)\
**Replies:** 0\
**Last updated:** [September 18, 2025, 2:41am UTC](https://forum.knime.com/t/how-to-use-generic-javascript-view-to-update-and-export-flow-variables-with-a-button-click/89942 "2025-09-18T02:41:15Z")

</div>

Hi everyone, I’m currently working on a workflow where I need to use the Generic JavaScript View node in KNIME. My goal is to design a UI element (specifically a button) so that when a user clicks it, the workflow can: …

---

## [Java Exit Code 4 in Batch Mode Despite Successful Manual Run in KNIME GUI](https://forum.knime.com/t/java-exit-code-4-in-batch-mode-despite-successful-manual-run-in-knime-gui/89216)

<div class="topic-metadata">

**Author:** [@akhil2698](https://forum.knime.com/u/akhil2698)\
**Replies:** 13\
**Last updated:** [August 6, 2025, 1:41pm UTC](https://forum.knime.com/t/java-exit-code-4-in-batch-mode-despite-successful-manual-run-in-knime-gui/89216 "2025-08-06T13:41:59Z")

</div>

My workflow runs successfully when executed manually on KNIME. However, when I run it via batch mode, I encounter java exit code 4. (show screenshot) The flow runs fully and successfully through batch mode, but still ge…

---

## [Update Extensions for KNIME Analytics Platform 5.5 - Changes](https://forum.knime.com/t/update-extensions-for-knime-analytics-platform-5-5-changes/88560)

<div class="topic-metadata">

**Author:** [@steffen\_KNIME](https://forum.knime.com/u/steffen_KNIME)\
**Replies:** 4\
**Last updated:** [June 30, 2025, 10:23am UTC](https://forum.knime.com/t/update-extensions-for-knime-analytics-platform-5-5-changes/88560 "2025-06-30T10:23:36Z")

</div>

Dear Community Developers: The official release for KNIME Analytics Platform 5.5 is planned for July 2nd 2025. Assuming that your extension is working with KNIME Analytics Platform 5.4, for Java-based extensions there …

---

## [POST Request node in KNIME 5.3.2 - Bind Exception error](https://forum.knime.com/t/post-request-node-in-knime-5-3-2-bind-exception-error/88044)

<div class="topic-metadata">

**Author:** [@Knotenprofi](https://forum.knime.com/u/Knotenprofi)\
**Replies:** 3\
**Last updated:** [May 20, 2025, 3:42pm UTC](https://forum.knime.com/t/post-request-node-in-knime-5-3-2-bind-exception-error/88044 "2025-05-20T15:42:37Z")

</div>

Hello KNIME Community, I was wondering why one of my workflows stopped working after updating to KNIME 5.3.2 and after a quick look I realized the POST Request Node does not work anymore for me. So I did some testing…

---

## [Execute failed: Cell count in row "Row0\_?\_?" is not equal to length of column names array: 1 vs. 0](https://forum.knime.com/t/execute-failed-cell-count-in-row-row0-is-not-equal-to-length-of-column-names-array-1-vs-0/85078)

<div class="topic-metadata">

**Author:** [@ThomasChen](https://forum.knime.com/u/ThomasChen)\
**Replies:** 1\
**Last updated:** [December 10, 2024, 7:33pm UTC](https://forum.knime.com/t/execute-failed-cell-count-in-row-row0-is-not-equal-to-length-of-column-names-array-1-vs-0/85078 "2024-12-10T19:33:55Z")

</div>

Does anyone know how to solve this error? I am working on a duplicate row filter node. The setting of this node is as follows. It keeps duplicate rows, and it supposed to be no duplicate rows, but I don’t know why…

---

## [Dependencies prevent node creation](https://forum.knime.com/t/dependencies-prevent-node-creation/83590)

<div class="topic-metadata">

**Author:** [@ashgard](https://forum.knime.com/u/ashgard)\
**Replies:** 1\
**Last updated:** [October 1, 2024, 2:47pm UTC](https://forum.knime.com/t/dependencies-prevent-node-creation/83590 "2024-10-01T14:47:55Z")

</div>

Hi In my app (independent on KNIME) I’m using a connection to airtable. To use the airtable library I add this to the pom.xml file: \<dependency\> \<groupId\>dev.fuxing\</groupId\> \<artifactId\>airtable-api\</artifactId\> …

---

## [Reading files using JAVA code](https://forum.knime.com/t/reading-files-using-java-code/80355)

<div class="topic-metadata">

**Author:** [@lahiru\_ten](https://forum.knime.com/u/lahiru_ten)\
**Replies:** 4\
**Last updated:** [June 13, 2024, 2:25pm UTC](https://forum.knime.com/t/reading-files-using-java-code/80355 "2024-06-13T14:25:40Z")

</div>

Hi All, I need some guidance on what nodes to use to read a file. I will be using Java code to read a file in native format. This format is .pp which is an Asta Powerproject file. The java code will be written with the…

---

## [Error when attempting to config Excel Reader Node: failed to apply settings: java.lang.NoSuchMethodError: 'void org.knime.ext.poi3.node.io.filehandling.excel.reader.ExcelMultiTableReadConfig.setCheckSavedTableSpec(boolean)'](https://forum.knime.com/t/error-when-attempting-to-config-excel-reader-node-failed-to-apply-settings-java-lang-nosuchmethoderror-void-org-knime-ext-poi3-node-io-filehandling-excel-reader-excelmultitablereadconfig-setchecksavedtablespec-boolean/79909)

<div class="topic-metadata">

**Author:** [@balest01](https://forum.knime.com/u/balest01)\
**Replies:** 4\
**Last updated:** [June 7, 2024, 10:41am UTC](https://forum.knime.com/t/error-when-attempting-to-config-excel-reader-node-failed-to-apply-settings-java-lang-nosuchmethoderror-void-org-knime-ext-poi3-node-io-filehandling-excel-reader-excelmultitablereadconfig-setchecksavedtablespec-boolean/79909 "2024-06-07T10:41:35Z")

</div>

Hi Community! I am on 5.2, windows 11. I am seeing this error (failed to apply settings: java.lang.NoSuchMethodError: ‘void org.knime.ext.poi3.node.io.filehandling.excel.reader.ExcelMultiTableReadConfig.setCheckSavedTa…

---

## [Change string variable depending on its content](https://forum.knime.com/t/change-string-variable-depending-on-its-content/80004)

<div class="topic-metadata">

**Author:** [@pipetman](https://forum.knime.com/u/pipetman)\
**Replies:** 7\
**Last updated:** [June 6, 2024, 6:02pm UTC](https://forum.knime.com/t/change-string-variable-depending-on-its-content/80004 "2024-06-06T18:02:47Z")

</div>

I’m not very conversant in Java, so I need some help with syntax and possibly which node would be best to use. At the beginning of my workflow I have a Single Selection Configuration that defines a string variable calle…

---

## [Return SSH connection from Java snippet.](https://forum.knime.com/t/return-ssh-connection-from-java-snippet/77582)

<div class="topic-metadata">

**Author:** [@prashant7526](https://forum.knime.com/u/prashant7526)\
**Replies:** 0\
**Last updated:** [February 29, 2024, 5:46pm UTC](https://forum.knime.com/t/return-ssh-connection-from-java-snippet/77582 "2024-02-29T17:46:27Z")

</div>

Hi all, In my case, I cannot use SSH nodes. However, when I use Java snippet to code SSH and read files from SFTP, it works fine. But the approach I am taking, I have to write the flow for each kind of file to read fro…

---

## [Urgent! ERROR in reading XLSX file from SFTP location via Java Snippet](https://forum.knime.com/t/urgent-error-in-reading-xlsx-file-from-sftp-location-via-java-snippet/77452)

<div class="topic-metadata">

**Author:** [@prashant7526](https://forum.knime.com/u/prashant7526)\
**Replies:** 15\
**Last updated:** [February 26, 2024, 1:02pm UTC](https://forum.knime.com/t/urgent-error-in-reading-xlsx-file-from-sftp-location-via-java-snippet/77452 "2024-02-26T13:02:36Z")

</div>

Urgent help needed: I am trying to connect SFTP through Java Snippet (for some security reason, I cannot use SSH Node. In my case, SSH node doesn’t work) in KNIME to read the content of the XLSX file (Connection working…

---

## [A java Runtime Environment (JRE) or JDK must be available in order to run Knime](https://forum.knime.com/t/a-java-runtime-environment-jre-or-jdk-must-be-available-in-order-to-run-knime/77205)

<div class="topic-metadata">

**Author:** [@peqqs](https://forum.knime.com/u/peqqs)\
**Replies:** 3\
**Last updated:** [February 17, 2024, 7:00pm UTC](https://forum.knime.com/t/a-java-runtime-environment-jre-or-jdk-must-be-available-in-order-to-run-knime/77205 "2024-02-17T19:00:34Z")

</div>

Updated from previous version to KNIME 5.2 from notification given by KNIME software. When trying to start KNIME after version update I get error message: A Java Runtime Environment (JRE) or Java Development Kit (JDK) …

---

## [Java Edit Variable to output Date String](https://forum.knime.com/t/java-edit-variable-to-output-date-string/77178)

<div class="topic-metadata">

**Author:** [@qdmt](https://forum.knime.com/u/qdmt)\
**Replies:** 5\
**Last updated:** [February 12, 2024, 4:22am UTC](https://forum.knime.com/t/java-edit-variable-to-output-date-string/77178 "2024-02-12T04:22:27Z")

</div>

I have a workflow where two simultaneous files are being read, and in each node stream, I have two Java Snippet nodes that correctly pull the workflow execution time. I am trying to replace both Java Snippet nodes with…

---

## [Java snippet (simple) if statements and return doesnt work](https://forum.knime.com/t/java-snippet-simple-if-statements-and-return-doesnt-work/76545)

<div class="topic-metadata">

**Author:** [@mcordoba](https://forum.knime.com/u/mcordoba)\
**Replies:** 1\
**Last updated:** [January 12, 2024, 9:28pm UTC](https://forum.knime.com/t/java-snippet-simple-if-statements-and-return-doesnt-work/76545 "2024-01-12T21:28:05Z")

</div>

Why isn’t the following code working as expected in my Java Snippet (simple) node in KNIME? It seems to be completely non-functional, as all the rows in the ‘cat’ variable are empty. Could someone please help identify an…

---

## [Accessing Full Columns in Java using Arrow?](https://forum.knime.com/t/accessing-full-columns-in-java-using-arrow/75363)

<div class="topic-metadata">

**Author:** [@stellarpower](https://forum.knime.com/u/stellarpower)\
**Replies:** 2\
**Last updated:** [December 1, 2023, 4:00pm UTC](https://forum.knime.com/t/accessing-full-columns-in-java-using-arrow/75363 "2023-12-01T16:00:33Z")

</div>

Hi, I am looking to perform some sliding windows over my data, with implementations of what I need to do in C++. From memory, I thought that KNIME was built on top of Apache Arrow for its backend (I stand corrected, as …

---

## [Scorer (Java Script) - providing no flow variables?](https://forum.knime.com/t/scorer-java-script-providing-no-flow-variables/75006)

<div class="topic-metadata">

**Author:** [@BPU](https://forum.knime.com/u/BPU)\
**Replies:** 3\
**Last updated:** [November 7, 2023, 9:25pm UTC](https://forum.knime.com/t/scorer-java-script-providing-no-flow-variables/75006 "2023-11-07T21:25:15Z")

</div>

Hello! I want to compare different values for k in a nearest neighbor problem, using the parameter optimization loop nodes. When I use the “regular” Scorer Node (two out ports) I can pick accuracy or Cohen’s kappa as t…

---

## [Logic-based calculation](https://forum.knime.com/t/logic-based-calculation/74786)

<div class="topic-metadata">

**Author:** [@Gabriel2020](https://forum.knime.com/u/Gabriel2020)\
**Replies:** 2\
**Last updated:** [October 30, 2023, 1:01am UTC](https://forum.knime.com/t/logic-based-calculation/74786 "2023-10-30T01:01:21Z")

</div>

Good afternoon everyone, how are you? I have a calculation challenge, in short, where capacity is 0, the forecast needs to be added for the next day or the previous day. I will pass the cases 1 by 1 to you. Case number…

---

## [Java Node Development](https://forum.knime.com/t/java-node-development/70544)

<div class="topic-metadata">

**Author:** [@trj](https://forum.knime.com/u/trj)\
**Replies:** 0\
**Last updated:** [July 13, 2023, 8:57am UTC](https://forum.knime.com/t/java-node-development/70544 "2023-07-13T08:57:37Z")

</div>

Hi, Developing a node in Java, I obtain a “return value of “org.knime.core.data.DataType.getCellClass()” is null” on columns containing a blob or binary. If I sysout “inputTableSpec.getColumnSpec(i)” in a loop, I obtai…

---

## [Java Snippet Simple](https://forum.knime.com/t/java-snippet-simple/64245)

<div class="topic-metadata">

**Author:** [@Ol\_Broenner](https://forum.knime.com/u/Ol_Broenner)\
**Replies:** 6\
**Last updated:** [March 27, 2023, 2:32pm UTC](https://forum.knime.com/t/java-snippet-simple/64245 "2023-03-27T14:32:29Z")

</div>

Hi, i have written a code in the method body (see below). String textField; textField = $Januar$.replace(“\<0,001”,“1”); textField = textField.replace(“n.b.”,“1”); return textField; But just want not only use in thi…

---

## [How to write a java script expression in Column Expression](https://forum.knime.com/t/how-to-write-a-java-script-expression-in-column-expression/59964)

<div class="topic-metadata">

**Author:** [@Ashina](https://forum.knime.com/u/Ashina)\
**Replies:** 1\
**Last updated:** [January 26, 2023, 4:11pm UTC](https://forum.knime.com/t/how-to-write-a-java-script-expression-in-column-expression/59964 "2023-01-26T16:11:51Z")

</div>

Dear all, there are two ways how part numbers (in string format) are written for a product category (fruit) in the data set: One way a) is without special characters e.g. 25020902231 and the second way b) is with spe…

---

## [Starting KNIME from console: NoClassDefFoundError: Could not initialize class org.knime.database.driver.DBDriverRegistry$DriverClassLoader](https://forum.knime.com/t/starting-knime-from-console-noclassdeffounderror-could-not-initialize-class-org-knime-database-driver-dbdriverregistry-driverclassloader/54929)

<div class="topic-metadata">

**Author:** [@MgntMoe](https://forum.knime.com/u/MgntMoe)\
**Replies:** 4\
**Last updated:** [January 2, 2023, 3:59pm UTC](https://forum.knime.com/t/starting-knime-from-console-noclassdeffounderror-could-not-initialize-class-org-knime-database-driver-dbdriverregistry-driverclassloader/54929 "2023-01-02T15:59:03Z")

</div>

I already posted this question here on StackOverflow.com. Please check out the comments and replies for more in-depth knowledge about the problem. All of the error messages that I could not post to the subsequent questi…

---

## [Accept Only Certain Node for input](https://forum.knime.com/t/accept-only-certain-node-for-input/48572)

<div class="topic-metadata">

**Author:** [@jonathans](https://forum.knime.com/u/jonathans)\
**Replies:** 1\
**Last updated:** [November 2, 2022, 3:45pm UTC](https://forum.knime.com/t/accept-only-certain-node-for-input/48572 "2022-11-02T15:45:02Z")

</div>

Hey, I want to create a few nodes, and one is like a “writer” node the input should only accept my other two nodes. How do i make this possible?

---

## [DataCell with Custom Object](https://forum.knime.com/t/datacell-with-custom-object/48434)

<div class="topic-metadata">

**Author:** [@jonathans](https://forum.knime.com/u/jonathans)\
**Replies:** 2\
**Last updated:** [November 2, 2022, 7:08am UTC](https://forum.knime.com/t/datacell-with-custom-object/48434 "2022-11-02T07:08:19Z")

</div>

Let’s say I ve created a User class. I know there are CellTypes for the basic Datatypes. But do can I “hand over” the User Object?

---

## [Type mismatch: cannot convert from int to DataRow](https://forum.knime.com/t/type-mismatch-cannot-convert-from-int-to-datarow/48417)

<div class="topic-metadata">

**Author:** [@jonathans](https://forum.knime.com/u/jonathans)\
**Replies:** 1\
**Last updated:** [October 27, 2022, 2:11pm UTC](https://forum.knime.com/t/type-mismatch-cannot-convert-from-int-to-datarow/48417 "2022-10-27T14:11:08Z")

</div>

I am trying to create a new node with no inputs but when I execute the node i get an Error within a line where only a TODO comment is. The execute() function: @Override protected BufferedDataTable\[\] execute(final B…

---

## [Create a initial Node](https://forum.knime.com/t/create-a-initial-node/48405)

<div class="topic-metadata">

**Author:** [@jonathans](https://forum.knime.com/u/jonathans)\
**Replies:** 5\
**Last updated:** [October 27, 2022, 1:30pm UTC](https://forum.knime.com/t/create-a-initial-node/48405 "2022-10-27T13:30:04Z")

</div>

Hey I want to create a “initial” Node the problem is I dont know how to create a new Data Row. So the row should have no input but only one output. And in the example it only shows how to create a Node wich has input.

---

## [Apache Commons Text v1.9 CVE-2022-42889](https://forum.knime.com/t/apache-commons-text-v1-9-cve-2022-42889/48340)

<div class="topic-metadata">

**Author:** [@RobinK](https://forum.knime.com/u/RobinK)\
**Replies:** 1\
**Last updated:** [October 25, 2022, 7:23am UTC](https://forum.knime.com/t/apache-commons-text-v1-9-cve-2022-42889/48340 "2022-10-25T07:23:02Z")

</div>

According to CVE-2022-42889 Apache Commons Text version 1.5 through 1.9 have insecure interpolation defaults. I have found org.apache.commons.commons-text\_1.9.0.jar in my installation folder of KNIME 4.6.3. Is KNIME aff…

---

## [KNIME suddenly stopped launching](https://forum.knime.com/t/knime-suddenly-stopped-launching/46445)

<div class="topic-metadata">

**Author:** [@caiocco](https://forum.knime.com/u/caiocco)\
**Replies:** 3\
**Last updated:** [September 1, 2022, 1:39pm UTC](https://forum.knime.com/t/knime-suddenly-stopped-launching/46445 "2022-09-01T13:39:02Z")

</div>

I am using openSUSE Leap 15.3 (community version of SUSE Linux Enterprise Desktop 15 SP3) and KNIME just stopped working. The splash screen shows up, I can select any existing or new empty workspace (and I tried with new…

---

## [Java.lang.lllegalArgumentException: No such Node ID](https://forum.knime.com/t/java-lang-lllegalargumentexception-no-such-node-id/46001)

<div class="topic-metadata">

**Author:** [@NeginZarbakhsh](https://forum.knime.com/u/NeginZarbakhsh)\
**Replies:** 3\
**Last updated:** [August 19, 2022, 9:57am UTC](https://forum.knime.com/t/java-lang-lllegalargumentexception-no-such-node-id/46001 "2022-08-19T09:57:54Z")

</div>

Continuing the discussion from Explosion of the CSV files containing List / JSON data format: Hi, I have runned the workflow explained here for exlosion of the data which stored in a JSON format. I run my code for arou…

---

## [FreeBSD install or build (from ground up or over Eclipse)](https://forum.knime.com/t/freebsd-install-or-build-from-ground-up-or-over-eclipse/45967)

<div class="topic-metadata">

**Author:** [@caiocco](https://forum.knime.com/u/caiocco)\
**Replies:** 1\
**Last updated:** [August 17, 2022, 7:51am UTC](https://forum.knime.com/t/freebsd-install-or-build-from-ground-up-or-over-eclipse/45967 "2022-08-17T07:51:59Z")

</div>

Hi, being KNIME an open source software, I would to know if someone tried to make it run on FreeBSD yet. I know FreeBSD has a compatibility layer with Linux, but I need the integration of KNIME and R and Python, then, pe…

[Next page](https://forum.knime.com/tag/java/74.md?match_all_tags=true&page=1&tags%5B%5D=java)
