[ https://issues.apache.org/jira/browse/SPARK-29230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jiaqi Li updated SPARK-29230: ----------------------------- Description: When I use `ProcfsMetricsGetterSuite` testing, always throw out `java.lang.NullPointerException`. I think there is a problem with locating `new ProcfsMetricsGetter`, which will lead to `SparkEnv` not being initialized in time. This leads to `java.lang.NullPointerException` when the method is executed. was:When I use `ProcfsMetricsGetterSuite for` testing, always throw out `java.lang.NullPointerException`. I think there is a problem with locating `new ProcfsMetricsGetter`, which will lead to `SparkEnv` not being initialized in time. This leads to `java.lang.NullPointerException` when the method is executed. > Fix NullPointerException in the test class ProcfsMetricsGetterSuite > ------------------------------------------------------------------- > > Key: SPARK-29230 > URL: https://issues.apache.org/jira/browse/SPARK-29230 > Project: Spark > Issue Type: Bug > Components: Spark Core > Affects Versions: 3.0.0 > Reporter: Jiaqi Li > Priority: Minor > > When I use `ProcfsMetricsGetterSuite` testing, always throw out > `java.lang.NullPointerException`. > I think there is a problem with locating `new ProcfsMetricsGetter`, which > will lead to `SparkEnv` not being initialized in time. > This leads to `java.lang.NullPointerException` when the method is executed. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org