This is an automated email from the ASF dual-hosted git repository.

beliefer pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-gluten.git


The following commit(s) were added to refs/heads/main by this push:
     new a9f4ce4b15 [GLUTEN-11157][CORE] Replace NullPointerException with 
IllegalStateException (#11158)
a9f4ce4b15 is described below

commit a9f4ce4b158fb4cf82e168fa34065774691a3a24
Author: Jiaan Geng <[email protected]>
AuthorDate: Wed Nov 26 10:17:30 2025 +0800

    [GLUTEN-11157][CORE] Replace NullPointerException with 
IllegalStateException (#11158)
---
 .../main/scala/org/apache/gluten/execution/WholeStageTransformer.scala  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/gluten-substrait/src/main/scala/org/apache/gluten/execution/WholeStageTransformer.scala
 
b/gluten-substrait/src/main/scala/org/apache/gluten/execution/WholeStageTransformer.scala
index 9286cba2cc..5848985be9 100644
--- 
a/gluten-substrait/src/main/scala/org/apache/gluten/execution/WholeStageTransformer.scala
+++ 
b/gluten-substrait/src/main/scala/org/apache/gluten/execution/WholeStageTransformer.scala
@@ -236,7 +236,7 @@ case class WholeStageTransformer(child: SparkPlan, 
materializeInput: Boolean = f
       .asInstanceOf[TransformSupport]
       .transform(substraitContext)
     if (childCtx == null) {
-      throw new NullPointerException(s"WholeStageTransformer can't do 
Transform on $child")
+      throw new IllegalStateException(s"WholeStageTransformer can't do 
Transform on $child")
     }
 
     val outNames = 
childCtx.outputAttributes.map(ConverterUtils.genColumnNameWithExprId).asJava


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to