KNOWLEDGE BASE

Java.lang.NullPointerException Occurs When Executing a Tableau Prep Flow From the Command Line


Published: 11 Jan 2023
Last Modified Date: 11 Jan 2023

Issue

When running a flow from the command line, the following error occurs. This issue doesn't occur when running a flow from the GUI.

JAVA_HOME is set to : C:\Program Files\Tableau\Tableau Prep Builder 2022.4\scripts\..\Plugins\jre temporarily
null
Exception in thread "main" java.lang.NullPointerException
at com.tableau.tprep.cli.app.CliMain.main(CliMain.java:94)

Environment

  • Tableau Prep Builder 2022.4.0

Resolution

As a workaround, use Tableau Prep Builder 2022.3 (or older) or run the flow via Tableau Prep GUI.

Cause

This issue is under investigation by development.
Did this article resolve the issue?